diff --git a/meta/tags.yml b/meta/tags.yml index ca9bf2a..6539ae7 100644 --- a/meta/tags.yml +++ b/meta/tags.yml @@ -29,6 +29,18 @@ script: doc: Type of script to use default: text/javascript +style: + properties: + type: + doc: Type of style to use + default: text/css + +form: + properties: + method: + doc: HTTP request method to use + default: POST + p: base: StylableTag diff --git a/pyhtml/__tags/generated.py b/pyhtml/__tags/generated.py index 32e15e1..a2e56cf 100644 --- a/pyhtml/__tags/generated.py +++ b/pyhtml/__tags/generated.py @@ -224,7 +224,7 @@ class style(Tag): def __init__( self, *children: Any, - + type: Any = 'text/css', **properties: Any, ) -> None: """ @@ -233,14 +233,14 @@ def __init__( [View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style) """ properties |= { - + 'type': type, } super().__init__(*children, **properties) def __call__( self, *children: Any, - + type: Any = 'text/css', **properties: Any, ): """ @@ -249,7 +249,7 @@ def __call__( [View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style) """ properties |= { - + 'type': type, } return super().__call__(*children, **properties) @@ -3964,7 +3964,7 @@ class form(Tag): def __init__( self, *children: Any, - + method: Any = 'POST', **properties: Any, ) -> None: """ @@ -3973,14 +3973,14 @@ def __init__( [View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) """ properties |= { - + 'method': method, } super().__init__(*children, **properties) def __call__( self, *children: Any, - + method: Any = 'POST', **properties: Any, ): """ @@ -3989,7 +3989,7 @@ def __call__( [View full documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) """ properties |= { - + 'method': method, } return super().__call__(*children, **properties)