mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 02:37:41 -05:00
precommit fixes
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
from textwrap import dedent
|
||||
|
||||
from pyscript import document, when, window
|
||||
from pyweb import JSProperty, js_property, pydom
|
||||
|
||||
from pyscript import document, when, window
|
||||
|
||||
|
||||
class ElementBase(pydom.Element):
|
||||
tag = "div"
|
||||
@@ -188,7 +189,7 @@ class div(TextElementBase):
|
||||
class img(ElementBase):
|
||||
tag = "img"
|
||||
src = js_property("src")
|
||||
# TODO: This should probably go on the ElementBase class since it's a global attribtute
|
||||
# TODO: This should probably go on the ElementBase class since it's a global attribute
|
||||
# https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/slot
|
||||
slot = js_property("slot")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user