mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 10:47:35 -05:00
add showlace extra style dynamically
This commit is contained in:
@@ -110,6 +110,28 @@ class link(TextElementBase):
|
||||
)
|
||||
|
||||
|
||||
class style(TextElementBase):
|
||||
tag = "style"
|
||||
|
||||
blocking = js_property("blocking")
|
||||
title = js_property("title")
|
||||
nonce = js_property("nonce")
|
||||
media = js_property("media")
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
content=None,
|
||||
blocking=None,
|
||||
title=None,
|
||||
nonce=None,
|
||||
media=None,
|
||||
style=None,
|
||||
**kwargs
|
||||
):
|
||||
super().__init__(content=content, blocking=blocking, title=title,
|
||||
nonce=nonce, media=media, style=style, **kwargs
|
||||
)
|
||||
|
||||
class script(TextElementBase):
|
||||
tag = "script"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user