diff --git a/README.md b/README.md index 3e6d096..dcfb8d7 100644 --- a/README.md +++ b/README.md @@ -177,10 +177,12 @@ a([tab] ``` * 🎭 Type hints for the editor generated from WhatWG spec -* ⚡ Live Reload server for rapid development + +## Live Reload server for rapid development Run your Python webserver (i.e. Flask, FastAPI, anything!) with live-reload superpowers powered by [livereload-js](https://www.npmjs.com/package/livereload-js). See browser updates in real-time! - Note: This feature requires optional dependencies. `pip install html-compose[live-reload]` or `pip install html-compose[full]`. The feature also fetches livereload-js from a CDN. + Note: This feature requires optional dependencies. `pip install html-compose[live-reload]` or `pip install html-compose[full]`. + The feature also loads livereload-js from a CDN. `livereload.py` ```python diff --git a/changelog.txt b/changelog.txt index eb1b688..fa6fc40 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,25 @@ +# 0.11.0 +* Add html_compose.resource module which includes + js_import, css_import, and font_import helpers +* html_compose.document: Add streaming document generators which will produce + head element before other content. +* Add js/css/font composition along with other changes to html_compose.document +* [breaking] Change HTML5Document into a class with a .render and .stream function + which wrap other functionality in the module. + The signature is now different which may require updates. +* HTML converter improvements: Survive round trip for more text. + Output single elements when we identify an attribute could be a list +* Documentation improvements + * Migrate element/attr docstrings to Google style. + Pyright on Zed seems to tolerate this better. + * Fix a weird pylance bug on WatchCond +* Live reload now accepts daemon host/port/timeout and can wait to send browser + reload until after the server responds +* py.typed improvements to module exports +* Child elements passed uninstantiated will be instantiated at render time + * This means you can `p['line 1', br, 'line 2']` where previously you had to `br()` +* notebook.render accepts _HasHtml which includes documents and elements + # 0.10.1 * Style parameter: when input is a dict[str, str], assume the user wants simple f"{key}: {value}" css statements * Type hints: Cleanup type hints to all be 3.10 style diff --git a/doc/ideas/03_code_generator.md b/doc/ideas/03_code_generator.md index 185c226..54ddb43 100644 --- a/doc/ideas/03_code_generator.md +++ b/doc/ideas/03_code_generator.md @@ -1,20 +1,30 @@ # Code Generator + Idea: What if your editor had built-in hinting around HTML properties? ## Implementation + We take information from the HTML spec living document and MDN. We place generated code in a separated directory, keeping magic out of the code. the `tools` directory contains: - * The spec generator `spec_generator.py` - * Pull, parse, and dump json we think is interesting - * The attribute code generator `generate_attributes.py` - * Put that interesting information in generated class attributes using our formula defined in previous specs. If an attribute is a keyword or restricted by Python, append `_` to the end of the name so autocomplete works. Dump those in `src/html_compose/attributes` -* `tools/generated/*_attrs.py` is the intermediate directory so runs do not write to source control directory, but you can see when a new change has happened. +- The spec generator `spec_generator.py` + - Pull, parse, and dump json we think is interesting +- The attribute code generator `generate_attributes.py` + - Put that interesting information in generated class attributes using our + formula defined in previous specs. If an attribute is a keyword or + restricted by Python, append `_` to the end of the name so autocomplete + works. Dump those in `src/html_compose/attributes` +- The element code generator `generate_elements.py` + + - Same deal as for attributes. Dump in src/html_compose/elements. + +- `tools/generated/*.py` is the intermediate directory so runs do not write to + the source control directory, but you can see when a new change has happened. \ No newline at end of file +caniuse data can be used to generate warnings based on browser targets --> diff --git a/doc/ideas/04_attrs.md b/doc/ideas/04_attrs.md index 43c0971..108efbf 100644 --- a/doc/ideas/04_attrs.md +++ b/doc/ideas/04_attrs.md @@ -105,7 +105,7 @@ div.hint.style({ The implementation is the simplest `: . User is therefore responsible for quoting. -## `attrs=` parameter syntax +## attrs= parameter syntax In the constructor for any element, you can specify the `attrs` parameter. @@ -184,7 +184,7 @@ a(href="https://google.com", tabindex=1) Under the hood, it's all translated to the `BaseAttribute` class, and the value is escaped before rendering. -# Breakdown +## Breakdown There are a number of options for declaring an attribute value, which are shown above. The basic idea is @@ -225,7 +225,7 @@ class htmx: ''' @staticmethod - def hx_get(value: str) -> BaseAttribute: + def get(value: str) -> BaseAttribute: ''' htmx attribute: hx-get The hx-get attribute will cause an element to issue a @@ -244,7 +244,7 @@ Where we can write ```python button( - [htmx.hx_get("/api/data")], + [htmx.get("/api/data")], class_="btn primary" )["Click me!"] ``` diff --git a/doc/ideas/05_livereload.md b/doc/ideas/05_livereload.md index cbfbd43..97ca692 100644 --- a/doc/ideas/05_livereload.md +++ b/doc/ideas/05_livereload.md @@ -127,7 +127,7 @@ If you're using nginx, you would include something like this in your server bloc } ``` -Since you're serving your websocket over SSL, you can now specify when calling `live.server(`: +Since you're serving your websocket over SSL, you can now specify when calling `live.server`: * `proxy_host`: host to reach for the livereload websocket. used in browser instead of `host` parameter. Example: `my-sweet-website.com` diff --git a/doc/ideas/06_resource_imports.md b/doc/ideas/06_resource_imports.md new file mode 100644 index 0000000..be6d1b2 --- /dev/null +++ b/doc/ideas/06_resource_imports.md @@ -0,0 +1,263 @@ +# Resource imports (js / css / fonts) + +There are now many standards in the web platform for correctly importing +your remote resources. + +We no longer need to use nodejs and bundling to use module import semantics. + +We can preload js and assign it a module name for importing. + +We give helpers for managing css/js imports and the many attributes needed +to successfully preload and validate resource integrity. + +We also give two font helpers, one for fonts resolved in css and one for +manually setting up .woff/etc font imports. + +## Browser tech overview + +- https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/script/type/importmap +- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules +- https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/modulepreload +- https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/preload + +## How our library makes resource setup better + +By providing small helpers, we reduce the amount of redundant html to write. + +```python +import html_compose.elements as el +from html_compose.resource import css_import, js_import, to_elements +from html_compose.document import document_generator + +def get_css(): + return [ + css_import("./static/admin.css", cache_bust=False), + css_import( + "https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css", + hash=( + "sha384-9ndCyUaIbzAi2FUVXJi0CjmCapS" + "mO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" + ), + crossorigin="anonymous", + preload=True, + ), + ] + +def get_js(): + return [ + js_import("./static/admin.js", name="admin", cache_bust=True), + js_import( + "https://cdn.jsdelivr.net/npm/alpinejs@3.15.0/+esm", + name="alpinejs", + preload=True, + hash=( + "sha384-Yf57wlxlrA1+0X6Ye9NOBxQ1tpmiwI/" + "9mFpv9tT/Rh2UAajwwAlTWHnvTGYhgv7p" + ), + crossorigin="anonymous", + ), + ] + + +def get_fonts(): + return [ + font_import_manual( + "./static/fonts/MyFont.woff2", + family="MyFont", + weight="normal", + style="normal", + display="swap", + cache_bust=False, + ), + font_import_provider( + href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap", + preconnect=[ + "https://fonts.googleapis.com", + "https://fonts.gstatic.com", + ], + preconnect_crossorigin="anonymous", + ), + ] + + + +def test_importer(): + css = get_css() + js = get_js() + elements = to_elements(js, css) + print(el.head()[elements].render()) + + +def test_document_generator(): + css = get_css() + js = get_js() + print(document_generator( + title="demo", + lang="en", + js=js, + css=css, + body_content=[el.h1("Hello world")]) + +``` + +**test_importer:** + +```html + + + + + + + + + + + + + + +``` + +**test_document** + +```html + + + + + demo + + + + + + + + + + + + + + + +

Hello world

+ + +``` + +## Where to go from here + +We've informed the browser how to optimally and in parallel load our resources. + +Now we are free to develop without bundling javascript if we so desire. + +Heck, you could even map a package.json used in your development environment +into a `js_import` generator. + +The sky is the limit. diff --git a/pyproject.toml b/pyproject.toml index f512f94..e15db70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "html-compose" -version = "0.10.1" +version = "0.11.0" description = "Composable HTML generation in python" authors = [ { name = "jealouscloud", email = "github@noaha.org" } diff --git a/src/html_compose/__init__.py b/src/html_compose/__init__.py index cf881bd..0fc6d3e 100644 --- a/src/html_compose/__init__.py +++ b/src/html_compose/__init__.py @@ -1,74 +1,202 @@ """ +# html-compose -`html-compose` is a library for natural HTML composition directly in Python. +A library for natural HTML composition directly in Python. -## Quick Start Guide +Focused on fast, flexible, extensible document generation, +its goal is to make the web platform fun to work with while using +modern browser technologies. -For user comfort, the `[]` syntax provides a natural way to define child -elements which makes the code look more like the HTML structure it represents and -less like a list of procedures. +## Quick Start -Behind the scenes, this is just the .base_element.BaseElement.append method. +All HTML elements from the [living spec](https://html.spec.whatwg.org/multipage/) +are available to use with full type hinting: -Text is always escaped, so XSS directly in the HTML is not possible. -Via this mechanism, JavaScript within HTML attributes is always escaped. +```python +from html_compose import a + +element = a(href="/logout")["Log out"] +print(element.render()) +# Log out +``` + +The `[]` syntax provides a natural way to define child elements, making the code +resemble the HTML structure it represents. +Behind the scenes, this is `.base_element.BaseElement.append`, which accepts text, +elements, lists, nested lists, and callables. It returns self for chaining. + +Think of it as: +* `()` sets attributes +* `[]` adds children + +Set non-constructor attributes with a dict: + +```python +a({"@click": "alert(1)"}, href="#")["Click me"] +``` + +**Security**: The children of HTML elements are always HTML escaped, +so XSS directly in the HTML is not possible. + +JavaScript within HTML attribute values is always escaped. Just don't pass user input into JavaScript attributes. -If you want to insert unsafe text, use the `unsafe_text(...)` function. +Use `.unsafe_text()` when you need unescaped content. + +All HTML nodes treat their children as if they contain HTML. +This means if you have a `' + assert script(defer=False).render() == "" + + def test_kw_arg_attr(): el = div(id="test", class_="test-class", tabindex=1) assert ( @@ -179,19 +187,20 @@ def test_equivalent(): def test_document(): doc = h.HTML5Document( - "Test", - lang="en", - head=None, - body=[h.button["Button"], h.br(), h.p["demo 2"]], + "Test", lang="en", body=[h.button["Button"], h.br(), h.p["demo 2"]] ) expected = "\n".join( [ "", - 'Test

demo 2

', + '', + 'Test', + "", + "

demo 2

", + "", ] ) - assert doc == expected + assert str(doc) == expected def test_noconstructor(): @@ -242,3 +251,8 @@ def test_custom_element(): custom = CustomElement.create("custom") el = custom["Hello world"] assert el.render() == "Hello world" # type: ignore + + +def test_callable_br(): + a = div()[h.p["hi"], h.br, h.p["there"]] + assert a.render() == "

hi


there

" diff --git a/tests/test_importer.py b/tests/test_importer.py new file mode 100644 index 0000000..9f4a49f --- /dev/null +++ b/tests/test_importer.py @@ -0,0 +1,314 @@ +import pytest + +import html_compose.elements as el +from html_compose.document import HTML5Document +from html_compose.resource import ( + css_import, + font_import_manual, + font_import_provider, + js_import, + to_elements, +) + + +def get_css(): + return [ + css_import("./static/admin.css", cache_bust=False), + css_import( + "https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css", + hash=( + "sha384-9ndCyUaIbzAi2FUVXJi0CjmCapS" + "mO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" + ), + crossorigin="anonymous", + preload=True, + ), + ] + + +def get_js(): + return [ + js_import("./static/admin.js", name="admin", cache_bust=False), + js_import( + "https://cdn.jsdelivr.net/npm/alpinejs@3.15.0/+esm", + name="alpinejs", + preload=True, + hash=( + "sha384-Yf57wlxlrA1+0X6Ye9NOBxQ1tpmiwI/" + "9mFpv9tT/Rh2UAajwwAlTWHnvTGYhgv7p" + ), + crossorigin="anonymous", + ), + ] + + +def get_font_manual(): + return [ + font_import_manual( + "./static/fonts/MyFont.woff2", + family="MyFont", + weight="normal", + style="normal", + display="swap", + cache_bust=False, + ), + font_import_manual( + "https://example.com/fonts/OtherFontBold.woff2", + family="OtherFont", + weight="bold", + display="swap", + crossorigin="anonymous", + preload=True, + ), + font_import_manual( + "https://example.com/fonts/OtherFontLight.woff2", + family="OtherFont", + weight=(1, 400), + style="normal", + display="swap", + crossorigin="anonymous", + preload=True, + ), + ] + + +def get_font_remote(): + """ + + + + """ + + return [ + font_import_provider( + href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap", + preconnect=[ + "https://fonts.googleapis.com", + "https://fonts.gstatic.com", + ], + preconnect_crossorigin="anonymous", + ) + ] + + +def get_fonts(): + return [ + font_import_manual( + "./static/fonts/MyFont.woff2", + family="MyFont", + weight="normal", + style="normal", + display="swap", + cache_bust=False, + ), + font_import_provider( + href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap", + preconnect=[ + "https://fonts.googleapis.com", + "https://fonts.gstatic.com", + ], + preconnect_crossorigin="anonymous", + ), + ] + + +# This is only for the 06_resource_imports.md doc +@pytest.mark.skip(reason="For doc generation only") +def test_gen_docs(): + css = get_css() + js = get_js() + fonts = get_fonts() + elements = to_elements(js, css, fonts) + doc = el.head()[elements].resolve() + for line in doc: + print(line) + print("---") + print( + HTML5Document( + title="demo", + lang="en", + js=js, + css=css, + fonts=fonts, + body=[el.h1()["Hello world"]], + ) + ) + assert False + + +def test_get_fonts(): + fonts = get_fonts() + elements = to_elements([], [], fonts) + + expected = [ + "", + '', + '', + '', + '', + "", + "", + ] + + result = [str(x) for x in el.head()[elements].resolve()] + # print(result) + for i, line in enumerate(result): + assert line == expected[i], f"Line {i + 1} does not match" + + +def test_font_remote(): + fonts = get_font_remote() + elements = to_elements([], [], fonts) + + expected = [ + "", + '', + '', + '', + "", + ] + + result = [str(x) for x in el.head()[elements].resolve()] + # print(result) + for i, line in enumerate(result): + assert line == expected[i], f"Line {i + 1} does not match" + + +def test_js_import(): + js = [ + js_import( + "./static/admin.js", name="admin", preload=True, cache_bust=False + ), + js_import( + "https://cdn.jsdelivr.net/npm/alpinejs@3.15.0/+esm", + name="alpinejs", + preload=True, + hash=( + "sha384-Yf57wlxlrA1+0X6Ye9NOBxQ1tpmiwI/" + "9mFpv9tT/Rh2UAajwwAlTWHnvTGYhgv7p" + ), + crossorigin="anonymous", + ), + ] + expected = [ + "", + '', + '', + '", + '", + '", + "", + ] + elements = to_elements(js, []) + result = [str(x) for x in el.head()[elements].resolve()] + + for i, line in enumerate(result): + assert line == expected[i], f"Line {i + 1} does not match" + + +def test_font_import_manual(): + fonts = get_font_manual() + elements = to_elements([], [], fonts) + + expected = [ + "", + '', + '', + '', + "", + "", + ] + + result = [str(x) for x in el.head()[elements].resolve()] + # print(result) + for i, line in enumerate(result): + assert line == expected[i], f"Line {i + 1} does not match" + + +def test_importer(): + css = get_css() + js = get_js() + elements = to_elements(js, css) + expected = [ + "", + '', + '', + '', + '', + '", + '", + '", + "", + ] + result = [str(x) for x in el.head()[elements].resolve()] + # print(result) + for i, line in enumerate(result): + assert line == expected[i], f"Line {i + 1} does not match" + + with pytest.raises(ValueError): + js_import( + "https://cdn.jsdelivr.net/npm/alpinejs@3.15.0/+esm", + name="alpinejs", + preload=True, + hash=( + "sha384-Yf57wlxlrA1+0X6Ye9NOBxQ1tpmiwI/" + "9mFpv9tT/Rh2UAajwwAlTWHnvTGYhgv7p" + ), + ) # noqa + + +def test_document_generator(): + css = get_css() + js = get_js() + result = HTML5Document( + title="demo", lang="en", js=js, css=css, body=[el.h1()["Hello world"]] + ).stream("full") + expected = [ + '\n\ndemo\n\n', + "", + "

", + "Hello world", + "

", + "", + "\n", + "", + ] + + result = [str(x) for x in result] + # print(result) + for i, line in enumerate(result): + assert line == expected[i], f"Line {i + 1} does not match" diff --git a/tests/test_translator.py b/tests/test_translator.py index 5689edb..169d867 100644 --- a/tests/test_translator.py +++ b/tests/test_translator.py @@ -139,3 +139,17 @@ def test_round_trip(): lines = "\n\n".join(tresult.elements) + ".render()" output = eval(lines) assert output == stripped + + +def test_script_round_trip(): + # Ensure that text nodes with <, >, & survive a round trip + html = '' + tresult = t.translate(html) + print(tresult.import_statement) + exec(tresult.import_statement) + if tresult.custom_elements: + exec("\n".join(tresult.custom_elements)) + lines = "\n\n".join(tresult.elements) + ".render()" + print(lines) + output = eval(lines) + assert output == html diff --git a/tools/generate_attributes.py b/tools/generate_attributes.py index c2377c7..857ab0f 100644 --- a/tools/generate_attributes.py +++ b/tools/generate_attributes.py @@ -26,9 +26,14 @@ def {safe_class_name.lower()}(value{type_data}) -> BaseAttribute: "{element_name}" attribute: {attr_name} {attr_desc} - :param value: {value_desc} - :return: An {attr_name} attribute to be added to your element - """ # fmt: skip + Args: + value: + {value_desc} + + Returns: + An {attr_name} attribute to be added to your element + + """ return BaseAttribute("{attr_name}", value{delimiter_stmt}) ''' diff --git a/tools/generate_elements.py b/tools/generate_elements.py index 0265844..8984504 100644 --- a/tools/generate_elements.py +++ b/tools/generate_elements.py @@ -67,9 +67,6 @@ def elements_docstring(): link.render() # 'Click here' ``` #### Attributes that aren't in the constructor signature -**Note that events like .onclick are _not_ available in the constructor.** - -We do however provide the type hint via `.hint` The first positional argument is `attrs=` which can be a list of attributes. We generate many of these for type hints under `.hint or `._` @@ -107,7 +104,7 @@ class htmx: ''' @staticmethod - def hx_get(value: str) -> BaseAttribute: + def get(value: str) -> BaseAttribute: ''' htmx attribute: hx-get The hx-get attribute will cause an element to issue a @@ -120,7 +117,7 @@ def hx_get(value: str) -> BaseAttribute: return BaseAttribute("hx-get", value) -btn = button([htmx.hx_get("/api/data")])["Click me!"] +btn = button([htmx.get("/api/data")])["Click me!"] btn.render() # '' ``` @@ -134,12 +131,12 @@ def generate_attrs(attr_class, attr_list) -> list[processed_attr]: # -> list: for attr in attr_list: attrdef = ReadAttr(attr) dupe = attrdefs.get(attrdef.name, None) - docstring = [f"`{attrdef.safe_name}` :"] + docstring = [f"{attrdef.safe_name}:"] docstring.append(f" {attrdef.description}") if not value_hint_to_python_type(attrdef.value_desc): - docstring[-1] += " " # markdown newline - docstring.append(f" {attrdef.value_desc}") + docstring[-1] += ". " # markdown newline + docstring.append(f" Value hint: {attrdef.value_desc}") def_dict = {"attr": attrdef, "docstring": docstring} if dupe: @@ -247,7 +244,7 @@ def gen_elements(): extra_attrs = "" attr_assignment = "" attr_docstrings = [ - "`attrs`: ", + "attrs: ", " A list or dictionary of attributes for the element", "", ] @@ -335,9 +332,8 @@ def add_param(p): f" Initialize '{real_element}' ({desc}) element. ", f" Documentation: {docs}", "", - " Parameters", - " ----------", - " " + "\n ".join(attr_docstrings), + " Args:", + " " + "\n ".join(attr_docstrings), ' """ #fmt: skip', " super().__init__(", f' "{real_element}",', @@ -393,7 +389,7 @@ def add_param(p): print(f"Copied generated elements to: {real_path}") init_data = [f'"""{elements_docstring()}\n"""'] for name in el_names: - init_data.append(f"from .{name}_element import {name}") + init_data.append(f"from .{name}_element import {name} as {name}") imports = ", ".join(map(lambda x: f"'{x}'", el_names)) init_data.append( diff --git a/tools/generated/a_attrs.py b/tools/generated/a_attrs.py index 37da9e1..d4f25a8 100644 --- a/tools/generated/a_attrs.py +++ b/tools/generated/a_attrs.py @@ -14,9 +14,14 @@ def download(value: StrLike) -> BaseAttribute: "a" attribute: download Whether to download the resource instead of navigating to it, and its filename if so - :param value: Text - :return: An download attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An download attribute to be added to your element + + """ return BaseAttribute("download", value) @@ -28,9 +33,14 @@ def href(value) -> BaseAttribute: "a" attribute: href Address of the hyperlink - :param value: Valid URL potentially surrounded by spaces - :return: An href attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid URL potentially surrounded by spaces + + Returns: + An href attribute to be added to your element + + """ return BaseAttribute("href", value) @@ -42,9 +52,14 @@ def hreflang(value) -> BaseAttribute: "a" attribute: hreflang Language of the linked resource - :param value: Valid BCP 47 language tag - :return: An hreflang attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid BCP 47 language tag + + Returns: + An hreflang attribute to be added to your element + + """ return BaseAttribute("hreflang", value) @@ -56,9 +71,14 @@ def ping(value: Resolvable) -> BaseAttribute: "a" attribute: ping URLs to ping - :param value: Set of space-separated tokens consisting of valid non-empty URLs - :return: An ping attribute to be added to your element - """ # fmt: skip + Args: + value: + Set of space-separated tokens consisting of valid non-empty URLs + + Returns: + An ping attribute to be added to your element + + """ return BaseAttribute("ping", value) @@ -70,9 +90,14 @@ def referrerpolicy(value) -> BaseAttribute: "a" attribute: referrerpolicy Referrer policy for fetches initiated by the element - :param value: Referrer policy - :return: An referrerpolicy attribute to be added to your element - """ # fmt: skip + Args: + value: + Referrer policy + + Returns: + An referrerpolicy attribute to be added to your element + + """ return BaseAttribute("referrerpolicy", value) @@ -84,9 +109,14 @@ def rel(value: Resolvable) -> BaseAttribute: "a" attribute: rel Relationship between the location in the document containing the hyperlink and the destination resource - :param value: Unordered set of unique space-separated tokens* - :return: An rel attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens* + + Returns: + An rel attribute to be added to your element + + """ return BaseAttribute("rel", value) @@ -98,9 +128,14 @@ def target(value) -> BaseAttribute: "a" attribute: target Navigable for hyperlink navigation - :param value: Valid navigable target name or keyword - :return: An target attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid navigable target name or keyword + + Returns: + An target attribute to be added to your element + + """ return BaseAttribute("target", value) @@ -112,9 +147,14 @@ def type(value) -> BaseAttribute: "a" attribute: type Hint for the type of the referenced resource - :param value: Valid MIME type string - :return: An type attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid MIME type string + + Returns: + An type attribute to be added to your element + + """ return BaseAttribute("type", value) \ No newline at end of file diff --git a/tools/generated/abbr_attrs.py b/tools/generated/abbr_attrs.py index 5c2bef5..1973bea 100644 --- a/tools/generated/abbr_attrs.py +++ b/tools/generated/abbr_attrs.py @@ -14,9 +14,14 @@ def title(value: StrLike) -> BaseAttribute: "abbr" attribute: title Full term or expansion of abbreviation - :param value: Text - :return: An title attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An title attribute to be added to your element + + """ return BaseAttribute("title", value) \ No newline at end of file diff --git a/tools/generated/area_attrs.py b/tools/generated/area_attrs.py index 4a51e0a..7bca1e8 100644 --- a/tools/generated/area_attrs.py +++ b/tools/generated/area_attrs.py @@ -14,9 +14,14 @@ def alt(value: StrLike) -> BaseAttribute: "area" attribute: alt Replacement text for use when images are not available - :param value: Text* - :return: An alt attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An alt attribute to be added to your element + + """ return BaseAttribute("alt", value) @@ -28,9 +33,14 @@ def coords(value) -> BaseAttribute: "area" attribute: coords Coordinates for the shape to be created in an image map - :param value: Valid list of floating-point numbers* - :return: An coords attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid list of floating-point numbers* + + Returns: + An coords attribute to be added to your element + + """ return BaseAttribute("coords", value) @@ -42,9 +52,14 @@ def download(value: StrLike) -> BaseAttribute: "area" attribute: download Whether to download the resource instead of navigating to it, and its filename if so - :param value: Text - :return: An download attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An download attribute to be added to your element + + """ return BaseAttribute("download", value) @@ -56,9 +71,14 @@ def href(value) -> BaseAttribute: "area" attribute: href Address of the hyperlink - :param value: Valid URL potentially surrounded by spaces - :return: An href attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid URL potentially surrounded by spaces + + Returns: + An href attribute to be added to your element + + """ return BaseAttribute("href", value) @@ -70,9 +90,14 @@ def ping(value: Resolvable) -> BaseAttribute: "area" attribute: ping URLs to ping - :param value: Set of space-separated tokens consisting of valid non-empty URLs - :return: An ping attribute to be added to your element - """ # fmt: skip + Args: + value: + Set of space-separated tokens consisting of valid non-empty URLs + + Returns: + An ping attribute to be added to your element + + """ return BaseAttribute("ping", value) @@ -84,9 +109,14 @@ def referrerpolicy(value) -> BaseAttribute: "area" attribute: referrerpolicy Referrer policy for fetches initiated by the element - :param value: Referrer policy - :return: An referrerpolicy attribute to be added to your element - """ # fmt: skip + Args: + value: + Referrer policy + + Returns: + An referrerpolicy attribute to be added to your element + + """ return BaseAttribute("referrerpolicy", value) @@ -98,9 +128,14 @@ def rel(value: Resolvable) -> BaseAttribute: "area" attribute: rel Relationship between the location in the document containing the hyperlink and the destination resource - :param value: Unordered set of unique space-separated tokens* - :return: An rel attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens* + + Returns: + An rel attribute to be added to your element + + """ return BaseAttribute("rel", value) @@ -112,9 +147,14 @@ def shape(value: Literal['circle', 'default', 'poly', 'rect']) -> BaseAttribute: "area" attribute: shape The kind of shape to be created in an image map - :param value: ['circle', 'default', 'poly', 'rect'] - :return: An shape attribute to be added to your element - """ # fmt: skip + Args: + value: + ['circle', 'default', 'poly', 'rect'] + + Returns: + An shape attribute to be added to your element + + """ return BaseAttribute("shape", value) @@ -126,9 +166,14 @@ def target(value) -> BaseAttribute: "area" attribute: target Navigable for hyperlink navigation - :param value: Valid navigable target name or keyword - :return: An target attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid navigable target name or keyword + + Returns: + An target attribute to be added to your element + + """ return BaseAttribute("target", value) \ No newline at end of file diff --git a/tools/generated/audio_attrs.py b/tools/generated/audio_attrs.py index eb17e68..a2a303d 100644 --- a/tools/generated/audio_attrs.py +++ b/tools/generated/audio_attrs.py @@ -14,9 +14,14 @@ def autoplay(value: bool) -> BaseAttribute: "audio" attribute: autoplay Hint that the media resource can be started automatically when the page is loaded - :param value: Boolean attribute - :return: An autoplay attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An autoplay attribute to be added to your element + + """ return BaseAttribute("autoplay", value) @@ -28,9 +33,14 @@ def controls(value: bool) -> BaseAttribute: "audio" attribute: controls Show user agent controls - :param value: Boolean attribute - :return: An controls attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An controls attribute to be added to your element + + """ return BaseAttribute("controls", value) @@ -42,9 +52,14 @@ def crossorigin(value: Literal['anonymous', 'use-credentials']) -> BaseAttribute "audio" attribute: crossorigin How the element handles crossorigin requests - :param value: ['anonymous', 'use-credentials'] - :return: An crossorigin attribute to be added to your element - """ # fmt: skip + Args: + value: + ['anonymous', 'use-credentials'] + + Returns: + An crossorigin attribute to be added to your element + + """ return BaseAttribute("crossorigin", value) @@ -56,9 +71,14 @@ def loop(value: bool) -> BaseAttribute: "audio" attribute: loop Whether to loop the media resource - :param value: Boolean attribute - :return: An loop attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An loop attribute to be added to your element + + """ return BaseAttribute("loop", value) @@ -70,9 +90,14 @@ def muted(value: bool) -> BaseAttribute: "audio" attribute: muted Whether to mute the media resource by default - :param value: Boolean attribute - :return: An muted attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An muted attribute to be added to your element + + """ return BaseAttribute("muted", value) @@ -84,9 +109,14 @@ def preload(value: Literal['none', 'metadata', 'auto']) -> BaseAttribute: "audio" attribute: preload Hints how much buffering the media resource will likely need - :param value: ['none', 'metadata', 'auto'] - :return: An preload attribute to be added to your element - """ # fmt: skip + Args: + value: + ['none', 'metadata', 'auto'] + + Returns: + An preload attribute to be added to your element + + """ return BaseAttribute("preload", value) @@ -98,9 +128,14 @@ def src(value) -> BaseAttribute: "audio" attribute: src Address of the resource - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) \ No newline at end of file diff --git a/tools/generated/base_attrs.py b/tools/generated/base_attrs.py index 036bf9e..38e93ef 100644 --- a/tools/generated/base_attrs.py +++ b/tools/generated/base_attrs.py @@ -14,9 +14,14 @@ def href(value) -> BaseAttribute: "base" attribute: href Document base URL - :param value: Valid URL potentially surrounded by spaces - :return: An href attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid URL potentially surrounded by spaces + + Returns: + An href attribute to be added to your element + + """ return BaseAttribute("href", value) @@ -28,9 +33,14 @@ def target(value) -> BaseAttribute: "base" attribute: target Default navigable for hyperlink navigation and form submission - :param value: Valid navigable target name or keyword - :return: An target attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid navigable target name or keyword + + Returns: + An target attribute to be added to your element + + """ return BaseAttribute("target", value) \ No newline at end of file diff --git a/tools/generated/bdo_attrs.py b/tools/generated/bdo_attrs.py index e0f8c0e..54edec4 100644 --- a/tools/generated/bdo_attrs.py +++ b/tools/generated/bdo_attrs.py @@ -14,9 +14,14 @@ def dir(value: Literal['ltr', 'rtl']) -> BaseAttribute: "bdo" attribute: dir The text directionality of the element - :param value: ['ltr', 'rtl'] - :return: An dir attribute to be added to your element - """ # fmt: skip + Args: + value: + ['ltr', 'rtl'] + + Returns: + An dir attribute to be added to your element + + """ return BaseAttribute("dir", value) \ No newline at end of file diff --git a/tools/generated/blockquote_attrs.py b/tools/generated/blockquote_attrs.py index 1d64a7e..f678ee4 100644 --- a/tools/generated/blockquote_attrs.py +++ b/tools/generated/blockquote_attrs.py @@ -14,9 +14,14 @@ def cite(value) -> BaseAttribute: "blockquote" attribute: cite Link to the source of the quotation or more information about the edit - :param value: Valid URL potentially surrounded by spaces - :return: An cite attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid URL potentially surrounded by spaces + + Returns: + An cite attribute to be added to your element + + """ return BaseAttribute("cite", value) \ No newline at end of file diff --git a/tools/generated/body_attrs.py b/tools/generated/body_attrs.py index f039870..55e43ff 100644 --- a/tools/generated/body_attrs.py +++ b/tools/generated/body_attrs.py @@ -14,9 +14,14 @@ def onafterprint(value) -> BaseAttribute: "body" attribute: onafterprint afterprint event handler for Window object - :param value: Event handler content attribute - :return: An onafterprint attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onafterprint attribute to be added to your element + + """ return BaseAttribute("onafterprint", value) @@ -28,9 +33,14 @@ def onbeforeprint(value) -> BaseAttribute: "body" attribute: onbeforeprint beforeprint event handler for Window object - :param value: Event handler content attribute - :return: An onbeforeprint attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onbeforeprint attribute to be added to your element + + """ return BaseAttribute("onbeforeprint", value) @@ -42,9 +52,14 @@ def onbeforeunload(value) -> BaseAttribute: "body" attribute: onbeforeunload beforeunload event handler for Window object - :param value: Event handler content attribute - :return: An onbeforeunload attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onbeforeunload attribute to be added to your element + + """ return BaseAttribute("onbeforeunload", value) @@ -56,9 +71,14 @@ def onhashchange(value) -> BaseAttribute: "body" attribute: onhashchange hashchange event handler for Window object - :param value: Event handler content attribute - :return: An onhashchange attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onhashchange attribute to be added to your element + + """ return BaseAttribute("onhashchange", value) @@ -70,9 +90,14 @@ def onlanguagechange(value) -> BaseAttribute: "body" attribute: onlanguagechange languagechange event handler for Window object - :param value: Event handler content attribute - :return: An onlanguagechange attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onlanguagechange attribute to be added to your element + + """ return BaseAttribute("onlanguagechange", value) @@ -84,9 +109,14 @@ def onmessage(value) -> BaseAttribute: "body" attribute: onmessage message event handler for Window object - :param value: Event handler content attribute - :return: An onmessage attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onmessage attribute to be added to your element + + """ return BaseAttribute("onmessage", value) @@ -98,9 +128,14 @@ def onmessageerror(value) -> BaseAttribute: "body" attribute: onmessageerror messageerror event handler for Window object - :param value: Event handler content attribute - :return: An onmessageerror attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onmessageerror attribute to be added to your element + + """ return BaseAttribute("onmessageerror", value) @@ -112,9 +147,14 @@ def onoffline(value) -> BaseAttribute: "body" attribute: onoffline offline event handler for Window object - :param value: Event handler content attribute - :return: An onoffline attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onoffline attribute to be added to your element + + """ return BaseAttribute("onoffline", value) @@ -126,9 +166,14 @@ def ononline(value) -> BaseAttribute: "body" attribute: ononline online event handler for Window object - :param value: Event handler content attribute - :return: An ononline attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An ononline attribute to be added to your element + + """ return BaseAttribute("ononline", value) @@ -140,9 +185,14 @@ def onpagehide(value) -> BaseAttribute: "body" attribute: onpagehide pagehide event handler for Window object - :param value: Event handler content attribute - :return: An onpagehide attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onpagehide attribute to be added to your element + + """ return BaseAttribute("onpagehide", value) @@ -154,9 +204,14 @@ def onpagereveal(value) -> BaseAttribute: "body" attribute: onpagereveal pagereveal event handler for Window object - :param value: Event handler content attribute - :return: An onpagereveal attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onpagereveal attribute to be added to your element + + """ return BaseAttribute("onpagereveal", value) @@ -168,9 +223,14 @@ def onpageshow(value) -> BaseAttribute: "body" attribute: onpageshow pageshow event handler for Window object - :param value: Event handler content attribute - :return: An onpageshow attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onpageshow attribute to be added to your element + + """ return BaseAttribute("onpageshow", value) @@ -182,9 +242,14 @@ def onpageswap(value) -> BaseAttribute: "body" attribute: onpageswap pageswap event handler for Window object - :param value: Event handler content attribute - :return: An onpageswap attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onpageswap attribute to be added to your element + + """ return BaseAttribute("onpageswap", value) @@ -196,9 +261,14 @@ def onpopstate(value) -> BaseAttribute: "body" attribute: onpopstate popstate event handler for Window object - :param value: Event handler content attribute - :return: An onpopstate attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onpopstate attribute to be added to your element + + """ return BaseAttribute("onpopstate", value) @@ -210,9 +280,14 @@ def onrejectionhandled(value) -> BaseAttribute: "body" attribute: onrejectionhandled rejectionhandled event handler for Window object - :param value: Event handler content attribute - :return: An onrejectionhandled attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onrejectionhandled attribute to be added to your element + + """ return BaseAttribute("onrejectionhandled", value) @@ -224,9 +299,14 @@ def onstorage(value) -> BaseAttribute: "body" attribute: onstorage storage event handler for Window object - :param value: Event handler content attribute - :return: An onstorage attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onstorage attribute to be added to your element + + """ return BaseAttribute("onstorage", value) @@ -238,9 +318,14 @@ def onunhandledrejection(value) -> BaseAttribute: "body" attribute: onunhandledrejection unhandledrejection event handler for Window object - :param value: Event handler content attribute - :return: An onunhandledrejection attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onunhandledrejection attribute to be added to your element + + """ return BaseAttribute("onunhandledrejection", value) @@ -252,9 +337,14 @@ def onunload(value) -> BaseAttribute: "body" attribute: onunload unload event handler for Window object - :param value: Event handler content attribute - :return: An onunload attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onunload attribute to be added to your element + + """ return BaseAttribute("onunload", value) \ No newline at end of file diff --git a/tools/generated/button_attrs.py b/tools/generated/button_attrs.py index 115fc62..f5ab080 100644 --- a/tools/generated/button_attrs.py +++ b/tools/generated/button_attrs.py @@ -14,9 +14,14 @@ def disabled(value: bool) -> BaseAttribute: "button" attribute: disabled Whether the form control is disabled - :param value: Boolean attribute - :return: An disabled attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An disabled attribute to be added to your element + + """ return BaseAttribute("disabled", value) @@ -28,9 +33,14 @@ def form(value) -> BaseAttribute: "button" attribute: form Associates the element with a form element - :param value: ID* - :return: An form attribute to be added to your element - """ # fmt: skip + Args: + value: + ID* + + Returns: + An form attribute to be added to your element + + """ return BaseAttribute("form", value) @@ -42,9 +52,14 @@ def formaction(value) -> BaseAttribute: "button" attribute: formaction URL to use for form submission - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An formaction attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An formaction attribute to be added to your element + + """ return BaseAttribute("formaction", value) @@ -56,9 +71,14 @@ def formenctype(value: Literal['application/x-www-form-urlencoded', 'multipart/f "button" attribute: formenctype Entry list encoding type to use for form submission - :param value: ['application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'] - :return: An formenctype attribute to be added to your element - """ # fmt: skip + Args: + value: + ['application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'] + + Returns: + An formenctype attribute to be added to your element + + """ return BaseAttribute("formenctype", value) @@ -70,9 +90,14 @@ def formmethod(value: Literal['GET', 'POST', 'dialog']) -> BaseAttribute: "button" attribute: formmethod Variant to use for form submission - :param value: ['GET', 'POST', 'dialog'] - :return: An formmethod attribute to be added to your element - """ # fmt: skip + Args: + value: + ['GET', 'POST', 'dialog'] + + Returns: + An formmethod attribute to be added to your element + + """ return BaseAttribute("formmethod", value) @@ -84,9 +109,14 @@ def formnovalidate(value: bool) -> BaseAttribute: "button" attribute: formnovalidate Bypass form control validation for form submission - :param value: Boolean attribute - :return: An formnovalidate attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An formnovalidate attribute to be added to your element + + """ return BaseAttribute("formnovalidate", value) @@ -98,9 +128,14 @@ def formtarget(value) -> BaseAttribute: "button" attribute: formtarget Navigable for form submission - :param value: Valid navigable target name or keyword - :return: An formtarget attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid navigable target name or keyword + + Returns: + An formtarget attribute to be added to your element + + """ return BaseAttribute("formtarget", value) @@ -112,9 +147,14 @@ def name(value: StrLike) -> BaseAttribute: "button" attribute: name Name of the element to use for form submission and in the form.elements API - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) @@ -126,9 +166,14 @@ def popovertarget(value) -> BaseAttribute: "button" attribute: popovertarget Targets a popover element to toggle, show, or hide - :param value: ID* - :return: An popovertarget attribute to be added to your element - """ # fmt: skip + Args: + value: + ID* + + Returns: + An popovertarget attribute to be added to your element + + """ return BaseAttribute("popovertarget", value) @@ -140,9 +185,14 @@ def popovertargetaction(value: Literal['toggle', 'show', 'hide']) -> BaseAttribu "button" attribute: popovertargetaction Indicates whether a targeted popover element is to be toggled, shown, or hidden - :param value: ['toggle', 'show', 'hide'] - :return: An popovertargetaction attribute to be added to your element - """ # fmt: skip + Args: + value: + ['toggle', 'show', 'hide'] + + Returns: + An popovertargetaction attribute to be added to your element + + """ return BaseAttribute("popovertargetaction", value) @@ -154,9 +204,14 @@ def type(value: Literal['submit', 'reset', 'button']) -> BaseAttribute: "button" attribute: type Type of button - :param value: ['submit', 'reset', 'button'] - :return: An type attribute to be added to your element - """ # fmt: skip + Args: + value: + ['submit', 'reset', 'button'] + + Returns: + An type attribute to be added to your element + + """ return BaseAttribute("type", value) @@ -168,9 +223,14 @@ def value(value: StrLike) -> BaseAttribute: "button" attribute: value Value to be used for form submission - :param value: Text - :return: An value attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An value attribute to be added to your element + + """ return BaseAttribute("value", value) \ No newline at end of file diff --git a/tools/generated/canvas_attrs.py b/tools/generated/canvas_attrs.py index 6753e46..c3fd670 100644 --- a/tools/generated/canvas_attrs.py +++ b/tools/generated/canvas_attrs.py @@ -14,9 +14,14 @@ def height(value: int) -> BaseAttribute: "canvas" attribute: height Vertical dimension - :param value: Valid non-negative integer - :return: An height attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An height attribute to be added to your element + + """ return BaseAttribute("height", value) @@ -28,9 +33,14 @@ def width(value: int) -> BaseAttribute: "canvas" attribute: width Horizontal dimension - :param value: Valid non-negative integer - :return: An width attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An width attribute to be added to your element + + """ return BaseAttribute("width", value) \ No newline at end of file diff --git a/tools/generated/col_attrs.py b/tools/generated/col_attrs.py index 0f08c21..861feff 100644 --- a/tools/generated/col_attrs.py +++ b/tools/generated/col_attrs.py @@ -14,9 +14,14 @@ def span(value) -> BaseAttribute: "col" attribute: span Number of columns spanned by the element - :param value: Valid non-negative integer greater than zero - :return: An span attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer greater than zero + + Returns: + An span attribute to be added to your element + + """ return BaseAttribute("span", value) \ No newline at end of file diff --git a/tools/generated/colgroup_attrs.py b/tools/generated/colgroup_attrs.py index e28589d..039f07b 100644 --- a/tools/generated/colgroup_attrs.py +++ b/tools/generated/colgroup_attrs.py @@ -14,9 +14,14 @@ def span(value) -> BaseAttribute: "colgroup" attribute: span Number of columns spanned by the element - :param value: Valid non-negative integer greater than zero - :return: An span attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer greater than zero + + Returns: + An span attribute to be added to your element + + """ return BaseAttribute("span", value) \ No newline at end of file diff --git a/tools/generated/data_attrs.py b/tools/generated/data_attrs.py index e78f47b..b07e036 100644 --- a/tools/generated/data_attrs.py +++ b/tools/generated/data_attrs.py @@ -14,9 +14,14 @@ def value(value: StrLike) -> BaseAttribute: "data" attribute: value Machine-readable value - :param value: Text* - :return: An value attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An value attribute to be added to your element + + """ return BaseAttribute("value", value) \ No newline at end of file diff --git a/tools/generated/del_attrs.py b/tools/generated/del_attrs.py index 4190074..6e01507 100644 --- a/tools/generated/del_attrs.py +++ b/tools/generated/del_attrs.py @@ -14,9 +14,14 @@ def cite(value) -> BaseAttribute: "del" attribute: cite Link to the source of the quotation or more information about the edit - :param value: Valid URL potentially surrounded by spaces - :return: An cite attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid URL potentially surrounded by spaces + + Returns: + An cite attribute to be added to your element + + """ return BaseAttribute("cite", value) @@ -28,9 +33,14 @@ def datetime(value) -> BaseAttribute: "del" attribute: datetime Date and (optionally) time of the change - :param value: Valid date string with optional time - :return: An datetime attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid date string with optional time + + Returns: + An datetime attribute to be added to your element + + """ return BaseAttribute("datetime", value) \ No newline at end of file diff --git a/tools/generated/details_attrs.py b/tools/generated/details_attrs.py index 135f78f..6b6de22 100644 --- a/tools/generated/details_attrs.py +++ b/tools/generated/details_attrs.py @@ -14,9 +14,14 @@ def name(value: StrLike) -> BaseAttribute: "details" attribute: name Name of group of mutually-exclusive details elements - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) @@ -28,9 +33,14 @@ def open(value: bool) -> BaseAttribute: "details" attribute: open Whether the details are visible - :param value: Boolean attribute - :return: An open attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An open attribute to be added to your element + + """ return BaseAttribute("open", value) \ No newline at end of file diff --git a/tools/generated/dfn_attrs.py b/tools/generated/dfn_attrs.py index 4316593..a0eda49 100644 --- a/tools/generated/dfn_attrs.py +++ b/tools/generated/dfn_attrs.py @@ -14,9 +14,14 @@ def title(value: StrLike) -> BaseAttribute: "dfn" attribute: title Full term or expansion of abbreviation - :param value: Text - :return: An title attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An title attribute to be added to your element + + """ return BaseAttribute("title", value) \ No newline at end of file diff --git a/tools/generated/dialog_attrs.py b/tools/generated/dialog_attrs.py index 28530dd..53dbe71 100644 --- a/tools/generated/dialog_attrs.py +++ b/tools/generated/dialog_attrs.py @@ -14,9 +14,14 @@ def open(value: bool) -> BaseAttribute: "dialog" attribute: open Whether the dialog box is showing - :param value: Boolean attribute - :return: An open attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An open attribute to be added to your element + + """ return BaseAttribute("open", value) \ No newline at end of file diff --git a/tools/generated/elements/a_element.py b/tools/generated/elements/a_element.py index ce66cb4..c4959c0 100644 --- a/tools/generated/elements/a_element.py +++ b/tools/generated/elements/a_element.py @@ -145,411 +145,410 @@ def __init__( Initialize 'a' (Hyperlink) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `download` : - Whether to download the resource instead of navigating to it, and its filename if so - - `href` : - Address of the hyperlink - Valid URL potentially surrounded by spaces - - `hreflang` : - Language of the linked resource - Valid BCP 47 language tag - - `ping` : - URLs to ping - - `referrerpolicy` : - Referrer policy for fetches initiated by the element - Referrer policy - - `rel` : - Relationship between the location in the document containing the hyperlink and the destination resource - - `target` : - Navigable for hyperlink navigation - Valid navigable target name or keyword - - `type` : - Hint for the type of the referenced resource - Valid MIME type string - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + download: + Whether to download the resource instead of navigating to it, and its filename if so + + href: + Address of the hyperlink. + Value hint: Valid URL potentially surrounded by spaces + + hreflang: + Language of the linked resource. + Value hint: Valid BCP 47 language tag + + ping: + URLs to ping + + referrerpolicy: + Referrer policy for fetches initiated by the element. + Value hint: Referrer policy + + rel: + Relationship between the location in the document containing the hyperlink and the destination resource + + target: + Navigable for hyperlink navigation. + Value hint: Valid navigable target name or keyword + + type: + Hint for the type of the referenced resource. + Value hint: Valid MIME type string + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "a", diff --git a/tools/generated/elements/abbr_element.py b/tools/generated/elements/abbr_element.py index f2a608f..c87dc2f 100644 --- a/tools/generated/elements/abbr_element.py +++ b/tools/generated/elements/abbr_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'abbr' (Abbreviation) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "abbr", diff --git a/tools/generated/elements/address_element.py b/tools/generated/elements/address_element.py index 26404c9..8d598c0 100644 --- a/tools/generated/elements/address_element.py +++ b/tools/generated/elements/address_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'address' (Contact information for a page or article element) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "address", diff --git a/tools/generated/elements/area_element.py b/tools/generated/elements/area_element.py index 8083cfa..16006d7 100644 --- a/tools/generated/elements/area_element.py +++ b/tools/generated/elements/area_element.py @@ -146,413 +146,412 @@ def __init__( Initialize 'area' (Hyperlink or dead area on an image map) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `alt` : - Replacement text for use when images are not available - - `coords` : - Coordinates for the shape to be created in an image map - Valid list of floating-point numbers* - - `download` : - Whether to download the resource instead of navigating to it, and its filename if so - - `href` : - Address of the hyperlink - Valid URL potentially surrounded by spaces - - `ping` : - URLs to ping - - `referrerpolicy` : - Referrer policy for fetches initiated by the element - Referrer policy - - `rel` : - Relationship between the location in the document containing the hyperlink and the destination resource - - `shape` : - The kind of shape to be created in an image map - - `target` : - Navigable for hyperlink navigation - Valid navigable target name or keyword - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + alt: + Replacement text for use when images are not available + + coords: + Coordinates for the shape to be created in an image map. + Value hint: Valid list of floating-point numbers* + + download: + Whether to download the resource instead of navigating to it, and its filename if so + + href: + Address of the hyperlink. + Value hint: Valid URL potentially surrounded by spaces + + ping: + URLs to ping + + referrerpolicy: + Referrer policy for fetches initiated by the element. + Value hint: Referrer policy + + rel: + Relationship between the location in the document containing the hyperlink and the destination resource + + shape: + The kind of shape to be created in an image map + + target: + Navigable for hyperlink navigation. + Value hint: Valid navigable target name or keyword + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "area", diff --git a/tools/generated/elements/article_element.py b/tools/generated/elements/article_element.py index 682af08..6988dd2 100644 --- a/tools/generated/elements/article_element.py +++ b/tools/generated/elements/article_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'article' (Self-contained syndicatable or reusable composition) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "article", diff --git a/tools/generated/elements/aside_element.py b/tools/generated/elements/aside_element.py index cf1698d..ad9225b 100644 --- a/tools/generated/elements/aside_element.py +++ b/tools/generated/elements/aside_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'aside' (Sidebar for tangentially related content) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "aside", diff --git a/tools/generated/elements/audio_element.py b/tools/generated/elements/audio_element.py index 79113a2..e6784d9 100644 --- a/tools/generated/elements/audio_element.py +++ b/tools/generated/elements/audio_element.py @@ -144,404 +144,403 @@ def __init__( Initialize 'audio' (Audio player) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `autoplay` : - Hint that the media resource can be started automatically when the page is loaded - - `controls` : - Show user agent controls - - `crossorigin` : - How the element handles crossorigin requests - - `loop` : - Whether to loop the media resource - - `muted` : - Whether to mute the media resource by default - - `preload` : - Hints how much buffering the media resource will likely need - - `src` : - Address of the resource - Valid non-empty URL potentially surrounded by spaces - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + autoplay: + Hint that the media resource can be started automatically when the page is loaded + + controls: + Show user agent controls + + crossorigin: + How the element handles crossorigin requests + + loop: + Whether to loop the media resource + + muted: + Whether to mute the media resource by default + + preload: + Hints how much buffering the media resource will likely need + + src: + Address of the resource. + Value hint: Valid non-empty URL potentially surrounded by spaces + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "audio", diff --git a/tools/generated/elements/b_element.py b/tools/generated/elements/b_element.py index 01801ae..0b93e71 100644 --- a/tools/generated/elements/b_element.py +++ b/tools/generated/elements/b_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'b' (Keywords) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "b", diff --git a/tools/generated/elements/base_element.py b/tools/generated/elements/base_element.py index 40a9d37..7facc9b 100644 --- a/tools/generated/elements/base_element.py +++ b/tools/generated/elements/base_element.py @@ -139,390 +139,389 @@ def __init__( Initialize 'base' (Base URL and default target navigable for hyperlinks and forms) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `href` : - Document base URL - Valid URL potentially surrounded by spaces - - `target` : - Default navigable for hyperlink navigation and form submission - Valid navigable target name or keyword - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + href: + Document base URL. + Value hint: Valid URL potentially surrounded by spaces + + target: + Default navigable for hyperlink navigation and form submission. + Value hint: Valid navigable target name or keyword + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "base", diff --git a/tools/generated/elements/bdi_element.py b/tools/generated/elements/bdi_element.py index 1b7556b..3d6ad4b 100644 --- a/tools/generated/elements/bdi_element.py +++ b/tools/generated/elements/bdi_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'bdi' (Text directionality isolation) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "bdi", diff --git a/tools/generated/elements/bdo_element.py b/tools/generated/elements/bdo_element.py index 931667c..9ad490a 100644 --- a/tools/generated/elements/bdo_element.py +++ b/tools/generated/elements/bdo_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'bdo' (Text directionality formatting) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "bdo", diff --git a/tools/generated/elements/blockquote_element.py b/tools/generated/elements/blockquote_element.py index 10dba6f..0a2ea40 100644 --- a/tools/generated/elements/blockquote_element.py +++ b/tools/generated/elements/blockquote_element.py @@ -138,386 +138,385 @@ def __init__( Initialize 'blockquote' (A section quoted from another source) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `cite` : - Link to the source of the quotation or more information about the edit - Valid URL potentially surrounded by spaces - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + cite: + Link to the source of the quotation or more information about the edit. + Value hint: Valid URL potentially surrounded by spaces + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "blockquote", diff --git a/tools/generated/elements/body_element.py b/tools/generated/elements/body_element.py index 257e6ab..70313ca 100644 --- a/tools/generated/elements/body_element.py +++ b/tools/generated/elements/body_element.py @@ -155,454 +155,453 @@ def __init__( Initialize 'body' (Document body) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `onafterprint` : - afterprint event handler for Window object - Event handler content attribute - - `onbeforeprint` : - beforeprint event handler for Window object - Event handler content attribute - - `onbeforeunload` : - beforeunload event handler for Window object - Event handler content attribute - - `onhashchange` : - hashchange event handler for Window object - Event handler content attribute - - `onlanguagechange` : - languagechange event handler for Window object - Event handler content attribute - - `onmessage` : - message event handler for Window object - Event handler content attribute - - `onmessageerror` : - messageerror event handler for Window object - Event handler content attribute - - `onoffline` : - offline event handler for Window object - Event handler content attribute - - `ononline` : - online event handler for Window object - Event handler content attribute - - `onpagehide` : - pagehide event handler for Window object - Event handler content attribute - - `onpagereveal` : - pagereveal event handler for Window object - Event handler content attribute - - `onpageshow` : - pageshow event handler for Window object - Event handler content attribute - - `onpageswap` : - pageswap event handler for Window object - Event handler content attribute - - `onpopstate` : - popstate event handler for Window object - Event handler content attribute - - `onrejectionhandled` : - rejectionhandled event handler for Window object - Event handler content attribute - - `onstorage` : - storage event handler for Window object - Event handler content attribute - - `onunhandledrejection` : - unhandledrejection event handler for Window object - Event handler content attribute - - `onunload` : - unload event handler for Window object - Event handler content attribute - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + onafterprint: + afterprint event handler for Window object. + Value hint: Event handler content attribute + + onbeforeprint: + beforeprint event handler for Window object. + Value hint: Event handler content attribute + + onbeforeunload: + beforeunload event handler for Window object. + Value hint: Event handler content attribute + + onhashchange: + hashchange event handler for Window object. + Value hint: Event handler content attribute + + onlanguagechange: + languagechange event handler for Window object. + Value hint: Event handler content attribute + + onmessage: + message event handler for Window object. + Value hint: Event handler content attribute + + onmessageerror: + messageerror event handler for Window object. + Value hint: Event handler content attribute + + onoffline: + offline event handler for Window object. + Value hint: Event handler content attribute + + ononline: + online event handler for Window object. + Value hint: Event handler content attribute + + onpagehide: + pagehide event handler for Window object. + Value hint: Event handler content attribute + + onpagereveal: + pagereveal event handler for Window object. + Value hint: Event handler content attribute + + onpageshow: + pageshow event handler for Window object. + Value hint: Event handler content attribute + + onpageswap: + pageswap event handler for Window object. + Value hint: Event handler content attribute + + onpopstate: + popstate event handler for Window object. + Value hint: Event handler content attribute + + onrejectionhandled: + rejectionhandled event handler for Window object. + Value hint: Event handler content attribute + + onstorage: + storage event handler for Window object. + Value hint: Event handler content attribute + + onunhandledrejection: + unhandledrejection event handler for Window object. + Value hint: Event handler content attribute + + onunload: + unload event handler for Window object. + Value hint: Event handler content attribute + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "body", diff --git a/tools/generated/elements/br_element.py b/tools/generated/elements/br_element.py index 99b7f05..6ce6ff8 100644 --- a/tools/generated/elements/br_element.py +++ b/tools/generated/elements/br_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'br' (Line break, e.g. in poem or postal address) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "br", diff --git a/tools/generated/elements/button_element.py b/tools/generated/elements/button_element.py index 726c95a..3a30d8c 100644 --- a/tools/generated/elements/button_element.py +++ b/tools/generated/elements/button_element.py @@ -149,422 +149,421 @@ def __init__( Initialize 'button' (Button control) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `disabled` : - Whether the form control is disabled - - `form` : - Associates the element with a form element - ID* - - `formaction` : - URL to use for form submission - Valid non-empty URL potentially surrounded by spaces - - `formenctype` : - Entry list encoding type to use for form submission - - `formmethod` : - Variant to use for form submission - - `formnovalidate` : - Bypass form control validation for form submission - - `formtarget` : - Navigable for form submission - Valid navigable target name or keyword - - `name` : - Name of the element to use for form submission and in the form.elements API - - `popovertarget` : - Targets a popover element to toggle, show, or hide - ID* - - `popovertargetaction` : - Indicates whether a targeted popover element is to be toggled, shown, or hidden - - `type` : - Type of button - - `value` : - Value to be used for form submission - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + disabled: + Whether the form control is disabled + + form: + Associates the element with a form element. + Value hint: ID* + + formaction: + URL to use for form submission. + Value hint: Valid non-empty URL potentially surrounded by spaces + + formenctype: + Entry list encoding type to use for form submission + + formmethod: + Variant to use for form submission + + formnovalidate: + Bypass form control validation for form submission + + formtarget: + Navigable for form submission. + Value hint: Valid navigable target name or keyword + + name: + Name of the element to use for form submission and in the form.elements API + + popovertarget: + Targets a popover element to toggle, show, or hide. + Value hint: ID* + + popovertargetaction: + Indicates whether a targeted popover element is to be toggled, shown, or hidden + + type: + Type of button + + value: + Value to be used for form submission + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "button", diff --git a/tools/generated/elements/canvas_element.py b/tools/generated/elements/canvas_element.py index 54effaf..9869645 100644 --- a/tools/generated/elements/canvas_element.py +++ b/tools/generated/elements/canvas_element.py @@ -139,388 +139,387 @@ def __init__( Initialize 'canvas' (Scriptable bitmap canvas) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `height` : - Vertical dimension - - `width` : - Horizontal dimension - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + height: + Vertical dimension + + width: + Horizontal dimension + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "canvas", diff --git a/tools/generated/elements/caption_element.py b/tools/generated/elements/caption_element.py index 72866f4..72dd97a 100644 --- a/tools/generated/elements/caption_element.py +++ b/tools/generated/elements/caption_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'caption' (Table caption) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "caption", diff --git a/tools/generated/elements/cite_element.py b/tools/generated/elements/cite_element.py index 071fdf7..c717d0f 100644 --- a/tools/generated/elements/cite_element.py +++ b/tools/generated/elements/cite_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'cite' (Title of a work) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "cite", diff --git a/tools/generated/elements/code_element.py b/tools/generated/elements/code_element.py index 227a40b..321372d 100644 --- a/tools/generated/elements/code_element.py +++ b/tools/generated/elements/code_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'code' (Computer code) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "code", diff --git a/tools/generated/elements/col_element.py b/tools/generated/elements/col_element.py index 82a289d..1318aab 100644 --- a/tools/generated/elements/col_element.py +++ b/tools/generated/elements/col_element.py @@ -138,386 +138,385 @@ def __init__( Initialize 'col' (Table column) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `span` : - Number of columns spanned by the element - Valid non-negative integer greater than zero - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + span: + Number of columns spanned by the element. + Value hint: Valid non-negative integer greater than zero + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "col", diff --git a/tools/generated/elements/colgroup_element.py b/tools/generated/elements/colgroup_element.py index d590d45..aa3426b 100644 --- a/tools/generated/elements/colgroup_element.py +++ b/tools/generated/elements/colgroup_element.py @@ -138,386 +138,385 @@ def __init__( Initialize 'colgroup' (Group of columns in a table) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `span` : - Number of columns spanned by the element - Valid non-negative integer greater than zero - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + span: + Number of columns spanned by the element. + Value hint: Valid non-negative integer greater than zero + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "colgroup", diff --git a/tools/generated/elements/data_element.py b/tools/generated/elements/data_element.py index 235f058..9f348a8 100644 --- a/tools/generated/elements/data_element.py +++ b/tools/generated/elements/data_element.py @@ -138,385 +138,384 @@ def __init__( Initialize 'data' (Machine-readable equivalent) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `value` : - Machine-readable value - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + value: + Machine-readable value + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "data", diff --git a/tools/generated/elements/datalist_element.py b/tools/generated/elements/datalist_element.py index 27565e4..e11239f 100644 --- a/tools/generated/elements/datalist_element.py +++ b/tools/generated/elements/datalist_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'datalist' (Container for options for combo box control) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "datalist", diff --git a/tools/generated/elements/dd_element.py b/tools/generated/elements/dd_element.py index 036ec15..8354a53 100644 --- a/tools/generated/elements/dd_element.py +++ b/tools/generated/elements/dd_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'dd' (Content for corresponding dt element(s)) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "dd", diff --git a/tools/generated/elements/del__element.py b/tools/generated/elements/del__element.py index b8bc424..ce5acfb 100644 --- a/tools/generated/elements/del__element.py +++ b/tools/generated/elements/del__element.py @@ -139,390 +139,389 @@ def __init__( Initialize 'del' (A removal from the document) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `cite` : - Link to the source of the quotation or more information about the edit - Valid URL potentially surrounded by spaces - - `datetime` : - Date and (optionally) time of the change - Valid date string with optional time - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + cite: + Link to the source of the quotation or more information about the edit. + Value hint: Valid URL potentially surrounded by spaces + + datetime: + Date and (optionally) time of the change. + Value hint: Valid date string with optional time + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "del", diff --git a/tools/generated/elements/details_element.py b/tools/generated/elements/details_element.py index 1e707b9..29064b4 100644 --- a/tools/generated/elements/details_element.py +++ b/tools/generated/elements/details_element.py @@ -139,388 +139,387 @@ def __init__( Initialize 'details' (Disclosure control for hiding details) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `name` : - Name of group of mutually-exclusive details elements - - `open` : - Whether the details are visible - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + name: + Name of group of mutually-exclusive details elements + + open: + Whether the details are visible + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "details", diff --git a/tools/generated/elements/dfn_element.py b/tools/generated/elements/dfn_element.py index c80e15b..10b7127 100644 --- a/tools/generated/elements/dfn_element.py +++ b/tools/generated/elements/dfn_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'dfn' (Defining instance) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "dfn", diff --git a/tools/generated/elements/dialog_element.py b/tools/generated/elements/dialog_element.py index 26a72f5..52026e7 100644 --- a/tools/generated/elements/dialog_element.py +++ b/tools/generated/elements/dialog_element.py @@ -138,385 +138,384 @@ def __init__( Initialize 'dialog' (Dialog box or window) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `open` : - Whether the dialog box is showing - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + open: + Whether the dialog box is showing + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "dialog", diff --git a/tools/generated/elements/div_element.py b/tools/generated/elements/div_element.py index 3a65c5b..025b170 100644 --- a/tools/generated/elements/div_element.py +++ b/tools/generated/elements/div_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'div' (Generic flow container, or container for name-value groups in dl elements) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "div", diff --git a/tools/generated/elements/dl_element.py b/tools/generated/elements/dl_element.py index efc2f83..137886b 100644 --- a/tools/generated/elements/dl_element.py +++ b/tools/generated/elements/dl_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'dl' (Association list consisting of zero or more name-value groups) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "dl", diff --git a/tools/generated/elements/dt_element.py b/tools/generated/elements/dt_element.py index 28b7de2..6d008f1 100644 --- a/tools/generated/elements/dt_element.py +++ b/tools/generated/elements/dt_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'dt' (Legend for corresponding dd element(s)) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "dt", diff --git a/tools/generated/elements/em_element.py b/tools/generated/elements/em_element.py index 9864679..56c91c1 100644 --- a/tools/generated/elements/em_element.py +++ b/tools/generated/elements/em_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'em' (Stress emphasis) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "em", diff --git a/tools/generated/elements/embed_element.py b/tools/generated/elements/embed_element.py index 49330af..6a23004 100644 --- a/tools/generated/elements/embed_element.py +++ b/tools/generated/elements/embed_element.py @@ -141,396 +141,395 @@ def __init__( Initialize 'embed' (Plugin) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `height` : - Vertical dimension - - `src` : - Address of the resource - Valid non-empty URL potentially surrounded by spaces - - `type` : - Type of embedded resource - Valid MIME type string - - `width` : - Horizontal dimension - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + height: + Vertical dimension + + src: + Address of the resource. + Value hint: Valid non-empty URL potentially surrounded by spaces + + type: + Type of embedded resource. + Value hint: Valid MIME type string + + width: + Horizontal dimension + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "embed", diff --git a/tools/generated/elements/fieldset_element.py b/tools/generated/elements/fieldset_element.py index 793ae07..1b6fa5b 100644 --- a/tools/generated/elements/fieldset_element.py +++ b/tools/generated/elements/fieldset_element.py @@ -140,392 +140,391 @@ def __init__( Initialize 'fieldset' (Group of form controls) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `disabled` : - Whether the descendant form controls, except any inside legend, are disabled - - `form` : - Associates the element with a form element - ID* - - `name` : - Name of the element to use for form submission and in the form.elements API - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + disabled: + Whether the descendant form controls, except any inside legend, are disabled + + form: + Associates the element with a form element. + Value hint: ID* + + name: + Name of the element to use for form submission and in the form.elements API + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "fieldset", diff --git a/tools/generated/elements/figcaption_element.py b/tools/generated/elements/figcaption_element.py index 1f036b3..cdbb335 100644 --- a/tools/generated/elements/figcaption_element.py +++ b/tools/generated/elements/figcaption_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'figcaption' (Caption for figure) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "figcaption", diff --git a/tools/generated/elements/figure_element.py b/tools/generated/elements/figure_element.py index 6f7de6e..bec7f70 100644 --- a/tools/generated/elements/figure_element.py +++ b/tools/generated/elements/figure_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'figure' (Figure with optional caption) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "figure", diff --git a/tools/generated/elements/footer_element.py b/tools/generated/elements/footer_element.py index 433a95b..ce88a2f 100644 --- a/tools/generated/elements/footer_element.py +++ b/tools/generated/elements/footer_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'footer' (Footer for a page or section) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "footer", diff --git a/tools/generated/elements/form_element.py b/tools/generated/elements/form_element.py index fedc767..aa1a11d 100644 --- a/tools/generated/elements/form_element.py +++ b/tools/generated/elements/form_element.py @@ -145,409 +145,408 @@ def __init__( Initialize 'form' (User-submittable form) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accept_charset` : - Character encodings to use for form submission - ASCII case-insensitive match for "UTF-8" - - `action` : - URL to use for form submission - Valid non-empty URL potentially surrounded by spaces - - `autocomplete` : - Default setting for autofill feature for controls in the form - - `enctype` : - Entry list encoding type to use for form submission - - `method` : - Variant to use for form submission - - `name` : - Name of form to use in the document.forms API - - `novalidate` : - Bypass form control validation for form submission - - `target` : - Navigable for form submission - Valid navigable target name or keyword - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accept_charset: + Character encodings to use for form submission. + Value hint: ASCII case-insensitive match for "UTF-8" + + action: + URL to use for form submission. + Value hint: Valid non-empty URL potentially surrounded by spaces + + autocomplete: + Default setting for autofill feature for controls in the form + + enctype: + Entry list encoding type to use for form submission + + method: + Variant to use for form submission + + name: + Name of form to use in the document.forms API + + novalidate: + Bypass form control validation for form submission + + target: + Navigable for form submission. + Value hint: Valid navigable target name or keyword + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "form", diff --git a/tools/generated/elements/h1_element.py b/tools/generated/elements/h1_element.py index 5b96515..d60ea22 100644 --- a/tools/generated/elements/h1_element.py +++ b/tools/generated/elements/h1_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'h1' (Heading) element. Documentation: None - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "h1", diff --git a/tools/generated/elements/h2_element.py b/tools/generated/elements/h2_element.py index becc46d..c5d0f4b 100644 --- a/tools/generated/elements/h2_element.py +++ b/tools/generated/elements/h2_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'h2' (Heading) element. Documentation: None - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "h2", diff --git a/tools/generated/elements/h3_element.py b/tools/generated/elements/h3_element.py index 45803c3..df1ac5d 100644 --- a/tools/generated/elements/h3_element.py +++ b/tools/generated/elements/h3_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'h3' (Heading) element. Documentation: None - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "h3", diff --git a/tools/generated/elements/h4_element.py b/tools/generated/elements/h4_element.py index cffc88e..862e846 100644 --- a/tools/generated/elements/h4_element.py +++ b/tools/generated/elements/h4_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'h4' (Heading) element. Documentation: None - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "h4", diff --git a/tools/generated/elements/h5_element.py b/tools/generated/elements/h5_element.py index 40ea5aa..85c591d 100644 --- a/tools/generated/elements/h5_element.py +++ b/tools/generated/elements/h5_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'h5' (Heading) element. Documentation: None - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "h5", diff --git a/tools/generated/elements/h6_element.py b/tools/generated/elements/h6_element.py index 992e095..52f26dc 100644 --- a/tools/generated/elements/h6_element.py +++ b/tools/generated/elements/h6_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'h6' (Heading) element. Documentation: None - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "h6", diff --git a/tools/generated/elements/head_element.py b/tools/generated/elements/head_element.py index d5542b7..c64552d 100644 --- a/tools/generated/elements/head_element.py +++ b/tools/generated/elements/head_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'head' (Container for document metadata) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "head", diff --git a/tools/generated/elements/header_element.py b/tools/generated/elements/header_element.py index cd36a0e..6f6ec61 100644 --- a/tools/generated/elements/header_element.py +++ b/tools/generated/elements/header_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'header' (Introductory or navigational aids for a page or section) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "header", diff --git a/tools/generated/elements/hgroup_element.py b/tools/generated/elements/hgroup_element.py index c5035c1..0e0329d 100644 --- a/tools/generated/elements/hgroup_element.py +++ b/tools/generated/elements/hgroup_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'hgroup' (Heading container) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "hgroup", diff --git a/tools/generated/elements/hr_element.py b/tools/generated/elements/hr_element.py index 117b32f..9030d3a 100644 --- a/tools/generated/elements/hr_element.py +++ b/tools/generated/elements/hr_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'hr' (Thematic break) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "hr", diff --git a/tools/generated/elements/html_element.py b/tools/generated/elements/html_element.py index 2bc1c47..e6ce233 100644 --- a/tools/generated/elements/html_element.py +++ b/tools/generated/elements/html_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'html' (Root element) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "html", diff --git a/tools/generated/elements/i_element.py b/tools/generated/elements/i_element.py index 7107219..f134127 100644 --- a/tools/generated/elements/i_element.py +++ b/tools/generated/elements/i_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'i' (Alternate voice) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "i", diff --git a/tools/generated/elements/iframe_element.py b/tools/generated/elements/iframe_element.py index 7228210..2ba01fb 100644 --- a/tools/generated/elements/iframe_element.py +++ b/tools/generated/elements/iframe_element.py @@ -147,417 +147,416 @@ def __init__( Initialize 'iframe' (Child navigable) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `allow` : - Permissions policy to be applied to the iframe's contents - Serialized permissions policy - - `allowfullscreen` : - Whether to allow the iframe's contents to use requestFullscreen() - - `height` : - Vertical dimension - - `loading` : - Used when determining loading deferral - - `name` : - Name of content navigable - Valid navigable target name or keyword - - `referrerpolicy` : - Referrer policy for fetches initiated by the element - Referrer policy - - `sandbox` : - Security rules for nested content - - `src` : - Address of the resource - Valid non-empty URL potentially surrounded by spaces - - `srcdoc` : - A document to render in the iframe - The source of an iframe srcdoc document* - - `width` : - Horizontal dimension - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + allow: + Permissions policy to be applied to the iframe's contents. + Value hint: Serialized permissions policy + + allowfullscreen: + Whether to allow the iframe's contents to use requestFullscreen() + + height: + Vertical dimension + + loading: + Used when determining loading deferral + + name: + Name of content navigable. + Value hint: Valid navigable target name or keyword + + referrerpolicy: + Referrer policy for fetches initiated by the element. + Value hint: Referrer policy + + sandbox: + Security rules for nested content + + src: + Address of the resource. + Value hint: Valid non-empty URL potentially surrounded by spaces + + srcdoc: + A document to render in the iframe. + Value hint: The source of an iframe srcdoc document* + + width: + Horizontal dimension + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "iframe", diff --git a/tools/generated/elements/img_element.py b/tools/generated/elements/img_element.py index a8feb5c..ddd6f3d 100644 --- a/tools/generated/elements/img_element.py +++ b/tools/generated/elements/img_element.py @@ -150,426 +150,425 @@ def __init__( Initialize 'img' (Image) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `alt` : - Replacement text for use when images are not available - - `crossorigin` : - How the element handles crossorigin requests - - `decoding` : - Decoding hint to use when processing this image for presentation - - `fetchpriority` : - Sets the priority for fetches initiated by the element - - `height` : - Vertical dimension - - `ismap` : - Whether the image is a server-side image map - - `loading` : - Used when determining loading deferral - - `referrerpolicy` : - Referrer policy for fetches initiated by the element - Referrer policy - - `sizes` : - Image sizes for different page layouts - Valid source size list - - `src` : - Address of the resource - Valid non-empty URL potentially surrounded by spaces - - `srcset` : - Images to use in different situations, e.g., high-resolution displays, small monitors, etc. - Comma-separated list of image candidate strings - - `usemap` : - Name of image map to use - Valid hash-name reference* - - `width` : - Horizontal dimension - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + alt: + Replacement text for use when images are not available + + crossorigin: + How the element handles crossorigin requests + + decoding: + Decoding hint to use when processing this image for presentation + + fetchpriority: + Sets the priority for fetches initiated by the element + + height: + Vertical dimension + + ismap: + Whether the image is a server-side image map + + loading: + Used when determining loading deferral + + referrerpolicy: + Referrer policy for fetches initiated by the element. + Value hint: Referrer policy + + sizes: + Image sizes for different page layouts. + Value hint: Valid source size list + + src: + Address of the resource. + Value hint: Valid non-empty URL potentially surrounded by spaces + + srcset: + Images to use in different situations, e.g., high-resolution displays, small monitors, etc.. + Value hint: Comma-separated list of image candidate strings + + usemap: + Name of image map to use. + Value hint: Valid hash-name reference* + + width: + Horizontal dimension + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "img", diff --git a/tools/generated/elements/input_element.py b/tools/generated/elements/input_element.py index 3865324..6a0c0a8 100644 --- a/tools/generated/elements/input_element.py +++ b/tools/generated/elements/input_element.py @@ -171,498 +171,497 @@ def __init__( Initialize 'input' (Form control) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accept` : - Hint for expected file type in file upload controls - Set of comma-separated tokens* consisting of valid MIME type strings with no parameters or audio/*, video/*, or image/* - - `alpha` : - Allow the color's alpha component to be set - - `alt` : - Replacement text for use when images are not available - - `autocomplete` : - Hint for form autofill feature - Autofill field name and related tokens* - - `checked` : - Whether the control is checked - - `colorspace` : - The color space of the serialized color - - `dirname` : - Name of form control to use for sending the element's directionality in form submission - - `disabled` : - Whether the form control is disabled - - `form` : - Associates the element with a form element - ID* - - `formaction` : - URL to use for form submission - Valid non-empty URL potentially surrounded by spaces - - `formenctype` : - Entry list encoding type to use for form submission - - `formmethod` : - Variant to use for form submission - - `formnovalidate` : - Bypass form control validation for form submission - - `formtarget` : - Navigable for form submission - Valid navigable target name or keyword - - `height` : - Vertical dimension - - `list` : - List of autocomplete options - ID* - - `max` : - Maximum value - Varies* - - `maxlength` : - Maximum length of value - - `min` : - Minimum value - Varies* - - `minlength` : - Minimum length of value - - `multiple` : - Whether to allow multiple values - - `name` : - Name of the element to use for form submission and in the form.elements API - - `pattern` : - Pattern to be matched by the form control's value - Regular expression matching the JavaScript Pattern production - - `placeholder` : - User-visible label to be placed within the form control - - `popovertarget` : - Targets a popover element to toggle, show, or hide - ID* - - `popovertargetaction` : - Indicates whether a targeted popover element is to be toggled, shown, or hidden - - `readonly` : - Whether to allow the value to be edited by the user - - `required` : - Whether the control is required for form submission - - `size` : - Size of the control - Valid non-negative integer greater than zero - - `src` : - Address of the resource - Valid non-empty URL potentially surrounded by spaces - - `step` : - Granularity to be matched by the form control's value - - `title` : - Description of pattern (when used with pattern attribute) - - `type` : - Type of form control - input type keyword - - `value` : - Value of the form control - Varies* - - `width` : - Horizontal dimension - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accept: + Hint for expected file type in file upload controls. + Value hint: Set of comma-separated tokens* consisting of valid MIME type strings with no parameters or audio/*, video/*, or image/* + + alpha: + Allow the color's alpha component to be set + + alt: + Replacement text for use when images are not available + + autocomplete: + Hint for form autofill feature. + Value hint: Autofill field name and related tokens* + + checked: + Whether the control is checked + + colorspace: + The color space of the serialized color + + dirname: + Name of form control to use for sending the element's directionality in form submission + + disabled: + Whether the form control is disabled + + form: + Associates the element with a form element. + Value hint: ID* + + formaction: + URL to use for form submission. + Value hint: Valid non-empty URL potentially surrounded by spaces + + formenctype: + Entry list encoding type to use for form submission + + formmethod: + Variant to use for form submission + + formnovalidate: + Bypass form control validation for form submission + + formtarget: + Navigable for form submission. + Value hint: Valid navigable target name or keyword + + height: + Vertical dimension + + list: + List of autocomplete options. + Value hint: ID* + + max: + Maximum value. + Value hint: Varies* + + maxlength: + Maximum length of value + + min: + Minimum value. + Value hint: Varies* + + minlength: + Minimum length of value + + multiple: + Whether to allow multiple values + + name: + Name of the element to use for form submission and in the form.elements API + + pattern: + Pattern to be matched by the form control's value. + Value hint: Regular expression matching the JavaScript Pattern production + + placeholder: + User-visible label to be placed within the form control + + popovertarget: + Targets a popover element to toggle, show, or hide. + Value hint: ID* + + popovertargetaction: + Indicates whether a targeted popover element is to be toggled, shown, or hidden + + readonly: + Whether to allow the value to be edited by the user + + required: + Whether the control is required for form submission + + size: + Size of the control. + Value hint: Valid non-negative integer greater than zero + + src: + Address of the resource. + Value hint: Valid non-empty URL potentially surrounded by spaces + + step: + Granularity to be matched by the form control's value + + title: + Description of pattern (when used with pattern attribute) + + type: + Type of form control. + Value hint: input type keyword + + value: + Value of the form control. + Value hint: Varies* + + width: + Horizontal dimension + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "input", diff --git a/tools/generated/elements/ins_element.py b/tools/generated/elements/ins_element.py index 11f40c9..fb7028e 100644 --- a/tools/generated/elements/ins_element.py +++ b/tools/generated/elements/ins_element.py @@ -139,390 +139,389 @@ def __init__( Initialize 'ins' (An addition to the document) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `cite` : - Link to the source of the quotation or more information about the edit - Valid URL potentially surrounded by spaces - - `datetime` : - Date and (optionally) time of the change - Valid date string with optional time - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + cite: + Link to the source of the quotation or more information about the edit. + Value hint: Valid URL potentially surrounded by spaces + + datetime: + Date and (optionally) time of the change. + Value hint: Valid date string with optional time + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "ins", diff --git a/tools/generated/elements/kbd_element.py b/tools/generated/elements/kbd_element.py index 0cb2319..7fcc2fa 100644 --- a/tools/generated/elements/kbd_element.py +++ b/tools/generated/elements/kbd_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'kbd' (User input) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "kbd", diff --git a/tools/generated/elements/label_element.py b/tools/generated/elements/label_element.py index ba8adcc..f265af8 100644 --- a/tools/generated/elements/label_element.py +++ b/tools/generated/elements/label_element.py @@ -138,386 +138,385 @@ def __init__( Initialize 'label' (Caption for a form control) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `for_` : - Associate the label with form control - ID* - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + for_: + Associate the label with form control. + Value hint: ID* + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "label", diff --git a/tools/generated/elements/legend_element.py b/tools/generated/elements/legend_element.py index ded47bb..4c0bf3b 100644 --- a/tools/generated/elements/legend_element.py +++ b/tools/generated/elements/legend_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'legend' (Caption for fieldset) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "legend", diff --git a/tools/generated/elements/li_element.py b/tools/generated/elements/li_element.py index 464187b..62f4d2e 100644 --- a/tools/generated/elements/li_element.py +++ b/tools/generated/elements/li_element.py @@ -138,385 +138,384 @@ def __init__( Initialize 'li' (List item) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `value` : - Ordinal value of the list item - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + value: + Ordinal value of the list item + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "li", diff --git a/tools/generated/elements/link_element.py b/tools/generated/elements/link_element.py index a04944e..598e481 100644 --- a/tools/generated/elements/link_element.py +++ b/tools/generated/elements/link_element.py @@ -153,441 +153,440 @@ def __init__( Initialize 'link' (Link metadata) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `as_` : - Potential destination for a preload request (for rel="preload" and rel="modulepreload") - Potential destination, for rel="preload"; script-like destination, for rel="modulepreload" - - `blocking` : - Whether the element is potentially render-blocking - - `color` : - Color to use when customizing a site's icon (for rel="mask-icon") - CSS - - `crossorigin` : - How the element handles crossorigin requests - - `disabled` : - Whether the link is disabled - - `fetchpriority` : - Sets the priority for fetches initiated by the element - - `href` : - Address of the hyperlink - Valid non-empty URL potentially surrounded by spaces - - `hreflang` : - Language of the linked resource - Valid BCP 47 language tag - - `imagesizes` : - Image sizes for different page layouts (for rel="preload") - Valid source size list - - `imagesrcset` : - Images to use in different situations, e.g., high-resolution displays, small monitors, etc. (for rel="preload") - Comma-separated list of image candidate strings - - `integrity` : - Integrity metadata used in Subresource Integrity checks [SRI] - - `media` : - Applicable media - Valid media query list - - `referrerpolicy` : - Referrer policy for fetches initiated by the element - Referrer policy - - `rel` : - Relationship between the document containing the hyperlink and the destination resource - - `sizes` : - Sizes of the icons (for rel="icon") - - `title` : - CSS style sheet set name - `title` : - Title of the link - - `type` : - Hint for the type of the referenced resource - Valid MIME type string - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + as_: + Potential destination for a preload request (for rel="preload" and rel="modulepreload"). + Value hint: Potential destination, for rel="preload"; script-like destination, for rel="modulepreload" + + blocking: + Whether the element is potentially render-blocking + + color: + Color to use when customizing a site's icon (for rel="mask-icon"). + Value hint: CSS + + crossorigin: + How the element handles crossorigin requests + + disabled: + Whether the link is disabled + + fetchpriority: + Sets the priority for fetches initiated by the element + + href: + Address of the hyperlink. + Value hint: Valid non-empty URL potentially surrounded by spaces + + hreflang: + Language of the linked resource. + Value hint: Valid BCP 47 language tag + + imagesizes: + Image sizes for different page layouts (for rel="preload"). + Value hint: Valid source size list + + imagesrcset: + Images to use in different situations, e.g., high-resolution displays, small monitors, etc. (for rel="preload"). + Value hint: Comma-separated list of image candidate strings + + integrity: + Integrity metadata used in Subresource Integrity checks [SRI] + + media: + Applicable media. + Value hint: Valid media query list + + referrerpolicy: + Referrer policy for fetches initiated by the element. + Value hint: Referrer policy + + rel: + Relationship between the document containing the hyperlink and the destination resource + + sizes: + Sizes of the icons (for rel="icon") + + title: + CSS style sheet set name + title: + Title of the link + + type: + Hint for the type of the referenced resource. + Value hint: Valid MIME type string + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "link", diff --git a/tools/generated/elements/main_element.py b/tools/generated/elements/main_element.py index 00baa5c..87706ef 100644 --- a/tools/generated/elements/main_element.py +++ b/tools/generated/elements/main_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'main' (Container for the dominant contents of the document) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "main", diff --git a/tools/generated/elements/map_element.py b/tools/generated/elements/map_element.py index 0138242..f9ce2fd 100644 --- a/tools/generated/elements/map_element.py +++ b/tools/generated/elements/map_element.py @@ -138,385 +138,384 @@ def __init__( Initialize 'map' (Image map) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `name` : - Name of image map to reference from the usemap attribute - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + name: + Name of image map to reference from the usemap attribute + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "map", diff --git a/tools/generated/elements/mark_element.py b/tools/generated/elements/mark_element.py index 545e0fd..8b712b0 100644 --- a/tools/generated/elements/mark_element.py +++ b/tools/generated/elements/mark_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'mark' (Highlight) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "mark", diff --git a/tools/generated/elements/menu_element.py b/tools/generated/elements/menu_element.py index dbdef43..b6b113e 100644 --- a/tools/generated/elements/menu_element.py +++ b/tools/generated/elements/menu_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'menu' (Menu of commands) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "menu", diff --git a/tools/generated/elements/meta_element.py b/tools/generated/elements/meta_element.py index 14729b5..d66cf34 100644 --- a/tools/generated/elements/meta_element.py +++ b/tools/generated/elements/meta_element.py @@ -142,398 +142,397 @@ def __init__( Initialize 'meta' (Text metadata) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `charset` : - Character encoding declaration - - `content` : - Value of the element - - `http_equiv` : - Pragma directive - - `media` : - Applicable media - Valid media query list - - `name` : - Metadata name - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + charset: + Character encoding declaration + + content: + Value of the element + + http_equiv: + Pragma directive + + media: + Applicable media. + Value hint: Valid media query list + + name: + Metadata name + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "meta", diff --git a/tools/generated/elements/meter_element.py b/tools/generated/elements/meter_element.py index d6f1481..0101a6b 100644 --- a/tools/generated/elements/meter_element.py +++ b/tools/generated/elements/meter_element.py @@ -143,400 +143,399 @@ def __init__( Initialize 'meter' (Gauge) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `high` : - Low limit of high range - - `low` : - High limit of low range - - `max` : - Upper bound of range - - `min` : - Lower bound of range - - `optimum` : - Optimum value in gauge - - `value` : - Current value of the element - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + high: + Low limit of high range + + low: + High limit of low range + + max: + Upper bound of range + + min: + Lower bound of range + + optimum: + Optimum value in gauge + + value: + Current value of the element + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "meter", diff --git a/tools/generated/elements/nav_element.py b/tools/generated/elements/nav_element.py index 88cd8c8..62aae1a 100644 --- a/tools/generated/elements/nav_element.py +++ b/tools/generated/elements/nav_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'nav' (Section with navigational links) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "nav", diff --git a/tools/generated/elements/noscript_element.py b/tools/generated/elements/noscript_element.py index 39eee81..b170845 100644 --- a/tools/generated/elements/noscript_element.py +++ b/tools/generated/elements/noscript_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'noscript' (Fallback content for script) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "noscript", diff --git a/tools/generated/elements/object_element.py b/tools/generated/elements/object_element.py index b19ecf6..d6c5a9b 100644 --- a/tools/generated/elements/object_element.py +++ b/tools/generated/elements/object_element.py @@ -143,404 +143,403 @@ def __init__( Initialize 'object' (Image, child navigable, or plugin) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `data` : - Address of the resource - Valid non-empty URL potentially surrounded by spaces - - `form` : - Associates the element with a form element - ID* - - `height` : - Vertical dimension - - `name` : - Name of content navigable - Valid navigable target name or keyword - - `type` : - Type of embedded resource - Valid MIME type string - - `width` : - Horizontal dimension - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + data: + Address of the resource. + Value hint: Valid non-empty URL potentially surrounded by spaces + + form: + Associates the element with a form element. + Value hint: ID* + + height: + Vertical dimension + + name: + Name of content navigable. + Value hint: Valid navigable target name or keyword + + type: + Type of embedded resource. + Value hint: Valid MIME type string + + width: + Horizontal dimension + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "object", diff --git a/tools/generated/elements/ol_element.py b/tools/generated/elements/ol_element.py index 7baa976..cef9d56 100644 --- a/tools/generated/elements/ol_element.py +++ b/tools/generated/elements/ol_element.py @@ -140,391 +140,390 @@ def __init__( Initialize 'ol' (Ordered list) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `reversed` : - Number the list backwards - - `start` : - Starting value of the list - - `type` : - Kind of list marker - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + reversed: + Number the list backwards + + start: + Starting value of the list + + type: + Kind of list marker + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "ol", diff --git a/tools/generated/elements/optgroup_element.py b/tools/generated/elements/optgroup_element.py index c0e5a9c..367445e 100644 --- a/tools/generated/elements/optgroup_element.py +++ b/tools/generated/elements/optgroup_element.py @@ -139,388 +139,387 @@ def __init__( Initialize 'optgroup' (Group of options in a list box) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `disabled` : - Whether the form control is disabled - - `label` : - User-visible label - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + disabled: + Whether the form control is disabled + + label: + User-visible label + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "optgroup", diff --git a/tools/generated/elements/option_element.py b/tools/generated/elements/option_element.py index bd941ac..90bb2c3 100644 --- a/tools/generated/elements/option_element.py +++ b/tools/generated/elements/option_element.py @@ -141,394 +141,393 @@ def __init__( Initialize 'option' (Option in a list box or combo box control) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `disabled` : - Whether the form control is disabled - - `label` : - User-visible label - - `selected` : - Whether the option is selected by default - - `value` : - Value to be used for form submission - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + disabled: + Whether the form control is disabled + + label: + User-visible label + + selected: + Whether the option is selected by default + + value: + Value to be used for form submission + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "option", diff --git a/tools/generated/elements/output_element.py b/tools/generated/elements/output_element.py index 0873830..1c1131c 100644 --- a/tools/generated/elements/output_element.py +++ b/tools/generated/elements/output_element.py @@ -140,392 +140,391 @@ def __init__( Initialize 'output' (Calculated output value) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `for_` : - Specifies controls from which the output was calculated - - `form` : - Associates the element with a form element - ID* - - `name` : - Name of the element to use for form submission and in the form.elements API - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + for_: + Specifies controls from which the output was calculated + + form: + Associates the element with a form element. + Value hint: ID* + + name: + Name of the element to use for form submission and in the form.elements API + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "output", diff --git a/tools/generated/elements/p_element.py b/tools/generated/elements/p_element.py index 7805bd2..746a1f1 100644 --- a/tools/generated/elements/p_element.py +++ b/tools/generated/elements/p_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'p' (Paragraph) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "p", diff --git a/tools/generated/elements/picture_element.py b/tools/generated/elements/picture_element.py index d661d32..c797fa8 100644 --- a/tools/generated/elements/picture_element.py +++ b/tools/generated/elements/picture_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'picture' (Image) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "picture", diff --git a/tools/generated/elements/pre_element.py b/tools/generated/elements/pre_element.py index 565e1ac..15cdc88 100644 --- a/tools/generated/elements/pre_element.py +++ b/tools/generated/elements/pre_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'pre' (Block of preformatted text) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "pre", diff --git a/tools/generated/elements/progress_element.py b/tools/generated/elements/progress_element.py index 893b6f9..8166d84 100644 --- a/tools/generated/elements/progress_element.py +++ b/tools/generated/elements/progress_element.py @@ -139,388 +139,387 @@ def __init__( Initialize 'progress' (Progress bar) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `max` : - Upper bound of range - - `value` : - Current value of the element - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + max: + Upper bound of range + + value: + Current value of the element + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "progress", diff --git a/tools/generated/elements/q_element.py b/tools/generated/elements/q_element.py index c4b25b4..5d96126 100644 --- a/tools/generated/elements/q_element.py +++ b/tools/generated/elements/q_element.py @@ -138,386 +138,385 @@ def __init__( Initialize 'q' (Quotation) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `cite` : - Link to the source of the quotation or more information about the edit - Valid URL potentially surrounded by spaces - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + cite: + Link to the source of the quotation or more information about the edit. + Value hint: Valid URL potentially surrounded by spaces + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "q", diff --git a/tools/generated/elements/rp_element.py b/tools/generated/elements/rp_element.py index 9fa194d..ea2bf99 100644 --- a/tools/generated/elements/rp_element.py +++ b/tools/generated/elements/rp_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'rp' (Parenthesis for ruby annotation text) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "rp", diff --git a/tools/generated/elements/rt_element.py b/tools/generated/elements/rt_element.py index 24ce11c..a70b015 100644 --- a/tools/generated/elements/rt_element.py +++ b/tools/generated/elements/rt_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'rt' (Ruby annotation text) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "rt", diff --git a/tools/generated/elements/ruby_element.py b/tools/generated/elements/ruby_element.py index c7a5b2a..854196c 100644 --- a/tools/generated/elements/ruby_element.py +++ b/tools/generated/elements/ruby_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'ruby' (Ruby annotation(s)) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "ruby", diff --git a/tools/generated/elements/s_element.py b/tools/generated/elements/s_element.py index ae37dfd..518aaca 100644 --- a/tools/generated/elements/s_element.py +++ b/tools/generated/elements/s_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 's' (Inaccurate text) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "s", diff --git a/tools/generated/elements/samp_element.py b/tools/generated/elements/samp_element.py index 808e195..b704da5 100644 --- a/tools/generated/elements/samp_element.py +++ b/tools/generated/elements/samp_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'samp' (Computer output) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "samp", diff --git a/tools/generated/elements/script_element.py b/tools/generated/elements/script_element.py index 0bfab1e..5a5b82e 100644 --- a/tools/generated/elements/script_element.py +++ b/tools/generated/elements/script_element.py @@ -147,415 +147,414 @@ def __init__( Initialize 'script' (Embedded script) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `async_` : - Execute script when available, without blocking while fetching - - `blocking` : - Whether the element is potentially render-blocking - - `crossorigin` : - How the element handles crossorigin requests - - `defer` : - Defer script execution - - `fetchpriority` : - Sets the priority for fetches initiated by the element - - `integrity` : - Integrity metadata used in Subresource Integrity checks [SRI] - - `nomodule` : - Prevents execution in user agents that support module scripts - - `referrerpolicy` : - Referrer policy for fetches initiated by the element - Referrer policy - - `src` : - Address of the resource - Valid non-empty URL potentially surrounded by spaces - - `type` : - Type of script - "module"; a valid MIME type string that is not a JavaScript MIME type essence match - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + async_: + Execute script when available, without blocking while fetching + + blocking: + Whether the element is potentially render-blocking + + crossorigin: + How the element handles crossorigin requests + + defer: + Defer script execution + + fetchpriority: + Sets the priority for fetches initiated by the element + + integrity: + Integrity metadata used in Subresource Integrity checks [SRI] + + nomodule: + Prevents execution in user agents that support module scripts + + referrerpolicy: + Referrer policy for fetches initiated by the element. + Value hint: Referrer policy + + src: + Address of the resource. + Value hint: Valid non-empty URL potentially surrounded by spaces + + type: + Type of script. + Value hint: "module"; a valid MIME type string that is not a JavaScript MIME type essence match + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "script", diff --git a/tools/generated/elements/search_element.py b/tools/generated/elements/search_element.py index 0a05282..8ec66df 100644 --- a/tools/generated/elements/search_element.py +++ b/tools/generated/elements/search_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'search' (Container for search controls) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "search", diff --git a/tools/generated/elements/section_element.py b/tools/generated/elements/section_element.py index 7e81285..47447e1 100644 --- a/tools/generated/elements/section_element.py +++ b/tools/generated/elements/section_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'section' (Generic document or application section) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "section", diff --git a/tools/generated/elements/select_element.py b/tools/generated/elements/select_element.py index 88d3018..c74da50 100644 --- a/tools/generated/elements/select_element.py +++ b/tools/generated/elements/select_element.py @@ -144,406 +144,405 @@ def __init__( Initialize 'select' (List box control) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `autocomplete` : - Hint for form autofill feature - Autofill field name and related tokens* - - `disabled` : - Whether the form control is disabled - - `form` : - Associates the element with a form element - ID* - - `multiple` : - Whether to allow multiple values - - `name` : - Name of the element to use for form submission and in the form.elements API - - `required` : - Whether the control is required for form submission - - `size` : - Size of the control - Valid non-negative integer greater than zero - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + autocomplete: + Hint for form autofill feature. + Value hint: Autofill field name and related tokens* + + disabled: + Whether the form control is disabled + + form: + Associates the element with a form element. + Value hint: ID* + + multiple: + Whether to allow multiple values + + name: + Name of the element to use for form submission and in the form.elements API + + required: + Whether the control is required for form submission + + size: + Size of the control. + Value hint: Valid non-negative integer greater than zero + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "select", diff --git a/tools/generated/elements/slot_element.py b/tools/generated/elements/slot_element.py index 654fd07..ff5dead 100644 --- a/tools/generated/elements/slot_element.py +++ b/tools/generated/elements/slot_element.py @@ -138,385 +138,384 @@ def __init__( Initialize 'slot' (Shadow tree slot) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `name` : - Name of shadow tree slot - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + name: + Name of shadow tree slot + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "slot", diff --git a/tools/generated/elements/small_element.py b/tools/generated/elements/small_element.py index 4fa1470..e7f5b23 100644 --- a/tools/generated/elements/small_element.py +++ b/tools/generated/elements/small_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'small' (Side comment) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "small", diff --git a/tools/generated/elements/source_element.py b/tools/generated/elements/source_element.py index e5d1370..cffc785 100644 --- a/tools/generated/elements/source_element.py +++ b/tools/generated/elements/source_element.py @@ -144,408 +144,407 @@ def __init__( Initialize 'source' (Image source for img or media source for video or audio) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `height` : - Vertical dimension - - `media` : - Applicable media - Valid media query list - - `sizes` : - Image sizes for different page layouts - Valid source size list - - `src` : - Address of the resource - Valid non-empty URL potentially surrounded by spaces - - `srcset` : - Images to use in different situations, e.g., high-resolution displays, small monitors, etc. - Comma-separated list of image candidate strings - - `type` : - Type of embedded resource - Valid MIME type string - - `width` : - Horizontal dimension - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + height: + Vertical dimension + + media: + Applicable media. + Value hint: Valid media query list + + sizes: + Image sizes for different page layouts. + Value hint: Valid source size list + + src: + Address of the resource. + Value hint: Valid non-empty URL potentially surrounded by spaces + + srcset: + Images to use in different situations, e.g., high-resolution displays, small monitors, etc.. + Value hint: Comma-separated list of image candidate strings + + type: + Type of embedded resource. + Value hint: Valid MIME type string + + width: + Horizontal dimension + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "source", diff --git a/tools/generated/elements/span_element.py b/tools/generated/elements/span_element.py index e5c50fa..1058282 100644 --- a/tools/generated/elements/span_element.py +++ b/tools/generated/elements/span_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'span' (Generic phrasing container) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "span", diff --git a/tools/generated/elements/strong_element.py b/tools/generated/elements/strong_element.py index b6dfd06..7a8f840 100644 --- a/tools/generated/elements/strong_element.py +++ b/tools/generated/elements/strong_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'strong' (Importance) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "strong", diff --git a/tools/generated/elements/style_element.py b/tools/generated/elements/style_element.py index 3dc4ccb..3a4a8d2 100644 --- a/tools/generated/elements/style_element.py +++ b/tools/generated/elements/style_element.py @@ -139,389 +139,388 @@ def __init__( Initialize 'style' (Embedded styling information) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `blocking` : - Whether the element is potentially render-blocking - - `media` : - Applicable media - Valid media query list - - `title` : - CSS style sheet set name - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + blocking: + Whether the element is potentially render-blocking + + media: + Applicable media. + Value hint: Valid media query list + + title: + CSS style sheet set name + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "style", diff --git a/tools/generated/elements/sub_element.py b/tools/generated/elements/sub_element.py index 1e2c516..2d39cab 100644 --- a/tools/generated/elements/sub_element.py +++ b/tools/generated/elements/sub_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'sub' (Subscript) element. Documentation: None - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "sub", diff --git a/tools/generated/elements/summary_element.py b/tools/generated/elements/summary_element.py index 6677b5a..1063812 100644 --- a/tools/generated/elements/summary_element.py +++ b/tools/generated/elements/summary_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'summary' (Caption for details) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "summary", diff --git a/tools/generated/elements/sup_element.py b/tools/generated/elements/sup_element.py index f7908a5..d64ea4b 100644 --- a/tools/generated/elements/sup_element.py +++ b/tools/generated/elements/sup_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'sup' (Superscript) element. Documentation: None - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "sup", diff --git a/tools/generated/elements/svg_element.py b/tools/generated/elements/svg_element.py index 47c23fa..877bee8 100644 --- a/tools/generated/elements/svg_element.py +++ b/tools/generated/elements/svg_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'svg' (SVG root) element. Documentation: None - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "svg", diff --git a/tools/generated/elements/table_element.py b/tools/generated/elements/table_element.py index be6e0ed..4c39e11 100644 --- a/tools/generated/elements/table_element.py +++ b/tools/generated/elements/table_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'table' (Table) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "table", diff --git a/tools/generated/elements/tbody_element.py b/tools/generated/elements/tbody_element.py index 4f49cc6..cbf351a 100644 --- a/tools/generated/elements/tbody_element.py +++ b/tools/generated/elements/tbody_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'tbody' (Group of rows in a table) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "tbody", diff --git a/tools/generated/elements/td_element.py b/tools/generated/elements/td_element.py index bbd6b6a..2741484 100644 --- a/tools/generated/elements/td_element.py +++ b/tools/generated/elements/td_element.py @@ -140,392 +140,391 @@ def __init__( Initialize 'td' (Table cell) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `colspan` : - Number of columns that the cell is to span - Valid non-negative integer greater than zero - - `headers` : - The header cells for this cell - - `rowspan` : - Number of rows that the cell is to span - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + colspan: + Number of columns that the cell is to span. + Value hint: Valid non-negative integer greater than zero + + headers: + The header cells for this cell + + rowspan: + Number of rows that the cell is to span + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "td", diff --git a/tools/generated/elements/template_element.py b/tools/generated/elements/template_element.py index b37f355..1484a20 100644 --- a/tools/generated/elements/template_element.py +++ b/tools/generated/elements/template_element.py @@ -141,394 +141,393 @@ def __init__( Initialize 'template' (Template) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `shadowrootclonable` : - Sets clonable on a declarative shadow root - - `shadowrootdelegatesfocus` : - Sets delegates focus on a declarative shadow root - - `shadowrootmode` : - Enables streaming declarative shadow roots - - `shadowrootserializable` : - Sets serializable on a declarative shadow root - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + shadowrootclonable: + Sets clonable on a declarative shadow root + + shadowrootdelegatesfocus: + Sets delegates focus on a declarative shadow root + + shadowrootmode: + Enables streaming declarative shadow roots + + shadowrootserializable: + Sets serializable on a declarative shadow root + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "template", diff --git a/tools/generated/elements/textarea_element.py b/tools/generated/elements/textarea_element.py index 177654d..73e182c 100644 --- a/tools/generated/elements/textarea_element.py +++ b/tools/generated/elements/textarea_element.py @@ -150,425 +150,424 @@ def __init__( Initialize 'textarea' (Multiline text controls) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `autocomplete` : - Hint for form autofill feature - Autofill field name and related tokens* - - `cols` : - Maximum number of characters per line - Valid non-negative integer greater than zero - - `dirname` : - Name of form control to use for sending the element's directionality in form submission - - `disabled` : - Whether the form control is disabled - - `form` : - Associates the element with a form element - ID* - - `maxlength` : - Maximum length of value - - `minlength` : - Minimum length of value - - `name` : - Name of the element to use for form submission and in the form.elements API - - `placeholder` : - User-visible label to be placed within the form control - - `readonly` : - Whether to allow the value to be edited by the user - - `required` : - Whether the control is required for form submission - - `rows` : - Number of lines to show - Valid non-negative integer greater than zero - - `wrap` : - How the value of the form control is to be wrapped for form submission - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + autocomplete: + Hint for form autofill feature. + Value hint: Autofill field name and related tokens* + + cols: + Maximum number of characters per line. + Value hint: Valid non-negative integer greater than zero + + dirname: + Name of form control to use for sending the element's directionality in form submission + + disabled: + Whether the form control is disabled + + form: + Associates the element with a form element. + Value hint: ID* + + maxlength: + Maximum length of value + + minlength: + Minimum length of value + + name: + Name of the element to use for form submission and in the form.elements API + + placeholder: + User-visible label to be placed within the form control + + readonly: + Whether to allow the value to be edited by the user + + required: + Whether the control is required for form submission + + rows: + Number of lines to show. + Value hint: Valid non-negative integer greater than zero + + wrap: + How the value of the form control is to be wrapped for form submission + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "textarea", diff --git a/tools/generated/elements/tfoot_element.py b/tools/generated/elements/tfoot_element.py index c5bc318..ce15014 100644 --- a/tools/generated/elements/tfoot_element.py +++ b/tools/generated/elements/tfoot_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'tfoot' (Group of footer rows in a table) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "tfoot", diff --git a/tools/generated/elements/th_element.py b/tools/generated/elements/th_element.py index f4f2be2..1daf0a5 100644 --- a/tools/generated/elements/th_element.py +++ b/tools/generated/elements/th_element.py @@ -142,398 +142,397 @@ def __init__( Initialize 'th' (Table header cell) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `abbr` : - Alternative label to use for the header cell when referencing the cell in other contexts - - `colspan` : - Number of columns that the cell is to span - Valid non-negative integer greater than zero - - `headers` : - The header cells for this cell - - `rowspan` : - Number of rows that the cell is to span - - `scope` : - Specifies which cells the header cell applies to - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + abbr: + Alternative label to use for the header cell when referencing the cell in other contexts + + colspan: + Number of columns that the cell is to span. + Value hint: Valid non-negative integer greater than zero + + headers: + The header cells for this cell + + rowspan: + Number of rows that the cell is to span + + scope: + Specifies which cells the header cell applies to + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "th", diff --git a/tools/generated/elements/thead_element.py b/tools/generated/elements/thead_element.py index 72bf857..ba28fb0 100644 --- a/tools/generated/elements/thead_element.py +++ b/tools/generated/elements/thead_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'thead' (Group of heading rows in a table) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "thead", diff --git a/tools/generated/elements/time_element.py b/tools/generated/elements/time_element.py index f32f63c..971a04b 100644 --- a/tools/generated/elements/time_element.py +++ b/tools/generated/elements/time_element.py @@ -138,386 +138,385 @@ def __init__( Initialize 'time' (Machine-readable equivalent of date- or time-related data) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `datetime` : - Machine-readable value - Valid month string, valid date string, valid yearless date string, valid time string, valid local date and time string, valid time-zone offset string, valid global date and time string, valid week string, valid non-negative integer, or valid duration string - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + datetime: + Machine-readable value. + Value hint: Valid month string, valid date string, valid yearless date string, valid time string, valid local date and time string, valid time-zone offset string, valid global date and time string, valid week string, valid non-negative integer, or valid duration string + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "time", diff --git a/tools/generated/elements/title_element.py b/tools/generated/elements/title_element.py index 3efd3e8..8c93556 100644 --- a/tools/generated/elements/title_element.py +++ b/tools/generated/elements/title_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'title' (Document title) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "title", diff --git a/tools/generated/elements/tr_element.py b/tools/generated/elements/tr_element.py index e3d378d..df9f95b 100644 --- a/tools/generated/elements/tr_element.py +++ b/tools/generated/elements/tr_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'tr' (Table row) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "tr", diff --git a/tools/generated/elements/track_element.py b/tools/generated/elements/track_element.py index 0a202e4..3a32cf9 100644 --- a/tools/generated/elements/track_element.py +++ b/tools/generated/elements/track_element.py @@ -142,399 +142,398 @@ def __init__( Initialize 'track' (Timed text track) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `default` : - Enable the track if no other text track is more suitable - - `kind` : - The type of text track - - `label` : - User-visible label - - `src` : - Address of the resource - Valid non-empty URL potentially surrounded by spaces - - `srclang` : - Language of the text track - Valid BCP 47 language tag - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + default: + Enable the track if no other text track is more suitable + + kind: + The type of text track + + label: + User-visible label + + src: + Address of the resource. + Value hint: Valid non-empty URL potentially surrounded by spaces + + srclang: + Language of the text track. + Value hint: Valid BCP 47 language tag + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "track", diff --git a/tools/generated/elements/u_element.py b/tools/generated/elements/u_element.py index 7d04093..52869e3 100644 --- a/tools/generated/elements/u_element.py +++ b/tools/generated/elements/u_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'u' (Unarticulated annotation) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "u", diff --git a/tools/generated/elements/ul_element.py b/tools/generated/elements/ul_element.py index 781c5ae..0a7085b 100644 --- a/tools/generated/elements/ul_element.py +++ b/tools/generated/elements/ul_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'ul' (List) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "ul", diff --git a/tools/generated/elements/var_element.py b/tools/generated/elements/var_element.py index 1a475b2..2a4151c 100644 --- a/tools/generated/elements/var_element.py +++ b/tools/generated/elements/var_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'var' (Variable) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "var", diff --git a/tools/generated/elements/video_element.py b/tools/generated/elements/video_element.py index ebb1c7f..331912d 100644 --- a/tools/generated/elements/video_element.py +++ b/tools/generated/elements/video_element.py @@ -148,417 +148,416 @@ def __init__( Initialize 'video' (Video player) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `autoplay` : - Hint that the media resource can be started automatically when the page is loaded - - `controls` : - Show user agent controls - - `crossorigin` : - How the element handles crossorigin requests - - `height` : - Vertical dimension - - `loop` : - Whether to loop the media resource - - `muted` : - Whether to mute the media resource by default - - `playsinline` : - Encourage the user agent to display video content within the element's playback area - - `poster` : - Poster frame to show prior to video playback - Valid non-empty URL potentially surrounded by spaces - - `preload` : - Hints how much buffering the media resource will likely need - - `src` : - Address of the resource - Valid non-empty URL potentially surrounded by spaces - - `width` : - Horizontal dimension - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + autoplay: + Hint that the media resource can be started automatically when the page is loaded + + controls: + Show user agent controls + + crossorigin: + How the element handles crossorigin requests + + height: + Vertical dimension + + loop: + Whether to loop the media resource + + muted: + Whether to mute the media resource by default + + playsinline: + Encourage the user agent to display video content within the element's playback area + + poster: + Poster frame to show prior to video playback. + Value hint: Valid non-empty URL potentially surrounded by spaces + + preload: + Hints how much buffering the media resource will likely need + + src: + Address of the resource. + Value hint: Valid non-empty URL potentially surrounded by spaces + + width: + Horizontal dimension + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "video", diff --git a/tools/generated/elements/wbr_element.py b/tools/generated/elements/wbr_element.py index 85f8503..4bb0ced 100644 --- a/tools/generated/elements/wbr_element.py +++ b/tools/generated/elements/wbr_element.py @@ -137,382 +137,381 @@ def __init__( Initialize 'wbr' (Line breaking opportunity) element. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr - Parameters - ---------- - `attrs`: - A list or dictionary of attributes for the element - - `id` : - The element's ID - - `class_` : - Classes to which the element belongs - - `accesskey` : - Keyboard shortcut to activate or focus element - - `autocapitalize` : - Recommended autocapitalization behavior (for supported input methods) - - `autocorrect` : - Recommended autocorrection behavior (for supported input methods) - - `autofocus` : - Automatically focus the element when the page is loaded - - `contenteditable` : - Whether the element is editable - - `dir` : - The text directionality of the element - - `draggable` : - Whether the element is draggable - - `enterkeyhint` : - Hint for selecting an enter key action - - `hidden` : - Whether the element is relevant - - `inert` : - Whether the element is inert. - - `inputmode` : - Hint for selecting an input modality - - `is_` : - Creates a customized built-in element - Valid custom element name of a defined customized built-in element - - `itemid` : - Global identifier for a microdata item - Valid URL potentially surrounded by spaces - - `itemprop` : - Property names of a microdata item - - `itemref` : - Referenced elements - - `itemscope` : - Introduces a microdata item - - `itemtype` : - Item types of a microdata item - - `lang` : - Language of the element - Valid BCP 47 language tag or the empty string - - `nonce` : - Cryptographic nonce used in Content Security Policy checks [CSP] - - `onauxclick` : - auxclick event handler - Event handler content attribute - - `onbeforeinput` : - beforeinput event handler - Event handler content attribute - - `onbeforematch` : - beforematch event handler - Event handler content attribute - - `onbeforetoggle` : - beforetoggle event handler - Event handler content attribute - - `onblur` : - blur event handler - Event handler content attribute - - `oncancel` : - cancel event handler - Event handler content attribute - - `oncanplay` : - canplay event handler - Event handler content attribute - - `oncanplaythrough` : - canplaythrough event handler - Event handler content attribute - - `onchange` : - change event handler - Event handler content attribute - - `onclick` : - click event handler - Event handler content attribute - - `onclose` : - close event handler - Event handler content attribute - - `oncontextlost` : - contextlost event handler - Event handler content attribute - - `oncontextmenu` : - contextmenu event handler - Event handler content attribute - - `oncontextrestored` : - contextrestored event handler - Event handler content attribute - - `oncopy` : - copy event handler - Event handler content attribute - - `oncuechange` : - cuechange event handler - Event handler content attribute - - `oncut` : - cut event handler - Event handler content attribute - - `ondblclick` : - dblclick event handler - Event handler content attribute - - `ondrag` : - drag event handler - Event handler content attribute - - `ondragend` : - dragend event handler - Event handler content attribute - - `ondragenter` : - dragenter event handler - Event handler content attribute - - `ondragleave` : - dragleave event handler - Event handler content attribute - - `ondragover` : - dragover event handler - Event handler content attribute - - `ondragstart` : - dragstart event handler - Event handler content attribute - - `ondrop` : - drop event handler - Event handler content attribute - - `ondurationchange` : - durationchange event handler - Event handler content attribute - - `onemptied` : - emptied event handler - Event handler content attribute - - `onended` : - ended event handler - Event handler content attribute - - `onerror` : - error event handler - Event handler content attribute - - `onfocus` : - focus event handler - Event handler content attribute - - `onformdata` : - formdata event handler - Event handler content attribute - - `oninput` : - input event handler - Event handler content attribute - - `oninvalid` : - invalid event handler - Event handler content attribute - - `onkeydown` : - keydown event handler - Event handler content attribute - - `onkeypress` : - keypress event handler - Event handler content attribute - - `onkeyup` : - keyup event handler - Event handler content attribute - - `onload` : - load event handler - Event handler content attribute - - `onloadeddata` : - loadeddata event handler - Event handler content attribute - - `onloadedmetadata` : - loadedmetadata event handler - Event handler content attribute - - `onloadstart` : - loadstart event handler - Event handler content attribute - - `onmousedown` : - mousedown event handler - Event handler content attribute - - `onmouseenter` : - mouseenter event handler - Event handler content attribute - - `onmouseleave` : - mouseleave event handler - Event handler content attribute - - `onmousemove` : - mousemove event handler - Event handler content attribute - - `onmouseout` : - mouseout event handler - Event handler content attribute - - `onmouseover` : - mouseover event handler - Event handler content attribute - - `onmouseup` : - mouseup event handler - Event handler content attribute - - `onpaste` : - paste event handler - Event handler content attribute - - `onpause` : - pause event handler - Event handler content attribute - - `onplay` : - play event handler - Event handler content attribute - - `onplaying` : - playing event handler - Event handler content attribute - - `onprogress` : - progress event handler - Event handler content attribute - - `onratechange` : - ratechange event handler - Event handler content attribute - - `onreset` : - reset event handler - Event handler content attribute - - `onresize` : - resize event handler - Event handler content attribute - - `onscroll` : - scroll event handler - Event handler content attribute - - `onscrollend` : - scrollend event handler - Event handler content attribute - - `onsecuritypolicyviolation` : - securitypolicyviolation event handler - Event handler content attribute - - `onseeked` : - seeked event handler - Event handler content attribute - - `onseeking` : - seeking event handler - Event handler content attribute - - `onselect` : - select event handler - Event handler content attribute - - `onslotchange` : - slotchange event handler - Event handler content attribute - - `onstalled` : - stalled event handler - Event handler content attribute - - `onsubmit` : - submit event handler - Event handler content attribute - - `onsuspend` : - suspend event handler - Event handler content attribute - - `ontimeupdate` : - timeupdate event handler - Event handler content attribute - - `ontoggle` : - toggle event handler - Event handler content attribute - - `onvolumechange` : - volumechange event handler - Event handler content attribute - - `onwaiting` : - waiting event handler - Event handler content attribute - - `onwheel` : - wheel event handler - Event handler content attribute - - `popover` : - Makes the element a popover element - - `slot` : - The element's desired slot - - `spellcheck` : - Whether the element is to have its spelling and grammar checked - - `style` : - Presentational and formatting instructions - CSS declarations* - - `tabindex` : - Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - - `title` : - Advisory information for the element - - `translate` : - Whether the element is to be translated when the page is localized - - `writingsuggestions` : - Whether the element can offer writing suggestions or not. - + Args: + attrs: + A list or dictionary of attributes for the element + + id: + The element's ID + + class_: + Classes to which the element belongs + + accesskey: + Keyboard shortcut to activate or focus element + + autocapitalize: + Recommended autocapitalization behavior (for supported input methods) + + autocorrect: + Recommended autocorrection behavior (for supported input methods) + + autofocus: + Automatically focus the element when the page is loaded + + contenteditable: + Whether the element is editable + + dir: + The text directionality of the element + + draggable: + Whether the element is draggable + + enterkeyhint: + Hint for selecting an enter key action + + hidden: + Whether the element is relevant + + inert: + Whether the element is inert. + + inputmode: + Hint for selecting an input modality + + is_: + Creates a customized built-in element. + Value hint: Valid custom element name of a defined customized built-in element + + itemid: + Global identifier for a microdata item. + Value hint: Valid URL potentially surrounded by spaces + + itemprop: + Property names of a microdata item + + itemref: + Referenced elements + + itemscope: + Introduces a microdata item + + itemtype: + Item types of a microdata item + + lang: + Language of the element. + Value hint: Valid BCP 47 language tag or the empty string + + nonce: + Cryptographic nonce used in Content Security Policy checks [CSP] + + onauxclick: + auxclick event handler. + Value hint: Event handler content attribute + + onbeforeinput: + beforeinput event handler. + Value hint: Event handler content attribute + + onbeforematch: + beforematch event handler. + Value hint: Event handler content attribute + + onbeforetoggle: + beforetoggle event handler. + Value hint: Event handler content attribute + + onblur: + blur event handler. + Value hint: Event handler content attribute + + oncancel: + cancel event handler. + Value hint: Event handler content attribute + + oncanplay: + canplay event handler. + Value hint: Event handler content attribute + + oncanplaythrough: + canplaythrough event handler. + Value hint: Event handler content attribute + + onchange: + change event handler. + Value hint: Event handler content attribute + + onclick: + click event handler. + Value hint: Event handler content attribute + + onclose: + close event handler. + Value hint: Event handler content attribute + + oncontextlost: + contextlost event handler. + Value hint: Event handler content attribute + + oncontextmenu: + contextmenu event handler. + Value hint: Event handler content attribute + + oncontextrestored: + contextrestored event handler. + Value hint: Event handler content attribute + + oncopy: + copy event handler. + Value hint: Event handler content attribute + + oncuechange: + cuechange event handler. + Value hint: Event handler content attribute + + oncut: + cut event handler. + Value hint: Event handler content attribute + + ondblclick: + dblclick event handler. + Value hint: Event handler content attribute + + ondrag: + drag event handler. + Value hint: Event handler content attribute + + ondragend: + dragend event handler. + Value hint: Event handler content attribute + + ondragenter: + dragenter event handler. + Value hint: Event handler content attribute + + ondragleave: + dragleave event handler. + Value hint: Event handler content attribute + + ondragover: + dragover event handler. + Value hint: Event handler content attribute + + ondragstart: + dragstart event handler. + Value hint: Event handler content attribute + + ondrop: + drop event handler. + Value hint: Event handler content attribute + + ondurationchange: + durationchange event handler. + Value hint: Event handler content attribute + + onemptied: + emptied event handler. + Value hint: Event handler content attribute + + onended: + ended event handler. + Value hint: Event handler content attribute + + onerror: + error event handler. + Value hint: Event handler content attribute + + onfocus: + focus event handler. + Value hint: Event handler content attribute + + onformdata: + formdata event handler. + Value hint: Event handler content attribute + + oninput: + input event handler. + Value hint: Event handler content attribute + + oninvalid: + invalid event handler. + Value hint: Event handler content attribute + + onkeydown: + keydown event handler. + Value hint: Event handler content attribute + + onkeypress: + keypress event handler. + Value hint: Event handler content attribute + + onkeyup: + keyup event handler. + Value hint: Event handler content attribute + + onload: + load event handler. + Value hint: Event handler content attribute + + onloadeddata: + loadeddata event handler. + Value hint: Event handler content attribute + + onloadedmetadata: + loadedmetadata event handler. + Value hint: Event handler content attribute + + onloadstart: + loadstart event handler. + Value hint: Event handler content attribute + + onmousedown: + mousedown event handler. + Value hint: Event handler content attribute + + onmouseenter: + mouseenter event handler. + Value hint: Event handler content attribute + + onmouseleave: + mouseleave event handler. + Value hint: Event handler content attribute + + onmousemove: + mousemove event handler. + Value hint: Event handler content attribute + + onmouseout: + mouseout event handler. + Value hint: Event handler content attribute + + onmouseover: + mouseover event handler. + Value hint: Event handler content attribute + + onmouseup: + mouseup event handler. + Value hint: Event handler content attribute + + onpaste: + paste event handler. + Value hint: Event handler content attribute + + onpause: + pause event handler. + Value hint: Event handler content attribute + + onplay: + play event handler. + Value hint: Event handler content attribute + + onplaying: + playing event handler. + Value hint: Event handler content attribute + + onprogress: + progress event handler. + Value hint: Event handler content attribute + + onratechange: + ratechange event handler. + Value hint: Event handler content attribute + + onreset: + reset event handler. + Value hint: Event handler content attribute + + onresize: + resize event handler. + Value hint: Event handler content attribute + + onscroll: + scroll event handler. + Value hint: Event handler content attribute + + onscrollend: + scrollend event handler. + Value hint: Event handler content attribute + + onsecuritypolicyviolation: + securitypolicyviolation event handler. + Value hint: Event handler content attribute + + onseeked: + seeked event handler. + Value hint: Event handler content attribute + + onseeking: + seeking event handler. + Value hint: Event handler content attribute + + onselect: + select event handler. + Value hint: Event handler content attribute + + onslotchange: + slotchange event handler. + Value hint: Event handler content attribute + + onstalled: + stalled event handler. + Value hint: Event handler content attribute + + onsubmit: + submit event handler. + Value hint: Event handler content attribute + + onsuspend: + suspend event handler. + Value hint: Event handler content attribute + + ontimeupdate: + timeupdate event handler. + Value hint: Event handler content attribute + + ontoggle: + toggle event handler. + Value hint: Event handler content attribute + + onvolumechange: + volumechange event handler. + Value hint: Event handler content attribute + + onwaiting: + waiting event handler. + Value hint: Event handler content attribute + + onwheel: + wheel event handler. + Value hint: Event handler content attribute + + popover: + Makes the element a popover element + + slot: + The element's desired slot + + spellcheck: + Whether the element is to have its spelling and grammar checked + + style: + Presentational and formatting instructions. + Value hint: CSS declarations* + + tabindex: + Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation + + title: + Advisory information for the element + + translate: + Whether the element is to be translated when the page is localized + + writingsuggestions: + Whether the element can offer writing suggestions or not. + """ #fmt: skip super().__init__( "wbr", diff --git a/tools/generated/embed_attrs.py b/tools/generated/embed_attrs.py index 3814f91..b80b62d 100644 --- a/tools/generated/embed_attrs.py +++ b/tools/generated/embed_attrs.py @@ -14,9 +14,14 @@ def height(value: int) -> BaseAttribute: "embed" attribute: height Vertical dimension - :param value: Valid non-negative integer - :return: An height attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An height attribute to be added to your element + + """ return BaseAttribute("height", value) @@ -28,9 +33,14 @@ def src(value) -> BaseAttribute: "embed" attribute: src Address of the resource - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) @@ -42,9 +52,14 @@ def type(value) -> BaseAttribute: "embed" attribute: type Type of embedded resource - :param value: Valid MIME type string - :return: An type attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid MIME type string + + Returns: + An type attribute to be added to your element + + """ return BaseAttribute("type", value) @@ -56,9 +71,14 @@ def width(value: int) -> BaseAttribute: "embed" attribute: width Horizontal dimension - :param value: Valid non-negative integer - :return: An width attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An width attribute to be added to your element + + """ return BaseAttribute("width", value) \ No newline at end of file diff --git a/tools/generated/fieldset_attrs.py b/tools/generated/fieldset_attrs.py index 1e3187a..a7bce0e 100644 --- a/tools/generated/fieldset_attrs.py +++ b/tools/generated/fieldset_attrs.py @@ -14,9 +14,14 @@ def disabled(value: bool) -> BaseAttribute: "fieldset" attribute: disabled Whether the descendant form controls, except any inside legend, are disabled - :param value: Boolean attribute - :return: An disabled attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An disabled attribute to be added to your element + + """ return BaseAttribute("disabled", value) @@ -28,9 +33,14 @@ def form(value) -> BaseAttribute: "fieldset" attribute: form Associates the element with a form element - :param value: ID* - :return: An form attribute to be added to your element - """ # fmt: skip + Args: + value: + ID* + + Returns: + An form attribute to be added to your element + + """ return BaseAttribute("form", value) @@ -42,9 +52,14 @@ def name(value: StrLike) -> BaseAttribute: "fieldset" attribute: name Name of the element to use for form submission and in the form.elements API - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) \ No newline at end of file diff --git a/tools/generated/form_attrs.py b/tools/generated/form_attrs.py index e77e0b8..5a145e8 100644 --- a/tools/generated/form_attrs.py +++ b/tools/generated/form_attrs.py @@ -14,9 +14,14 @@ def accept_charset(value) -> BaseAttribute: "form" attribute: accept-charset Character encodings to use for form submission - :param value: ASCII case-insensitive match for "UTF-8" - :return: An accept-charset attribute to be added to your element - """ # fmt: skip + Args: + value: + ASCII case-insensitive match for "UTF-8" + + Returns: + An accept-charset attribute to be added to your element + + """ return BaseAttribute("accept-charset", value) @@ -28,9 +33,14 @@ def action(value) -> BaseAttribute: "form" attribute: action URL to use for form submission - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An action attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An action attribute to be added to your element + + """ return BaseAttribute("action", value) @@ -42,9 +52,14 @@ def autocomplete(value: Literal['on', 'off']) -> BaseAttribute: "form" attribute: autocomplete Default setting for autofill feature for controls in the form - :param value: ['on', 'off'] - :return: An autocomplete attribute to be added to your element - """ # fmt: skip + Args: + value: + ['on', 'off'] + + Returns: + An autocomplete attribute to be added to your element + + """ return BaseAttribute("autocomplete", value) @@ -56,9 +71,14 @@ def enctype(value: Literal['application/x-www-form-urlencoded', 'multipart/form- "form" attribute: enctype Entry list encoding type to use for form submission - :param value: ['application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'] - :return: An enctype attribute to be added to your element - """ # fmt: skip + Args: + value: + ['application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'] + + Returns: + An enctype attribute to be added to your element + + """ return BaseAttribute("enctype", value) @@ -70,9 +90,14 @@ def method(value: Literal['GET', 'POST', 'dialog']) -> BaseAttribute: "form" attribute: method Variant to use for form submission - :param value: ['GET', 'POST', 'dialog'] - :return: An method attribute to be added to your element - """ # fmt: skip + Args: + value: + ['GET', 'POST', 'dialog'] + + Returns: + An method attribute to be added to your element + + """ return BaseAttribute("method", value) @@ -84,9 +109,14 @@ def name(value: StrLike) -> BaseAttribute: "form" attribute: name Name of form to use in the document.forms API - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) @@ -98,9 +128,14 @@ def novalidate(value: bool) -> BaseAttribute: "form" attribute: novalidate Bypass form control validation for form submission - :param value: Boolean attribute - :return: An novalidate attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An novalidate attribute to be added to your element + + """ return BaseAttribute("novalidate", value) @@ -112,9 +147,14 @@ def target(value) -> BaseAttribute: "form" attribute: target Navigable for form submission - :param value: Valid navigable target name or keyword - :return: An target attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid navigable target name or keyword + + Returns: + An target attribute to be added to your element + + """ return BaseAttribute("target", value) \ No newline at end of file diff --git a/tools/generated/global_attrs.py b/tools/generated/global_attrs.py index 72cabe6..7c52d16 100644 --- a/tools/generated/global_attrs.py +++ b/tools/generated/global_attrs.py @@ -14,9 +14,14 @@ def accesskey(value: Resolvable) -> BaseAttribute: "global" attribute: accesskey Keyboard shortcut to activate or focus element - :param value: Ordered set of unique space-separated tokens, none of which are identical to another, each consisting of one code point in length - :return: An accesskey attribute to be added to your element - """ # fmt: skip + Args: + value: + Ordered set of unique space-separated tokens, none of which are identical to another, each consisting of one code point in length + + Returns: + An accesskey attribute to be added to your element + + """ return BaseAttribute("accesskey", value) @@ -28,9 +33,14 @@ def autocapitalize(value: Literal['on', 'off', 'none', 'sentences', 'words', 'ch "global" attribute: autocapitalize Recommended autocapitalization behavior (for supported input methods) - :param value: ['on', 'off', 'none', 'sentences', 'words', 'characters'] - :return: An autocapitalize attribute to be added to your element - """ # fmt: skip + Args: + value: + ['on', 'off', 'none', 'sentences', 'words', 'characters'] + + Returns: + An autocapitalize attribute to be added to your element + + """ return BaseAttribute("autocapitalize", value) @@ -42,9 +52,14 @@ def autocorrect(value: Literal['on', 'off']) -> BaseAttribute: "global" attribute: autocorrect Recommended autocorrection behavior (for supported input methods) - :param value: ['on', 'off'] - :return: An autocorrect attribute to be added to your element - """ # fmt: skip + Args: + value: + ['on', 'off'] + + Returns: + An autocorrect attribute to be added to your element + + """ return BaseAttribute("autocorrect", value) @@ -56,9 +71,14 @@ def autofocus(value: bool) -> BaseAttribute: "global" attribute: autofocus Automatically focus the element when the page is loaded - :param value: Boolean attribute - :return: An autofocus attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An autofocus attribute to be added to your element + + """ return BaseAttribute("autofocus", value) @@ -70,9 +90,14 @@ def class_(value: StrLike | Iterable[StrLike]) -> BaseAttribute: "global" attribute: class Classes to which the element belongs - :param value: Set of space-separated tokens - :return: An class attribute to be added to your element - """ # fmt: skip + Args: + value: + Set of space-separated tokens + + Returns: + An class attribute to be added to your element + + """ return BaseAttribute("class", value) @@ -84,9 +109,14 @@ def contenteditable(value: Literal['true', 'plaintext-only', 'false']) -> BaseAt "global" attribute: contenteditable Whether the element is editable - :param value: ['true', 'plaintext-only', 'false'] - :return: An contenteditable attribute to be added to your element - """ # fmt: skip + Args: + value: + ['true', 'plaintext-only', 'false'] + + Returns: + An contenteditable attribute to be added to your element + + """ return BaseAttribute("contenteditable", value) @@ -98,9 +128,14 @@ def dir(value: Literal['ltr', 'rtl', 'auto']) -> BaseAttribute: "global" attribute: dir The text directionality of the element - :param value: ['ltr', 'rtl', 'auto'] - :return: An dir attribute to be added to your element - """ # fmt: skip + Args: + value: + ['ltr', 'rtl', 'auto'] + + Returns: + An dir attribute to be added to your element + + """ return BaseAttribute("dir", value) @@ -112,9 +147,14 @@ def draggable(value: Literal['true', 'false']) -> BaseAttribute: "global" attribute: draggable Whether the element is draggable - :param value: ['true', 'false'] - :return: An draggable attribute to be added to your element - """ # fmt: skip + Args: + value: + ['true', 'false'] + + Returns: + An draggable attribute to be added to your element + + """ return BaseAttribute("draggable", value) @@ -126,9 +166,14 @@ def enterkeyhint(value: Literal['enter', 'done', 'go', 'next', 'previous', 'sear "global" attribute: enterkeyhint Hint for selecting an enter key action - :param value: ['enter', 'done', 'go', 'next', 'previous', 'search', 'send'] - :return: An enterkeyhint attribute to be added to your element - """ # fmt: skip + Args: + value: + ['enter', 'done', 'go', 'next', 'previous', 'search', 'send'] + + Returns: + An enterkeyhint attribute to be added to your element + + """ return BaseAttribute("enterkeyhint", value) @@ -140,9 +185,14 @@ def hidden(value: Literal['until-found', 'hidden', '']) -> BaseAttribute: "global" attribute: hidden Whether the element is relevant - :param value: ['until-found', 'hidden', ''] - :return: An hidden attribute to be added to your element - """ # fmt: skip + Args: + value: + ['until-found', 'hidden', ''] + + Returns: + An hidden attribute to be added to your element + + """ return BaseAttribute("hidden", value) @@ -154,9 +204,14 @@ def id(value: StrLike) -> BaseAttribute: "global" attribute: id The element's ID - :param value: Text* - :return: An id attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An id attribute to be added to your element + + """ return BaseAttribute("id", value) @@ -168,9 +223,14 @@ def inert(value: bool) -> BaseAttribute: "global" attribute: inert Whether the element is inert. - :param value: Boolean attribute - :return: An inert attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An inert attribute to be added to your element + + """ return BaseAttribute("inert", value) @@ -182,9 +242,14 @@ def inputmode(value: Literal['none', 'text', 'tel', 'email', 'url', 'numeric', ' "global" attribute: inputmode Hint for selecting an input modality - :param value: ['none', 'text', 'tel', 'email', 'url', 'numeric', 'decimal', 'search'] - :return: An inputmode attribute to be added to your element - """ # fmt: skip + Args: + value: + ['none', 'text', 'tel', 'email', 'url', 'numeric', 'decimal', 'search'] + + Returns: + An inputmode attribute to be added to your element + + """ return BaseAttribute("inputmode", value) @@ -196,9 +261,14 @@ def is_(value) -> BaseAttribute: "global" attribute: is Creates a customized built-in element - :param value: Valid custom element name of a defined customized built-in element - :return: An is attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid custom element name of a defined customized built-in element + + Returns: + An is attribute to be added to your element + + """ return BaseAttribute("is", value) @@ -210,9 +280,14 @@ def itemid(value) -> BaseAttribute: "global" attribute: itemid Global identifier for a microdata item - :param value: Valid URL potentially surrounded by spaces - :return: An itemid attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid URL potentially surrounded by spaces + + Returns: + An itemid attribute to be added to your element + + """ return BaseAttribute("itemid", value) @@ -224,9 +299,14 @@ def itemprop(value: Resolvable) -> BaseAttribute: "global" attribute: itemprop Property names of a microdata item - :param value: Unordered set of unique space-separated tokens consisting of valid absolute URLs, defined property names, or text* - :return: An itemprop attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens consisting of valid absolute URLs, defined property names, or text* + + Returns: + An itemprop attribute to be added to your element + + """ return BaseAttribute("itemprop", value) @@ -238,9 +318,14 @@ def itemref(value: Resolvable) -> BaseAttribute: "global" attribute: itemref Referenced elements - :param value: Unordered set of unique space-separated tokens consisting of IDs* - :return: An itemref attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens consisting of IDs* + + Returns: + An itemref attribute to be added to your element + + """ return BaseAttribute("itemref", value) @@ -252,9 +337,14 @@ def itemscope(value: bool) -> BaseAttribute: "global" attribute: itemscope Introduces a microdata item - :param value: Boolean attribute - :return: An itemscope attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An itemscope attribute to be added to your element + + """ return BaseAttribute("itemscope", value) @@ -266,9 +356,14 @@ def itemtype(value: Resolvable) -> BaseAttribute: "global" attribute: itemtype Item types of a microdata item - :param value: Unordered set of unique space-separated tokens consisting of valid absolute URLs* - :return: An itemtype attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens consisting of valid absolute URLs* + + Returns: + An itemtype attribute to be added to your element + + """ return BaseAttribute("itemtype", value) @@ -280,9 +375,14 @@ def lang(value) -> BaseAttribute: "global" attribute: lang Language of the element - :param value: Valid BCP 47 language tag or the empty string - :return: An lang attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid BCP 47 language tag or the empty string + + Returns: + An lang attribute to be added to your element + + """ return BaseAttribute("lang", value) @@ -294,9 +394,14 @@ def nonce(value: StrLike) -> BaseAttribute: "global" attribute: nonce Cryptographic nonce used in Content Security Policy checks [CSP] - :param value: Text - :return: An nonce attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An nonce attribute to be added to your element + + """ return BaseAttribute("nonce", value) @@ -308,9 +413,14 @@ def popover(value: Literal['auto', 'manual']) -> BaseAttribute: "global" attribute: popover Makes the element a popover element - :param value: ['auto', 'manual'] - :return: An popover attribute to be added to your element - """ # fmt: skip + Args: + value: + ['auto', 'manual'] + + Returns: + An popover attribute to be added to your element + + """ return BaseAttribute("popover", value) @@ -322,9 +432,14 @@ def slot(value: StrLike) -> BaseAttribute: "global" attribute: slot The element's desired slot - :param value: Text - :return: An slot attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An slot attribute to be added to your element + + """ return BaseAttribute("slot", value) @@ -336,9 +451,14 @@ def spellcheck(value: Literal['true', 'false', '']) -> BaseAttribute: "global" attribute: spellcheck Whether the element is to have its spelling and grammar checked - :param value: ['true', 'false', ''] - :return: An spellcheck attribute to be added to your element - """ # fmt: skip + Args: + value: + ['true', 'false', ''] + + Returns: + An spellcheck attribute to be added to your element + + """ return BaseAttribute("spellcheck", value) @@ -350,9 +470,14 @@ def style(value: Resolvable | Mapping[StrLike, StrLike]) -> BaseAttribute: "global" attribute: style Presentational and formatting instructions - :param value: CSS declarations* - :return: An style attribute to be added to your element - """ # fmt: skip + Args: + value: + CSS declarations* + + Returns: + An style attribute to be added to your element + + """ return BaseAttribute("style", value, delimiter='; ') @@ -364,9 +489,14 @@ def tabindex(value: int) -> BaseAttribute: "global" attribute: tabindex Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation - :param value: Valid integer - :return: An tabindex attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid integer + + Returns: + An tabindex attribute to be added to your element + + """ return BaseAttribute("tabindex", value) @@ -378,9 +508,14 @@ def title(value: StrLike) -> BaseAttribute: "global" attribute: title Advisory information for the element - :param value: Text - :return: An title attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An title attribute to be added to your element + + """ return BaseAttribute("title", value) @@ -392,9 +527,14 @@ def translate(value: Literal['yes', 'no']) -> BaseAttribute: "global" attribute: translate Whether the element is to be translated when the page is localized - :param value: ['yes', 'no'] - :return: An translate attribute to be added to your element - """ # fmt: skip + Args: + value: + ['yes', 'no'] + + Returns: + An translate attribute to be added to your element + + """ return BaseAttribute("translate", value) @@ -406,9 +546,14 @@ def writingsuggestions(value: Literal['true', 'false', '']) -> BaseAttribute: "global" attribute: writingsuggestions Whether the element can offer writing suggestions or not. - :param value: ['true', 'false', ''] - :return: An writingsuggestions attribute to be added to your element - """ # fmt: skip + Args: + value: + ['true', 'false', ''] + + Returns: + An writingsuggestions attribute to be added to your element + + """ return BaseAttribute("writingsuggestions", value) @@ -420,9 +565,14 @@ def onauxclick(value) -> BaseAttribute: "global" attribute: onauxclick auxclick event handler - :param value: Event handler content attribute - :return: An onauxclick attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onauxclick attribute to be added to your element + + """ return BaseAttribute("onauxclick", value) @@ -434,9 +584,14 @@ def onbeforeinput(value) -> BaseAttribute: "global" attribute: onbeforeinput beforeinput event handler - :param value: Event handler content attribute - :return: An onbeforeinput attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onbeforeinput attribute to be added to your element + + """ return BaseAttribute("onbeforeinput", value) @@ -448,9 +603,14 @@ def onbeforematch(value) -> BaseAttribute: "global" attribute: onbeforematch beforematch event handler - :param value: Event handler content attribute - :return: An onbeforematch attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onbeforematch attribute to be added to your element + + """ return BaseAttribute("onbeforematch", value) @@ -462,9 +622,14 @@ def onbeforetoggle(value) -> BaseAttribute: "global" attribute: onbeforetoggle beforetoggle event handler - :param value: Event handler content attribute - :return: An onbeforetoggle attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onbeforetoggle attribute to be added to your element + + """ return BaseAttribute("onbeforetoggle", value) @@ -476,9 +641,14 @@ def onblur(value) -> BaseAttribute: "global" attribute: onblur blur event handler - :param value: Event handler content attribute - :return: An onblur attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onblur attribute to be added to your element + + """ return BaseAttribute("onblur", value) @@ -490,9 +660,14 @@ def oncancel(value) -> BaseAttribute: "global" attribute: oncancel cancel event handler - :param value: Event handler content attribute - :return: An oncancel attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An oncancel attribute to be added to your element + + """ return BaseAttribute("oncancel", value) @@ -504,9 +679,14 @@ def oncanplay(value) -> BaseAttribute: "global" attribute: oncanplay canplay event handler - :param value: Event handler content attribute - :return: An oncanplay attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An oncanplay attribute to be added to your element + + """ return BaseAttribute("oncanplay", value) @@ -518,9 +698,14 @@ def oncanplaythrough(value) -> BaseAttribute: "global" attribute: oncanplaythrough canplaythrough event handler - :param value: Event handler content attribute - :return: An oncanplaythrough attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An oncanplaythrough attribute to be added to your element + + """ return BaseAttribute("oncanplaythrough", value) @@ -532,9 +717,14 @@ def onchange(value) -> BaseAttribute: "global" attribute: onchange change event handler - :param value: Event handler content attribute - :return: An onchange attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onchange attribute to be added to your element + + """ return BaseAttribute("onchange", value) @@ -546,9 +736,14 @@ def onclick(value) -> BaseAttribute: "global" attribute: onclick click event handler - :param value: Event handler content attribute - :return: An onclick attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onclick attribute to be added to your element + + """ return BaseAttribute("onclick", value) @@ -560,9 +755,14 @@ def onclose(value) -> BaseAttribute: "global" attribute: onclose close event handler - :param value: Event handler content attribute - :return: An onclose attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onclose attribute to be added to your element + + """ return BaseAttribute("onclose", value) @@ -574,9 +774,14 @@ def oncontextlost(value) -> BaseAttribute: "global" attribute: oncontextlost contextlost event handler - :param value: Event handler content attribute - :return: An oncontextlost attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An oncontextlost attribute to be added to your element + + """ return BaseAttribute("oncontextlost", value) @@ -588,9 +793,14 @@ def oncontextmenu(value) -> BaseAttribute: "global" attribute: oncontextmenu contextmenu event handler - :param value: Event handler content attribute - :return: An oncontextmenu attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An oncontextmenu attribute to be added to your element + + """ return BaseAttribute("oncontextmenu", value) @@ -602,9 +812,14 @@ def oncontextrestored(value) -> BaseAttribute: "global" attribute: oncontextrestored contextrestored event handler - :param value: Event handler content attribute - :return: An oncontextrestored attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An oncontextrestored attribute to be added to your element + + """ return BaseAttribute("oncontextrestored", value) @@ -616,9 +831,14 @@ def oncopy(value) -> BaseAttribute: "global" attribute: oncopy copy event handler - :param value: Event handler content attribute - :return: An oncopy attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An oncopy attribute to be added to your element + + """ return BaseAttribute("oncopy", value) @@ -630,9 +850,14 @@ def oncuechange(value) -> BaseAttribute: "global" attribute: oncuechange cuechange event handler - :param value: Event handler content attribute - :return: An oncuechange attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An oncuechange attribute to be added to your element + + """ return BaseAttribute("oncuechange", value) @@ -644,9 +869,14 @@ def oncut(value) -> BaseAttribute: "global" attribute: oncut cut event handler - :param value: Event handler content attribute - :return: An oncut attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An oncut attribute to be added to your element + + """ return BaseAttribute("oncut", value) @@ -658,9 +888,14 @@ def ondblclick(value) -> BaseAttribute: "global" attribute: ondblclick dblclick event handler - :param value: Event handler content attribute - :return: An ondblclick attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An ondblclick attribute to be added to your element + + """ return BaseAttribute("ondblclick", value) @@ -672,9 +907,14 @@ def ondrag(value) -> BaseAttribute: "global" attribute: ondrag drag event handler - :param value: Event handler content attribute - :return: An ondrag attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An ondrag attribute to be added to your element + + """ return BaseAttribute("ondrag", value) @@ -686,9 +926,14 @@ def ondragend(value) -> BaseAttribute: "global" attribute: ondragend dragend event handler - :param value: Event handler content attribute - :return: An ondragend attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An ondragend attribute to be added to your element + + """ return BaseAttribute("ondragend", value) @@ -700,9 +945,14 @@ def ondragenter(value) -> BaseAttribute: "global" attribute: ondragenter dragenter event handler - :param value: Event handler content attribute - :return: An ondragenter attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An ondragenter attribute to be added to your element + + """ return BaseAttribute("ondragenter", value) @@ -714,9 +964,14 @@ def ondragleave(value) -> BaseAttribute: "global" attribute: ondragleave dragleave event handler - :param value: Event handler content attribute - :return: An ondragleave attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An ondragleave attribute to be added to your element + + """ return BaseAttribute("ondragleave", value) @@ -728,9 +983,14 @@ def ondragover(value) -> BaseAttribute: "global" attribute: ondragover dragover event handler - :param value: Event handler content attribute - :return: An ondragover attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An ondragover attribute to be added to your element + + """ return BaseAttribute("ondragover", value) @@ -742,9 +1002,14 @@ def ondragstart(value) -> BaseAttribute: "global" attribute: ondragstart dragstart event handler - :param value: Event handler content attribute - :return: An ondragstart attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An ondragstart attribute to be added to your element + + """ return BaseAttribute("ondragstart", value) @@ -756,9 +1021,14 @@ def ondrop(value) -> BaseAttribute: "global" attribute: ondrop drop event handler - :param value: Event handler content attribute - :return: An ondrop attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An ondrop attribute to be added to your element + + """ return BaseAttribute("ondrop", value) @@ -770,9 +1040,14 @@ def ondurationchange(value) -> BaseAttribute: "global" attribute: ondurationchange durationchange event handler - :param value: Event handler content attribute - :return: An ondurationchange attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An ondurationchange attribute to be added to your element + + """ return BaseAttribute("ondurationchange", value) @@ -784,9 +1059,14 @@ def onemptied(value) -> BaseAttribute: "global" attribute: onemptied emptied event handler - :param value: Event handler content attribute - :return: An onemptied attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onemptied attribute to be added to your element + + """ return BaseAttribute("onemptied", value) @@ -798,9 +1078,14 @@ def onended(value) -> BaseAttribute: "global" attribute: onended ended event handler - :param value: Event handler content attribute - :return: An onended attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onended attribute to be added to your element + + """ return BaseAttribute("onended", value) @@ -812,9 +1097,14 @@ def onerror(value) -> BaseAttribute: "global" attribute: onerror error event handler - :param value: Event handler content attribute - :return: An onerror attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onerror attribute to be added to your element + + """ return BaseAttribute("onerror", value) @@ -826,9 +1116,14 @@ def onfocus(value) -> BaseAttribute: "global" attribute: onfocus focus event handler - :param value: Event handler content attribute - :return: An onfocus attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onfocus attribute to be added to your element + + """ return BaseAttribute("onfocus", value) @@ -840,9 +1135,14 @@ def onformdata(value) -> BaseAttribute: "global" attribute: onformdata formdata event handler - :param value: Event handler content attribute - :return: An onformdata attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onformdata attribute to be added to your element + + """ return BaseAttribute("onformdata", value) @@ -854,9 +1154,14 @@ def oninput(value) -> BaseAttribute: "global" attribute: oninput input event handler - :param value: Event handler content attribute - :return: An oninput attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An oninput attribute to be added to your element + + """ return BaseAttribute("oninput", value) @@ -868,9 +1173,14 @@ def oninvalid(value) -> BaseAttribute: "global" attribute: oninvalid invalid event handler - :param value: Event handler content attribute - :return: An oninvalid attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An oninvalid attribute to be added to your element + + """ return BaseAttribute("oninvalid", value) @@ -882,9 +1192,14 @@ def onkeydown(value) -> BaseAttribute: "global" attribute: onkeydown keydown event handler - :param value: Event handler content attribute - :return: An onkeydown attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onkeydown attribute to be added to your element + + """ return BaseAttribute("onkeydown", value) @@ -896,9 +1211,14 @@ def onkeypress(value) -> BaseAttribute: "global" attribute: onkeypress keypress event handler - :param value: Event handler content attribute - :return: An onkeypress attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onkeypress attribute to be added to your element + + """ return BaseAttribute("onkeypress", value) @@ -910,9 +1230,14 @@ def onkeyup(value) -> BaseAttribute: "global" attribute: onkeyup keyup event handler - :param value: Event handler content attribute - :return: An onkeyup attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onkeyup attribute to be added to your element + + """ return BaseAttribute("onkeyup", value) @@ -924,9 +1249,14 @@ def onload(value) -> BaseAttribute: "global" attribute: onload load event handler - :param value: Event handler content attribute - :return: An onload attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onload attribute to be added to your element + + """ return BaseAttribute("onload", value) @@ -938,9 +1268,14 @@ def onloadeddata(value) -> BaseAttribute: "global" attribute: onloadeddata loadeddata event handler - :param value: Event handler content attribute - :return: An onloadeddata attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onloadeddata attribute to be added to your element + + """ return BaseAttribute("onloadeddata", value) @@ -952,9 +1287,14 @@ def onloadedmetadata(value) -> BaseAttribute: "global" attribute: onloadedmetadata loadedmetadata event handler - :param value: Event handler content attribute - :return: An onloadedmetadata attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onloadedmetadata attribute to be added to your element + + """ return BaseAttribute("onloadedmetadata", value) @@ -966,9 +1306,14 @@ def onloadstart(value) -> BaseAttribute: "global" attribute: onloadstart loadstart event handler - :param value: Event handler content attribute - :return: An onloadstart attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onloadstart attribute to be added to your element + + """ return BaseAttribute("onloadstart", value) @@ -980,9 +1325,14 @@ def onmousedown(value) -> BaseAttribute: "global" attribute: onmousedown mousedown event handler - :param value: Event handler content attribute - :return: An onmousedown attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onmousedown attribute to be added to your element + + """ return BaseAttribute("onmousedown", value) @@ -994,9 +1344,14 @@ def onmouseenter(value) -> BaseAttribute: "global" attribute: onmouseenter mouseenter event handler - :param value: Event handler content attribute - :return: An onmouseenter attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onmouseenter attribute to be added to your element + + """ return BaseAttribute("onmouseenter", value) @@ -1008,9 +1363,14 @@ def onmouseleave(value) -> BaseAttribute: "global" attribute: onmouseleave mouseleave event handler - :param value: Event handler content attribute - :return: An onmouseleave attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onmouseleave attribute to be added to your element + + """ return BaseAttribute("onmouseleave", value) @@ -1022,9 +1382,14 @@ def onmousemove(value) -> BaseAttribute: "global" attribute: onmousemove mousemove event handler - :param value: Event handler content attribute - :return: An onmousemove attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onmousemove attribute to be added to your element + + """ return BaseAttribute("onmousemove", value) @@ -1036,9 +1401,14 @@ def onmouseout(value) -> BaseAttribute: "global" attribute: onmouseout mouseout event handler - :param value: Event handler content attribute - :return: An onmouseout attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onmouseout attribute to be added to your element + + """ return BaseAttribute("onmouseout", value) @@ -1050,9 +1420,14 @@ def onmouseover(value) -> BaseAttribute: "global" attribute: onmouseover mouseover event handler - :param value: Event handler content attribute - :return: An onmouseover attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onmouseover attribute to be added to your element + + """ return BaseAttribute("onmouseover", value) @@ -1064,9 +1439,14 @@ def onmouseup(value) -> BaseAttribute: "global" attribute: onmouseup mouseup event handler - :param value: Event handler content attribute - :return: An onmouseup attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onmouseup attribute to be added to your element + + """ return BaseAttribute("onmouseup", value) @@ -1078,9 +1458,14 @@ def onpaste(value) -> BaseAttribute: "global" attribute: onpaste paste event handler - :param value: Event handler content attribute - :return: An onpaste attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onpaste attribute to be added to your element + + """ return BaseAttribute("onpaste", value) @@ -1092,9 +1477,14 @@ def onpause(value) -> BaseAttribute: "global" attribute: onpause pause event handler - :param value: Event handler content attribute - :return: An onpause attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onpause attribute to be added to your element + + """ return BaseAttribute("onpause", value) @@ -1106,9 +1496,14 @@ def onplay(value) -> BaseAttribute: "global" attribute: onplay play event handler - :param value: Event handler content attribute - :return: An onplay attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onplay attribute to be added to your element + + """ return BaseAttribute("onplay", value) @@ -1120,9 +1515,14 @@ def onplaying(value) -> BaseAttribute: "global" attribute: onplaying playing event handler - :param value: Event handler content attribute - :return: An onplaying attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onplaying attribute to be added to your element + + """ return BaseAttribute("onplaying", value) @@ -1134,9 +1534,14 @@ def onprogress(value) -> BaseAttribute: "global" attribute: onprogress progress event handler - :param value: Event handler content attribute - :return: An onprogress attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onprogress attribute to be added to your element + + """ return BaseAttribute("onprogress", value) @@ -1148,9 +1553,14 @@ def onratechange(value) -> BaseAttribute: "global" attribute: onratechange ratechange event handler - :param value: Event handler content attribute - :return: An onratechange attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onratechange attribute to be added to your element + + """ return BaseAttribute("onratechange", value) @@ -1162,9 +1572,14 @@ def onreset(value) -> BaseAttribute: "global" attribute: onreset reset event handler - :param value: Event handler content attribute - :return: An onreset attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onreset attribute to be added to your element + + """ return BaseAttribute("onreset", value) @@ -1176,9 +1591,14 @@ def onresize(value) -> BaseAttribute: "global" attribute: onresize resize event handler - :param value: Event handler content attribute - :return: An onresize attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onresize attribute to be added to your element + + """ return BaseAttribute("onresize", value) @@ -1190,9 +1610,14 @@ def onscroll(value) -> BaseAttribute: "global" attribute: onscroll scroll event handler - :param value: Event handler content attribute - :return: An onscroll attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onscroll attribute to be added to your element + + """ return BaseAttribute("onscroll", value) @@ -1204,9 +1629,14 @@ def onscrollend(value) -> BaseAttribute: "global" attribute: onscrollend scrollend event handler - :param value: Event handler content attribute - :return: An onscrollend attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onscrollend attribute to be added to your element + + """ return BaseAttribute("onscrollend", value) @@ -1218,9 +1648,14 @@ def onsecuritypolicyviolation(value) -> BaseAttribute: "global" attribute: onsecuritypolicyviolation securitypolicyviolation event handler - :param value: Event handler content attribute - :return: An onsecuritypolicyviolation attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onsecuritypolicyviolation attribute to be added to your element + + """ return BaseAttribute("onsecuritypolicyviolation", value) @@ -1232,9 +1667,14 @@ def onseeked(value) -> BaseAttribute: "global" attribute: onseeked seeked event handler - :param value: Event handler content attribute - :return: An onseeked attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onseeked attribute to be added to your element + + """ return BaseAttribute("onseeked", value) @@ -1246,9 +1686,14 @@ def onseeking(value) -> BaseAttribute: "global" attribute: onseeking seeking event handler - :param value: Event handler content attribute - :return: An onseeking attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onseeking attribute to be added to your element + + """ return BaseAttribute("onseeking", value) @@ -1260,9 +1705,14 @@ def onselect(value) -> BaseAttribute: "global" attribute: onselect select event handler - :param value: Event handler content attribute - :return: An onselect attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onselect attribute to be added to your element + + """ return BaseAttribute("onselect", value) @@ -1274,9 +1724,14 @@ def onslotchange(value) -> BaseAttribute: "global" attribute: onslotchange slotchange event handler - :param value: Event handler content attribute - :return: An onslotchange attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onslotchange attribute to be added to your element + + """ return BaseAttribute("onslotchange", value) @@ -1288,9 +1743,14 @@ def onstalled(value) -> BaseAttribute: "global" attribute: onstalled stalled event handler - :param value: Event handler content attribute - :return: An onstalled attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onstalled attribute to be added to your element + + """ return BaseAttribute("onstalled", value) @@ -1302,9 +1762,14 @@ def onsubmit(value) -> BaseAttribute: "global" attribute: onsubmit submit event handler - :param value: Event handler content attribute - :return: An onsubmit attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onsubmit attribute to be added to your element + + """ return BaseAttribute("onsubmit", value) @@ -1316,9 +1781,14 @@ def onsuspend(value) -> BaseAttribute: "global" attribute: onsuspend suspend event handler - :param value: Event handler content attribute - :return: An onsuspend attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onsuspend attribute to be added to your element + + """ return BaseAttribute("onsuspend", value) @@ -1330,9 +1800,14 @@ def ontimeupdate(value) -> BaseAttribute: "global" attribute: ontimeupdate timeupdate event handler - :param value: Event handler content attribute - :return: An ontimeupdate attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An ontimeupdate attribute to be added to your element + + """ return BaseAttribute("ontimeupdate", value) @@ -1344,9 +1819,14 @@ def ontoggle(value) -> BaseAttribute: "global" attribute: ontoggle toggle event handler - :param value: Event handler content attribute - :return: An ontoggle attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An ontoggle attribute to be added to your element + + """ return BaseAttribute("ontoggle", value) @@ -1358,9 +1838,14 @@ def onvolumechange(value) -> BaseAttribute: "global" attribute: onvolumechange volumechange event handler - :param value: Event handler content attribute - :return: An onvolumechange attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onvolumechange attribute to be added to your element + + """ return BaseAttribute("onvolumechange", value) @@ -1372,9 +1857,14 @@ def onwaiting(value) -> BaseAttribute: "global" attribute: onwaiting waiting event handler - :param value: Event handler content attribute - :return: An onwaiting attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onwaiting attribute to be added to your element + + """ return BaseAttribute("onwaiting", value) @@ -1386,9 +1876,14 @@ def onwheel(value) -> BaseAttribute: "global" attribute: onwheel wheel event handler - :param value: Event handler content attribute - :return: An onwheel attribute to be added to your element - """ # fmt: skip + Args: + value: + Event handler content attribute + + Returns: + An onwheel attribute to be added to your element + + """ return BaseAttribute("onwheel", value) \ No newline at end of file diff --git a/tools/generated/iframe_attrs.py b/tools/generated/iframe_attrs.py index ea457fd..c0f6256 100644 --- a/tools/generated/iframe_attrs.py +++ b/tools/generated/iframe_attrs.py @@ -14,9 +14,14 @@ def allow(value) -> BaseAttribute: "iframe" attribute: allow Permissions policy to be applied to the iframe's contents - :param value: Serialized permissions policy - :return: An allow attribute to be added to your element - """ # fmt: skip + Args: + value: + Serialized permissions policy + + Returns: + An allow attribute to be added to your element + + """ return BaseAttribute("allow", value) @@ -28,9 +33,14 @@ def allowfullscreen(value: bool) -> BaseAttribute: "iframe" attribute: allowfullscreen Whether to allow the iframe's contents to use requestFullscreen() - :param value: Boolean attribute - :return: An allowfullscreen attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An allowfullscreen attribute to be added to your element + + """ return BaseAttribute("allowfullscreen", value) @@ -42,9 +52,14 @@ def height(value: int) -> BaseAttribute: "iframe" attribute: height Vertical dimension - :param value: Valid non-negative integer - :return: An height attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An height attribute to be added to your element + + """ return BaseAttribute("height", value) @@ -56,9 +71,14 @@ def loading(value: Literal['lazy', 'eager']) -> BaseAttribute: "iframe" attribute: loading Used when determining loading deferral - :param value: ['lazy', 'eager'] - :return: An loading attribute to be added to your element - """ # fmt: skip + Args: + value: + ['lazy', 'eager'] + + Returns: + An loading attribute to be added to your element + + """ return BaseAttribute("loading", value) @@ -70,9 +90,14 @@ def name(value) -> BaseAttribute: "iframe" attribute: name Name of content navigable - :param value: Valid navigable target name or keyword - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid navigable target name or keyword + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) @@ -84,9 +109,14 @@ def referrerpolicy(value) -> BaseAttribute: "iframe" attribute: referrerpolicy Referrer policy for fetches initiated by the element - :param value: Referrer policy - :return: An referrerpolicy attribute to be added to your element - """ # fmt: skip + Args: + value: + Referrer policy + + Returns: + An referrerpolicy attribute to be added to your element + + """ return BaseAttribute("referrerpolicy", value) @@ -98,9 +128,14 @@ def sandbox(value: Resolvable) -> BaseAttribute: "iframe" attribute: sandbox Security rules for nested content - :param value: Unordered set of unique space-separated tokens, ASCII case-insensitive, consisting of "allow-downloads" "allow-forms" "allow-modals" "allow-orientation-lock" "allow-pointer-lock" "allow-popups" "allow-popups-to-escape-sandbox" "allow-presentation" "allow-same-origin" "allow-scripts" "allow-top-navigation" "allow-top-navigation-by-user-activation" "allow-top-navigation-to-custom-protocols" - :return: An sandbox attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens, ASCII case-insensitive, consisting of "allow-downloads" "allow-forms" "allow-modals" "allow-orientation-lock" "allow-pointer-lock" "allow-popups" "allow-popups-to-escape-sandbox" "allow-presentation" "allow-same-origin" "allow-scripts" "allow-top-navigation" "allow-top-navigation-by-user-activation" "allow-top-navigation-to-custom-protocols" + + Returns: + An sandbox attribute to be added to your element + + """ return BaseAttribute("sandbox", value) @@ -112,9 +147,14 @@ def src(value) -> BaseAttribute: "iframe" attribute: src Address of the resource - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) @@ -126,9 +166,14 @@ def srcdoc(value) -> BaseAttribute: "iframe" attribute: srcdoc A document to render in the iframe - :param value: The source of an iframe srcdoc document* - :return: An srcdoc attribute to be added to your element - """ # fmt: skip + Args: + value: + The source of an iframe srcdoc document* + + Returns: + An srcdoc attribute to be added to your element + + """ return BaseAttribute("srcdoc", value) @@ -140,9 +185,14 @@ def width(value: int) -> BaseAttribute: "iframe" attribute: width Horizontal dimension - :param value: Valid non-negative integer - :return: An width attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An width attribute to be added to your element + + """ return BaseAttribute("width", value) \ No newline at end of file diff --git a/tools/generated/img_attrs.py b/tools/generated/img_attrs.py index faa10ce..581b16c 100644 --- a/tools/generated/img_attrs.py +++ b/tools/generated/img_attrs.py @@ -14,9 +14,14 @@ def alt(value: StrLike) -> BaseAttribute: "img" attribute: alt Replacement text for use when images are not available - :param value: Text* - :return: An alt attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An alt attribute to be added to your element + + """ return BaseAttribute("alt", value) @@ -28,9 +33,14 @@ def crossorigin(value: Literal['anonymous', 'use-credentials']) -> BaseAttribute "img" attribute: crossorigin How the element handles crossorigin requests - :param value: ['anonymous', 'use-credentials'] - :return: An crossorigin attribute to be added to your element - """ # fmt: skip + Args: + value: + ['anonymous', 'use-credentials'] + + Returns: + An crossorigin attribute to be added to your element + + """ return BaseAttribute("crossorigin", value) @@ -42,9 +52,14 @@ def decoding(value: Literal['sync', 'async', 'auto']) -> BaseAttribute: "img" attribute: decoding Decoding hint to use when processing this image for presentation - :param value: ['sync', 'async', 'auto'] - :return: An decoding attribute to be added to your element - """ # fmt: skip + Args: + value: + ['sync', 'async', 'auto'] + + Returns: + An decoding attribute to be added to your element + + """ return BaseAttribute("decoding", value) @@ -56,9 +71,14 @@ def fetchpriority(value: Literal['auto', 'high', 'low']) -> BaseAttribute: "img" attribute: fetchpriority Sets the priority for fetches initiated by the element - :param value: ['auto', 'high', 'low'] - :return: An fetchpriority attribute to be added to your element - """ # fmt: skip + Args: + value: + ['auto', 'high', 'low'] + + Returns: + An fetchpriority attribute to be added to your element + + """ return BaseAttribute("fetchpriority", value) @@ -70,9 +90,14 @@ def height(value: int) -> BaseAttribute: "img" attribute: height Vertical dimension - :param value: Valid non-negative integer - :return: An height attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An height attribute to be added to your element + + """ return BaseAttribute("height", value) @@ -84,9 +109,14 @@ def ismap(value: bool) -> BaseAttribute: "img" attribute: ismap Whether the image is a server-side image map - :param value: Boolean attribute - :return: An ismap attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An ismap attribute to be added to your element + + """ return BaseAttribute("ismap", value) @@ -98,9 +128,14 @@ def loading(value: Literal['lazy', 'eager']) -> BaseAttribute: "img" attribute: loading Used when determining loading deferral - :param value: ['lazy', 'eager'] - :return: An loading attribute to be added to your element - """ # fmt: skip + Args: + value: + ['lazy', 'eager'] + + Returns: + An loading attribute to be added to your element + + """ return BaseAttribute("loading", value) @@ -112,9 +147,14 @@ def referrerpolicy(value) -> BaseAttribute: "img" attribute: referrerpolicy Referrer policy for fetches initiated by the element - :param value: Referrer policy - :return: An referrerpolicy attribute to be added to your element - """ # fmt: skip + Args: + value: + Referrer policy + + Returns: + An referrerpolicy attribute to be added to your element + + """ return BaseAttribute("referrerpolicy", value) @@ -126,9 +166,14 @@ def sizes(value) -> BaseAttribute: "img" attribute: sizes Image sizes for different page layouts - :param value: Valid source size list - :return: An sizes attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid source size list + + Returns: + An sizes attribute to be added to your element + + """ return BaseAttribute("sizes", value) @@ -140,9 +185,14 @@ def src(value) -> BaseAttribute: "img" attribute: src Address of the resource - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) @@ -154,9 +204,14 @@ def srcset(value) -> BaseAttribute: "img" attribute: srcset Images to use in different situations, e.g., high-resolution displays, small monitors, etc. - :param value: Comma-separated list of image candidate strings - :return: An srcset attribute to be added to your element - """ # fmt: skip + Args: + value: + Comma-separated list of image candidate strings + + Returns: + An srcset attribute to be added to your element + + """ return BaseAttribute("srcset", value) @@ -168,9 +223,14 @@ def usemap(value) -> BaseAttribute: "img" attribute: usemap Name of image map to use - :param value: Valid hash-name reference* - :return: An usemap attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid hash-name reference* + + Returns: + An usemap attribute to be added to your element + + """ return BaseAttribute("usemap", value) @@ -182,9 +242,14 @@ def width(value: int) -> BaseAttribute: "img" attribute: width Horizontal dimension - :param value: Valid non-negative integer - :return: An width attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An width attribute to be added to your element + + """ return BaseAttribute("width", value) \ No newline at end of file diff --git a/tools/generated/input_attrs.py b/tools/generated/input_attrs.py index 745c057..eed216f 100644 --- a/tools/generated/input_attrs.py +++ b/tools/generated/input_attrs.py @@ -14,9 +14,14 @@ def accept(value) -> BaseAttribute: "input" attribute: accept Hint for expected file type in file upload controls - :param value: Set of comma-separated tokens* consisting of valid MIME type strings with no parameters or audio/*, video/*, or image/* - :return: An accept attribute to be added to your element - """ # fmt: skip + Args: + value: + Set of comma-separated tokens* consisting of valid MIME type strings with no parameters or audio/*, video/*, or image/* + + Returns: + An accept attribute to be added to your element + + """ return BaseAttribute("accept", value) @@ -28,9 +33,14 @@ def alpha(value: bool) -> BaseAttribute: "input" attribute: alpha Allow the color's alpha component to be set - :param value: Boolean attribute - :return: An alpha attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An alpha attribute to be added to your element + + """ return BaseAttribute("alpha", value) @@ -42,9 +52,14 @@ def alt(value: StrLike) -> BaseAttribute: "input" attribute: alt Replacement text for use when images are not available - :param value: Text* - :return: An alt attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An alt attribute to be added to your element + + """ return BaseAttribute("alt", value) @@ -56,9 +71,14 @@ def autocomplete(value) -> BaseAttribute: "input" attribute: autocomplete Hint for form autofill feature - :param value: Autofill field name and related tokens* - :return: An autocomplete attribute to be added to your element - """ # fmt: skip + Args: + value: + Autofill field name and related tokens* + + Returns: + An autocomplete attribute to be added to your element + + """ return BaseAttribute("autocomplete", value) @@ -70,9 +90,14 @@ def checked(value: bool) -> BaseAttribute: "input" attribute: checked Whether the control is checked - :param value: Boolean attribute - :return: An checked attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An checked attribute to be added to your element + + """ return BaseAttribute("checked", value) @@ -84,9 +109,14 @@ def colorspace(value: Literal['limited-srgb', 'display-p3']) -> BaseAttribute: "input" attribute: colorspace The color space of the serialized color - :param value: ['limited-srgb', 'display-p3'] - :return: An colorspace attribute to be added to your element - """ # fmt: skip + Args: + value: + ['limited-srgb', 'display-p3'] + + Returns: + An colorspace attribute to be added to your element + + """ return BaseAttribute("colorspace", value) @@ -98,9 +128,14 @@ def dirname(value: StrLike) -> BaseAttribute: "input" attribute: dirname Name of form control to use for sending the element's directionality in form submission - :param value: Text* - :return: An dirname attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An dirname attribute to be added to your element + + """ return BaseAttribute("dirname", value) @@ -112,9 +147,14 @@ def disabled(value: bool) -> BaseAttribute: "input" attribute: disabled Whether the form control is disabled - :param value: Boolean attribute - :return: An disabled attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An disabled attribute to be added to your element + + """ return BaseAttribute("disabled", value) @@ -126,9 +166,14 @@ def form(value) -> BaseAttribute: "input" attribute: form Associates the element with a form element - :param value: ID* - :return: An form attribute to be added to your element - """ # fmt: skip + Args: + value: + ID* + + Returns: + An form attribute to be added to your element + + """ return BaseAttribute("form", value) @@ -140,9 +185,14 @@ def formaction(value) -> BaseAttribute: "input" attribute: formaction URL to use for form submission - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An formaction attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An formaction attribute to be added to your element + + """ return BaseAttribute("formaction", value) @@ -154,9 +204,14 @@ def formenctype(value: Literal['application/x-www-form-urlencoded', 'multipart/f "input" attribute: formenctype Entry list encoding type to use for form submission - :param value: ['application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'] - :return: An formenctype attribute to be added to your element - """ # fmt: skip + Args: + value: + ['application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'] + + Returns: + An formenctype attribute to be added to your element + + """ return BaseAttribute("formenctype", value) @@ -168,9 +223,14 @@ def formmethod(value: Literal['GET', 'POST', 'dialog']) -> BaseAttribute: "input" attribute: formmethod Variant to use for form submission - :param value: ['GET', 'POST', 'dialog'] - :return: An formmethod attribute to be added to your element - """ # fmt: skip + Args: + value: + ['GET', 'POST', 'dialog'] + + Returns: + An formmethod attribute to be added to your element + + """ return BaseAttribute("formmethod", value) @@ -182,9 +242,14 @@ def formnovalidate(value: bool) -> BaseAttribute: "input" attribute: formnovalidate Bypass form control validation for form submission - :param value: Boolean attribute - :return: An formnovalidate attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An formnovalidate attribute to be added to your element + + """ return BaseAttribute("formnovalidate", value) @@ -196,9 +261,14 @@ def formtarget(value) -> BaseAttribute: "input" attribute: formtarget Navigable for form submission - :param value: Valid navigable target name or keyword - :return: An formtarget attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid navigable target name or keyword + + Returns: + An formtarget attribute to be added to your element + + """ return BaseAttribute("formtarget", value) @@ -210,9 +280,14 @@ def height(value: int) -> BaseAttribute: "input" attribute: height Vertical dimension - :param value: Valid non-negative integer - :return: An height attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An height attribute to be added to your element + + """ return BaseAttribute("height", value) @@ -224,9 +299,14 @@ def list(value) -> BaseAttribute: "input" attribute: list List of autocomplete options - :param value: ID* - :return: An list attribute to be added to your element - """ # fmt: skip + Args: + value: + ID* + + Returns: + An list attribute to be added to your element + + """ return BaseAttribute("list", value) @@ -238,9 +318,14 @@ def max(value) -> BaseAttribute: "input" attribute: max Maximum value - :param value: Varies* - :return: An max attribute to be added to your element - """ # fmt: skip + Args: + value: + Varies* + + Returns: + An max attribute to be added to your element + + """ return BaseAttribute("max", value) @@ -252,9 +337,14 @@ def maxlength(value: int) -> BaseAttribute: "input" attribute: maxlength Maximum length of value - :param value: Valid non-negative integer - :return: An maxlength attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An maxlength attribute to be added to your element + + """ return BaseAttribute("maxlength", value) @@ -266,9 +356,14 @@ def min(value) -> BaseAttribute: "input" attribute: min Minimum value - :param value: Varies* - :return: An min attribute to be added to your element - """ # fmt: skip + Args: + value: + Varies* + + Returns: + An min attribute to be added to your element + + """ return BaseAttribute("min", value) @@ -280,9 +375,14 @@ def minlength(value: int) -> BaseAttribute: "input" attribute: minlength Minimum length of value - :param value: Valid non-negative integer - :return: An minlength attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An minlength attribute to be added to your element + + """ return BaseAttribute("minlength", value) @@ -294,9 +394,14 @@ def multiple(value: bool) -> BaseAttribute: "input" attribute: multiple Whether to allow multiple values - :param value: Boolean attribute - :return: An multiple attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An multiple attribute to be added to your element + + """ return BaseAttribute("multiple", value) @@ -308,9 +413,14 @@ def name(value: StrLike) -> BaseAttribute: "input" attribute: name Name of the element to use for form submission and in the form.elements API - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) @@ -322,9 +432,14 @@ def pattern(value) -> BaseAttribute: "input" attribute: pattern Pattern to be matched by the form control's value - :param value: Regular expression matching the JavaScript Pattern production - :return: An pattern attribute to be added to your element - """ # fmt: skip + Args: + value: + Regular expression matching the JavaScript Pattern production + + Returns: + An pattern attribute to be added to your element + + """ return BaseAttribute("pattern", value) @@ -336,9 +451,14 @@ def placeholder(value: StrLike) -> BaseAttribute: "input" attribute: placeholder User-visible label to be placed within the form control - :param value: Text* - :return: An placeholder attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An placeholder attribute to be added to your element + + """ return BaseAttribute("placeholder", value) @@ -350,9 +470,14 @@ def popovertarget(value) -> BaseAttribute: "input" attribute: popovertarget Targets a popover element to toggle, show, or hide - :param value: ID* - :return: An popovertarget attribute to be added to your element - """ # fmt: skip + Args: + value: + ID* + + Returns: + An popovertarget attribute to be added to your element + + """ return BaseAttribute("popovertarget", value) @@ -364,9 +489,14 @@ def popovertargetaction(value: Literal['toggle', 'show', 'hide']) -> BaseAttribu "input" attribute: popovertargetaction Indicates whether a targeted popover element is to be toggled, shown, or hidden - :param value: ['toggle', 'show', 'hide'] - :return: An popovertargetaction attribute to be added to your element - """ # fmt: skip + Args: + value: + ['toggle', 'show', 'hide'] + + Returns: + An popovertargetaction attribute to be added to your element + + """ return BaseAttribute("popovertargetaction", value) @@ -378,9 +508,14 @@ def readonly(value: bool) -> BaseAttribute: "input" attribute: readonly Whether to allow the value to be edited by the user - :param value: Boolean attribute - :return: An readonly attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An readonly attribute to be added to your element + + """ return BaseAttribute("readonly", value) @@ -392,9 +527,14 @@ def required(value: bool) -> BaseAttribute: "input" attribute: required Whether the control is required for form submission - :param value: Boolean attribute - :return: An required attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An required attribute to be added to your element + + """ return BaseAttribute("required", value) @@ -406,9 +546,14 @@ def size(value) -> BaseAttribute: "input" attribute: size Size of the control - :param value: Valid non-negative integer greater than zero - :return: An size attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer greater than zero + + Returns: + An size attribute to be added to your element + + """ return BaseAttribute("size", value) @@ -420,9 +565,14 @@ def src(value) -> BaseAttribute: "input" attribute: src Address of the resource - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) @@ -434,9 +584,14 @@ def step(value: float) -> BaseAttribute: "input" attribute: step Granularity to be matched by the form control's value - :param value: Valid floating-point number greater than zero, or "any" - :return: An step attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid floating-point number greater than zero, or "any" + + Returns: + An step attribute to be added to your element + + """ return BaseAttribute("step", value) @@ -448,9 +603,14 @@ def title(value: StrLike) -> BaseAttribute: "input" attribute: title Description of pattern (when used with pattern attribute) - :param value: Text - :return: An title attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An title attribute to be added to your element + + """ return BaseAttribute("title", value) @@ -462,9 +622,14 @@ def type(value) -> BaseAttribute: "input" attribute: type Type of form control - :param value: input type keyword - :return: An type attribute to be added to your element - """ # fmt: skip + Args: + value: + input type keyword + + Returns: + An type attribute to be added to your element + + """ return BaseAttribute("type", value) @@ -476,9 +641,14 @@ def value(value) -> BaseAttribute: "input" attribute: value Value of the form control - :param value: Varies* - :return: An value attribute to be added to your element - """ # fmt: skip + Args: + value: + Varies* + + Returns: + An value attribute to be added to your element + + """ return BaseAttribute("value", value) @@ -490,9 +660,14 @@ def width(value: int) -> BaseAttribute: "input" attribute: width Horizontal dimension - :param value: Valid non-negative integer - :return: An width attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An width attribute to be added to your element + + """ return BaseAttribute("width", value) \ No newline at end of file diff --git a/tools/generated/ins_attrs.py b/tools/generated/ins_attrs.py index 5a523ae..bb9fa6a 100644 --- a/tools/generated/ins_attrs.py +++ b/tools/generated/ins_attrs.py @@ -14,9 +14,14 @@ def cite(value) -> BaseAttribute: "ins" attribute: cite Link to the source of the quotation or more information about the edit - :param value: Valid URL potentially surrounded by spaces - :return: An cite attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid URL potentially surrounded by spaces + + Returns: + An cite attribute to be added to your element + + """ return BaseAttribute("cite", value) @@ -28,9 +33,14 @@ def datetime(value) -> BaseAttribute: "ins" attribute: datetime Date and (optionally) time of the change - :param value: Valid date string with optional time - :return: An datetime attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid date string with optional time + + Returns: + An datetime attribute to be added to your element + + """ return BaseAttribute("datetime", value) \ No newline at end of file diff --git a/tools/generated/label_attrs.py b/tools/generated/label_attrs.py index c838cda..496a1d2 100644 --- a/tools/generated/label_attrs.py +++ b/tools/generated/label_attrs.py @@ -14,9 +14,14 @@ def for_(value) -> BaseAttribute: "label" attribute: for Associate the label with form control - :param value: ID* - :return: An for attribute to be added to your element - """ # fmt: skip + Args: + value: + ID* + + Returns: + An for attribute to be added to your element + + """ return BaseAttribute("for", value) \ No newline at end of file diff --git a/tools/generated/li_attrs.py b/tools/generated/li_attrs.py index 8e3d501..d3a241a 100644 --- a/tools/generated/li_attrs.py +++ b/tools/generated/li_attrs.py @@ -14,9 +14,14 @@ def value(value: int) -> BaseAttribute: "li" attribute: value Ordinal value of the list item - :param value: Valid integer - :return: An value attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid integer + + Returns: + An value attribute to be added to your element + + """ return BaseAttribute("value", value) \ No newline at end of file diff --git a/tools/generated/link_attrs.py b/tools/generated/link_attrs.py index 0d5bc19..c3be7b2 100644 --- a/tools/generated/link_attrs.py +++ b/tools/generated/link_attrs.py @@ -14,9 +14,14 @@ def as_(value) -> BaseAttribute: "link" attribute: as Potential destination for a preload request (for rel="preload" and rel="modulepreload") - :param value: Potential destination, for rel="preload"; script-like destination, for rel="modulepreload" - :return: An as attribute to be added to your element - """ # fmt: skip + Args: + value: + Potential destination, for rel="preload"; script-like destination, for rel="modulepreload" + + Returns: + An as attribute to be added to your element + + """ return BaseAttribute("as", value) @@ -28,9 +33,14 @@ def blocking(value: Resolvable) -> BaseAttribute: "link" attribute: blocking Whether the element is potentially render-blocking - :param value: Unordered set of unique space-separated tokens* - :return: An blocking attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens* + + Returns: + An blocking attribute to be added to your element + + """ return BaseAttribute("blocking", value) @@ -42,9 +52,14 @@ def color(value) -> BaseAttribute: "link" attribute: color Color to use when customizing a site's icon (for rel="mask-icon") - :param value: CSS - :return: An color attribute to be added to your element - """ # fmt: skip + Args: + value: + CSS + + Returns: + An color attribute to be added to your element + + """ return BaseAttribute("color", value) @@ -56,9 +71,14 @@ def crossorigin(value: Literal['anonymous', 'use-credentials']) -> BaseAttribute "link" attribute: crossorigin How the element handles crossorigin requests - :param value: ['anonymous', 'use-credentials'] - :return: An crossorigin attribute to be added to your element - """ # fmt: skip + Args: + value: + ['anonymous', 'use-credentials'] + + Returns: + An crossorigin attribute to be added to your element + + """ return BaseAttribute("crossorigin", value) @@ -70,9 +90,14 @@ def disabled(value: bool) -> BaseAttribute: "link" attribute: disabled Whether the link is disabled - :param value: Boolean attribute - :return: An disabled attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An disabled attribute to be added to your element + + """ return BaseAttribute("disabled", value) @@ -84,9 +109,14 @@ def fetchpriority(value: Literal['auto', 'high', 'low']) -> BaseAttribute: "link" attribute: fetchpriority Sets the priority for fetches initiated by the element - :param value: ['auto', 'high', 'low'] - :return: An fetchpriority attribute to be added to your element - """ # fmt: skip + Args: + value: + ['auto', 'high', 'low'] + + Returns: + An fetchpriority attribute to be added to your element + + """ return BaseAttribute("fetchpriority", value) @@ -98,9 +128,14 @@ def href(value) -> BaseAttribute: "link" attribute: href Address of the hyperlink - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An href attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An href attribute to be added to your element + + """ return BaseAttribute("href", value) @@ -112,9 +147,14 @@ def hreflang(value) -> BaseAttribute: "link" attribute: hreflang Language of the linked resource - :param value: Valid BCP 47 language tag - :return: An hreflang attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid BCP 47 language tag + + Returns: + An hreflang attribute to be added to your element + + """ return BaseAttribute("hreflang", value) @@ -126,9 +166,14 @@ def imagesizes(value) -> BaseAttribute: "link" attribute: imagesizes Image sizes for different page layouts (for rel="preload") - :param value: Valid source size list - :return: An imagesizes attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid source size list + + Returns: + An imagesizes attribute to be added to your element + + """ return BaseAttribute("imagesizes", value) @@ -140,9 +185,14 @@ def imagesrcset(value) -> BaseAttribute: "link" attribute: imagesrcset Images to use in different situations, e.g., high-resolution displays, small monitors, etc. (for rel="preload") - :param value: Comma-separated list of image candidate strings - :return: An imagesrcset attribute to be added to your element - """ # fmt: skip + Args: + value: + Comma-separated list of image candidate strings + + Returns: + An imagesrcset attribute to be added to your element + + """ return BaseAttribute("imagesrcset", value) @@ -154,9 +204,14 @@ def integrity(value: StrLike) -> BaseAttribute: "link" attribute: integrity Integrity metadata used in Subresource Integrity checks [SRI] - :param value: Text - :return: An integrity attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An integrity attribute to be added to your element + + """ return BaseAttribute("integrity", value) @@ -168,9 +223,14 @@ def media(value) -> BaseAttribute: "link" attribute: media Applicable media - :param value: Valid media query list - :return: An media attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid media query list + + Returns: + An media attribute to be added to your element + + """ return BaseAttribute("media", value) @@ -182,9 +242,14 @@ def referrerpolicy(value) -> BaseAttribute: "link" attribute: referrerpolicy Referrer policy for fetches initiated by the element - :param value: Referrer policy - :return: An referrerpolicy attribute to be added to your element - """ # fmt: skip + Args: + value: + Referrer policy + + Returns: + An referrerpolicy attribute to be added to your element + + """ return BaseAttribute("referrerpolicy", value) @@ -196,9 +261,14 @@ def rel(value: Resolvable) -> BaseAttribute: "link" attribute: rel Relationship between the document containing the hyperlink and the destination resource - :param value: Unordered set of unique space-separated tokens* - :return: An rel attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens* + + Returns: + An rel attribute to be added to your element + + """ return BaseAttribute("rel", value) @@ -210,9 +280,14 @@ def sizes(value: Resolvable) -> BaseAttribute: "link" attribute: sizes Sizes of the icons (for rel="icon") - :param value: Unordered set of unique space-separated tokens, ASCII case-insensitive, consisting of sizes* - :return: An sizes attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens, ASCII case-insensitive, consisting of sizes* + + Returns: + An sizes attribute to be added to your element + + """ return BaseAttribute("sizes", value) @@ -224,9 +299,14 @@ def title(value) -> BaseAttribute: "link" attribute: title Title of the link OR CSS style sheet set name - :param value: Text OR Text - :return: An title attribute to be added to your element - """ # fmt: skip + Args: + value: + Text OR Text + + Returns: + An title attribute to be added to your element + + """ return BaseAttribute("title", value) @@ -238,9 +318,14 @@ def type(value) -> BaseAttribute: "link" attribute: type Hint for the type of the referenced resource - :param value: Valid MIME type string - :return: An type attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid MIME type string + + Returns: + An type attribute to be added to your element + + """ return BaseAttribute("type", value) \ No newline at end of file diff --git a/tools/generated/map_attrs.py b/tools/generated/map_attrs.py index 7dac158..951ced9 100644 --- a/tools/generated/map_attrs.py +++ b/tools/generated/map_attrs.py @@ -14,9 +14,14 @@ def name(value: StrLike) -> BaseAttribute: "map" attribute: name Name of image map to reference from the usemap attribute - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) \ No newline at end of file diff --git a/tools/generated/meta_attrs.py b/tools/generated/meta_attrs.py index 164228d..dd2d43c 100644 --- a/tools/generated/meta_attrs.py +++ b/tools/generated/meta_attrs.py @@ -14,9 +14,14 @@ def charset(value: Literal['utf-8']) -> BaseAttribute: "meta" attribute: charset Character encoding declaration - :param value: ['utf-8'] - :return: An charset attribute to be added to your element - """ # fmt: skip + Args: + value: + ['utf-8'] + + Returns: + An charset attribute to be added to your element + + """ return BaseAttribute("charset", value) @@ -28,9 +33,14 @@ def content(value: StrLike) -> BaseAttribute: "meta" attribute: content Value of the element - :param value: Text* - :return: An content attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An content attribute to be added to your element + + """ return BaseAttribute("content", value) @@ -42,9 +52,14 @@ def http_equiv(value: Literal['content-type', 'default-style', 'refresh', 'x-ua- "meta" attribute: http-equiv Pragma directive - :param value: ['content-type', 'default-style', 'refresh', 'x-ua-compatible', 'content-security-policy'] - :return: An http-equiv attribute to be added to your element - """ # fmt: skip + Args: + value: + ['content-type', 'default-style', 'refresh', 'x-ua-compatible', 'content-security-policy'] + + Returns: + An http-equiv attribute to be added to your element + + """ return BaseAttribute("http-equiv", value) @@ -56,9 +71,14 @@ def media(value) -> BaseAttribute: "meta" attribute: media Applicable media - :param value: Valid media query list - :return: An media attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid media query list + + Returns: + An media attribute to be added to your element + + """ return BaseAttribute("media", value) @@ -70,9 +90,14 @@ def name(value: StrLike) -> BaseAttribute: "meta" attribute: name Metadata name - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) \ No newline at end of file diff --git a/tools/generated/meter_attrs.py b/tools/generated/meter_attrs.py index f05c3e1..6a35b1a 100644 --- a/tools/generated/meter_attrs.py +++ b/tools/generated/meter_attrs.py @@ -14,9 +14,14 @@ def high(value: float) -> BaseAttribute: "meter" attribute: high Low limit of high range - :param value: Valid floating-point number* - :return: An high attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid floating-point number* + + Returns: + An high attribute to be added to your element + + """ return BaseAttribute("high", value) @@ -28,9 +33,14 @@ def low(value: float) -> BaseAttribute: "meter" attribute: low High limit of low range - :param value: Valid floating-point number* - :return: An low attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid floating-point number* + + Returns: + An low attribute to be added to your element + + """ return BaseAttribute("low", value) @@ -42,9 +52,14 @@ def max(value: float) -> BaseAttribute: "meter" attribute: max Upper bound of range - :param value: Valid floating-point number* - :return: An max attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid floating-point number* + + Returns: + An max attribute to be added to your element + + """ return BaseAttribute("max", value) @@ -56,9 +71,14 @@ def min(value: float) -> BaseAttribute: "meter" attribute: min Lower bound of range - :param value: Valid floating-point number* - :return: An min attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid floating-point number* + + Returns: + An min attribute to be added to your element + + """ return BaseAttribute("min", value) @@ -70,9 +90,14 @@ def optimum(value: float) -> BaseAttribute: "meter" attribute: optimum Optimum value in gauge - :param value: Valid floating-point number* - :return: An optimum attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid floating-point number* + + Returns: + An optimum attribute to be added to your element + + """ return BaseAttribute("optimum", value) @@ -84,9 +109,14 @@ def value(value: float) -> BaseAttribute: "meter" attribute: value Current value of the element - :param value: Valid floating-point number - :return: An value attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid floating-point number + + Returns: + An value attribute to be added to your element + + """ return BaseAttribute("value", value) \ No newline at end of file diff --git a/tools/generated/object_attrs.py b/tools/generated/object_attrs.py index 9a51343..ef6d34d 100644 --- a/tools/generated/object_attrs.py +++ b/tools/generated/object_attrs.py @@ -14,9 +14,14 @@ def data(value) -> BaseAttribute: "object" attribute: data Address of the resource - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An data attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An data attribute to be added to your element + + """ return BaseAttribute("data", value) @@ -28,9 +33,14 @@ def form(value) -> BaseAttribute: "object" attribute: form Associates the element with a form element - :param value: ID* - :return: An form attribute to be added to your element - """ # fmt: skip + Args: + value: + ID* + + Returns: + An form attribute to be added to your element + + """ return BaseAttribute("form", value) @@ -42,9 +52,14 @@ def height(value: int) -> BaseAttribute: "object" attribute: height Vertical dimension - :param value: Valid non-negative integer - :return: An height attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An height attribute to be added to your element + + """ return BaseAttribute("height", value) @@ -56,9 +71,14 @@ def name(value) -> BaseAttribute: "object" attribute: name Name of content navigable - :param value: Valid navigable target name or keyword - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid navigable target name or keyword + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) @@ -70,9 +90,14 @@ def type(value) -> BaseAttribute: "object" attribute: type Type of embedded resource - :param value: Valid MIME type string - :return: An type attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid MIME type string + + Returns: + An type attribute to be added to your element + + """ return BaseAttribute("type", value) @@ -84,9 +109,14 @@ def width(value: int) -> BaseAttribute: "object" attribute: width Horizontal dimension - :param value: Valid non-negative integer - :return: An width attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An width attribute to be added to your element + + """ return BaseAttribute("width", value) \ No newline at end of file diff --git a/tools/generated/ol_attrs.py b/tools/generated/ol_attrs.py index f4ecfbc..42ed0d7 100644 --- a/tools/generated/ol_attrs.py +++ b/tools/generated/ol_attrs.py @@ -14,9 +14,14 @@ def reversed(value: bool) -> BaseAttribute: "ol" attribute: reversed Number the list backwards - :param value: Boolean attribute - :return: An reversed attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An reversed attribute to be added to your element + + """ return BaseAttribute("reversed", value) @@ -28,9 +33,14 @@ def start(value: int) -> BaseAttribute: "ol" attribute: start Starting value of the list - :param value: Valid integer - :return: An start attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid integer + + Returns: + An start attribute to be added to your element + + """ return BaseAttribute("start", value) @@ -42,9 +52,14 @@ def type(value: Literal['1', 'a', 'A', 'i', 'I']) -> BaseAttribute: "ol" attribute: type Kind of list marker - :param value: ['1', 'a', 'A', 'i', 'I'] - :return: An type attribute to be added to your element - """ # fmt: skip + Args: + value: + ['1', 'a', 'A', 'i', 'I'] + + Returns: + An type attribute to be added to your element + + """ return BaseAttribute("type", value) \ No newline at end of file diff --git a/tools/generated/optgroup_attrs.py b/tools/generated/optgroup_attrs.py index ade8f53..69c6e1a 100644 --- a/tools/generated/optgroup_attrs.py +++ b/tools/generated/optgroup_attrs.py @@ -14,9 +14,14 @@ def disabled(value: bool) -> BaseAttribute: "optgroup" attribute: disabled Whether the form control is disabled - :param value: Boolean attribute - :return: An disabled attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An disabled attribute to be added to your element + + """ return BaseAttribute("disabled", value) @@ -28,9 +33,14 @@ def label(value: StrLike) -> BaseAttribute: "optgroup" attribute: label User-visible label - :param value: Text - :return: An label attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An label attribute to be added to your element + + """ return BaseAttribute("label", value) \ No newline at end of file diff --git a/tools/generated/option_attrs.py b/tools/generated/option_attrs.py index 9ca2305..044051a 100644 --- a/tools/generated/option_attrs.py +++ b/tools/generated/option_attrs.py @@ -14,9 +14,14 @@ def disabled(value: bool) -> BaseAttribute: "option" attribute: disabled Whether the form control is disabled - :param value: Boolean attribute - :return: An disabled attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An disabled attribute to be added to your element + + """ return BaseAttribute("disabled", value) @@ -28,9 +33,14 @@ def label(value: StrLike) -> BaseAttribute: "option" attribute: label User-visible label - :param value: Text - :return: An label attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An label attribute to be added to your element + + """ return BaseAttribute("label", value) @@ -42,9 +52,14 @@ def selected(value: bool) -> BaseAttribute: "option" attribute: selected Whether the option is selected by default - :param value: Boolean attribute - :return: An selected attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An selected attribute to be added to your element + + """ return BaseAttribute("selected", value) @@ -56,9 +71,14 @@ def value(value: StrLike) -> BaseAttribute: "option" attribute: value Value to be used for form submission - :param value: Text - :return: An value attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An value attribute to be added to your element + + """ return BaseAttribute("value", value) \ No newline at end of file diff --git a/tools/generated/output_attrs.py b/tools/generated/output_attrs.py index 1bd4ae4..ad04f02 100644 --- a/tools/generated/output_attrs.py +++ b/tools/generated/output_attrs.py @@ -14,9 +14,14 @@ def for_(value: Resolvable) -> BaseAttribute: "output" attribute: for Specifies controls from which the output was calculated - :param value: Unordered set of unique space-separated tokens consisting of IDs* - :return: An for attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens consisting of IDs* + + Returns: + An for attribute to be added to your element + + """ return BaseAttribute("for", value) @@ -28,9 +33,14 @@ def form(value) -> BaseAttribute: "output" attribute: form Associates the element with a form element - :param value: ID* - :return: An form attribute to be added to your element - """ # fmt: skip + Args: + value: + ID* + + Returns: + An form attribute to be added to your element + + """ return BaseAttribute("form", value) @@ -42,9 +52,14 @@ def name(value: StrLike) -> BaseAttribute: "output" attribute: name Name of the element to use for form submission and in the form.elements API - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) \ No newline at end of file diff --git a/tools/generated/progress_attrs.py b/tools/generated/progress_attrs.py index 413e6a5..a2d2029 100644 --- a/tools/generated/progress_attrs.py +++ b/tools/generated/progress_attrs.py @@ -14,9 +14,14 @@ def max(value: float) -> BaseAttribute: "progress" attribute: max Upper bound of range - :param value: Valid floating-point number* - :return: An max attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid floating-point number* + + Returns: + An max attribute to be added to your element + + """ return BaseAttribute("max", value) @@ -28,9 +33,14 @@ def value(value: float) -> BaseAttribute: "progress" attribute: value Current value of the element - :param value: Valid floating-point number - :return: An value attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid floating-point number + + Returns: + An value attribute to be added to your element + + """ return BaseAttribute("value", value) \ No newline at end of file diff --git a/tools/generated/q_attrs.py b/tools/generated/q_attrs.py index 8a1da85..0ad96fa 100644 --- a/tools/generated/q_attrs.py +++ b/tools/generated/q_attrs.py @@ -14,9 +14,14 @@ def cite(value) -> BaseAttribute: "q" attribute: cite Link to the source of the quotation or more information about the edit - :param value: Valid URL potentially surrounded by spaces - :return: An cite attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid URL potentially surrounded by spaces + + Returns: + An cite attribute to be added to your element + + """ return BaseAttribute("cite", value) \ No newline at end of file diff --git a/tools/generated/script_attrs.py b/tools/generated/script_attrs.py index aae1fd1..b78bb26 100644 --- a/tools/generated/script_attrs.py +++ b/tools/generated/script_attrs.py @@ -14,9 +14,14 @@ def async_(value: bool) -> BaseAttribute: "script" attribute: async Execute script when available, without blocking while fetching - :param value: Boolean attribute - :return: An async attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An async attribute to be added to your element + + """ return BaseAttribute("async", value) @@ -28,9 +33,14 @@ def blocking(value: Resolvable) -> BaseAttribute: "script" attribute: blocking Whether the element is potentially render-blocking - :param value: Unordered set of unique space-separated tokens* - :return: An blocking attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens* + + Returns: + An blocking attribute to be added to your element + + """ return BaseAttribute("blocking", value) @@ -42,9 +52,14 @@ def crossorigin(value: Literal['anonymous', 'use-credentials']) -> BaseAttribute "script" attribute: crossorigin How the element handles crossorigin requests - :param value: ['anonymous', 'use-credentials'] - :return: An crossorigin attribute to be added to your element - """ # fmt: skip + Args: + value: + ['anonymous', 'use-credentials'] + + Returns: + An crossorigin attribute to be added to your element + + """ return BaseAttribute("crossorigin", value) @@ -56,9 +71,14 @@ def defer(value: bool) -> BaseAttribute: "script" attribute: defer Defer script execution - :param value: Boolean attribute - :return: An defer attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An defer attribute to be added to your element + + """ return BaseAttribute("defer", value) @@ -70,9 +90,14 @@ def fetchpriority(value: Literal['auto', 'high', 'low']) -> BaseAttribute: "script" attribute: fetchpriority Sets the priority for fetches initiated by the element - :param value: ['auto', 'high', 'low'] - :return: An fetchpriority attribute to be added to your element - """ # fmt: skip + Args: + value: + ['auto', 'high', 'low'] + + Returns: + An fetchpriority attribute to be added to your element + + """ return BaseAttribute("fetchpriority", value) @@ -84,9 +109,14 @@ def integrity(value: StrLike) -> BaseAttribute: "script" attribute: integrity Integrity metadata used in Subresource Integrity checks [SRI] - :param value: Text - :return: An integrity attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An integrity attribute to be added to your element + + """ return BaseAttribute("integrity", value) @@ -98,9 +128,14 @@ def nomodule(value: bool) -> BaseAttribute: "script" attribute: nomodule Prevents execution in user agents that support module scripts - :param value: Boolean attribute - :return: An nomodule attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An nomodule attribute to be added to your element + + """ return BaseAttribute("nomodule", value) @@ -112,9 +147,14 @@ def referrerpolicy(value) -> BaseAttribute: "script" attribute: referrerpolicy Referrer policy for fetches initiated by the element - :param value: Referrer policy - :return: An referrerpolicy attribute to be added to your element - """ # fmt: skip + Args: + value: + Referrer policy + + Returns: + An referrerpolicy attribute to be added to your element + + """ return BaseAttribute("referrerpolicy", value) @@ -126,9 +166,14 @@ def src(value) -> BaseAttribute: "script" attribute: src Address of the resource - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) @@ -140,9 +185,14 @@ def type(value) -> BaseAttribute: "script" attribute: type Type of script - :param value: "module"; a valid MIME type string that is not a JavaScript MIME type essence match - :return: An type attribute to be added to your element - """ # fmt: skip + Args: + value: + "module"; a valid MIME type string that is not a JavaScript MIME type essence match + + Returns: + An type attribute to be added to your element + + """ return BaseAttribute("type", value) \ No newline at end of file diff --git a/tools/generated/select_attrs.py b/tools/generated/select_attrs.py index 91d791b..3941c97 100644 --- a/tools/generated/select_attrs.py +++ b/tools/generated/select_attrs.py @@ -14,9 +14,14 @@ def autocomplete(value) -> BaseAttribute: "select" attribute: autocomplete Hint for form autofill feature - :param value: Autofill field name and related tokens* - :return: An autocomplete attribute to be added to your element - """ # fmt: skip + Args: + value: + Autofill field name and related tokens* + + Returns: + An autocomplete attribute to be added to your element + + """ return BaseAttribute("autocomplete", value) @@ -28,9 +33,14 @@ def disabled(value: bool) -> BaseAttribute: "select" attribute: disabled Whether the form control is disabled - :param value: Boolean attribute - :return: An disabled attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An disabled attribute to be added to your element + + """ return BaseAttribute("disabled", value) @@ -42,9 +52,14 @@ def form(value) -> BaseAttribute: "select" attribute: form Associates the element with a form element - :param value: ID* - :return: An form attribute to be added to your element - """ # fmt: skip + Args: + value: + ID* + + Returns: + An form attribute to be added to your element + + """ return BaseAttribute("form", value) @@ -56,9 +71,14 @@ def multiple(value: bool) -> BaseAttribute: "select" attribute: multiple Whether to allow multiple values - :param value: Boolean attribute - :return: An multiple attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An multiple attribute to be added to your element + + """ return BaseAttribute("multiple", value) @@ -70,9 +90,14 @@ def name(value: StrLike) -> BaseAttribute: "select" attribute: name Name of the element to use for form submission and in the form.elements API - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) @@ -84,9 +109,14 @@ def required(value: bool) -> BaseAttribute: "select" attribute: required Whether the control is required for form submission - :param value: Boolean attribute - :return: An required attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An required attribute to be added to your element + + """ return BaseAttribute("required", value) @@ -98,9 +128,14 @@ def size(value) -> BaseAttribute: "select" attribute: size Size of the control - :param value: Valid non-negative integer greater than zero - :return: An size attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer greater than zero + + Returns: + An size attribute to be added to your element + + """ return BaseAttribute("size", value) \ No newline at end of file diff --git a/tools/generated/slot_attrs.py b/tools/generated/slot_attrs.py index 4fd9b5a..3c30bf1 100644 --- a/tools/generated/slot_attrs.py +++ b/tools/generated/slot_attrs.py @@ -14,9 +14,14 @@ def name(value: StrLike) -> BaseAttribute: "slot" attribute: name Name of shadow tree slot - :param value: Text - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) \ No newline at end of file diff --git a/tools/generated/source_attrs.py b/tools/generated/source_attrs.py index 1d2b3b3..2356396 100644 --- a/tools/generated/source_attrs.py +++ b/tools/generated/source_attrs.py @@ -14,9 +14,14 @@ def height(value: int) -> BaseAttribute: "source" attribute: height Vertical dimension - :param value: Valid non-negative integer - :return: An height attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An height attribute to be added to your element + + """ return BaseAttribute("height", value) @@ -28,9 +33,14 @@ def media(value) -> BaseAttribute: "source" attribute: media Applicable media - :param value: Valid media query list - :return: An media attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid media query list + + Returns: + An media attribute to be added to your element + + """ return BaseAttribute("media", value) @@ -42,9 +52,14 @@ def sizes(value) -> BaseAttribute: "source" attribute: sizes Image sizes for different page layouts - :param value: Valid source size list - :return: An sizes attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid source size list + + Returns: + An sizes attribute to be added to your element + + """ return BaseAttribute("sizes", value) @@ -56,9 +71,14 @@ def src(value) -> BaseAttribute: "source" attribute: src Address of the resource - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) @@ -70,9 +90,14 @@ def srcset(value) -> BaseAttribute: "source" attribute: srcset Images to use in different situations, e.g., high-resolution displays, small monitors, etc. - :param value: Comma-separated list of image candidate strings - :return: An srcset attribute to be added to your element - """ # fmt: skip + Args: + value: + Comma-separated list of image candidate strings + + Returns: + An srcset attribute to be added to your element + + """ return BaseAttribute("srcset", value) @@ -84,9 +109,14 @@ def type(value) -> BaseAttribute: "source" attribute: type Type of embedded resource - :param value: Valid MIME type string - :return: An type attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid MIME type string + + Returns: + An type attribute to be added to your element + + """ return BaseAttribute("type", value) @@ -98,9 +128,14 @@ def width(value: int) -> BaseAttribute: "source" attribute: width Horizontal dimension - :param value: Valid non-negative integer - :return: An width attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An width attribute to be added to your element + + """ return BaseAttribute("width", value) \ No newline at end of file diff --git a/tools/generated/style_attrs.py b/tools/generated/style_attrs.py index b1a50d3..097631f 100644 --- a/tools/generated/style_attrs.py +++ b/tools/generated/style_attrs.py @@ -14,9 +14,14 @@ def blocking(value: Resolvable) -> BaseAttribute: "style" attribute: blocking Whether the element is potentially render-blocking - :param value: Unordered set of unique space-separated tokens* - :return: An blocking attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens* + + Returns: + An blocking attribute to be added to your element + + """ return BaseAttribute("blocking", value) @@ -28,9 +33,14 @@ def media(value) -> BaseAttribute: "style" attribute: media Applicable media - :param value: Valid media query list - :return: An media attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid media query list + + Returns: + An media attribute to be added to your element + + """ return BaseAttribute("media", value) @@ -42,9 +52,14 @@ def title(value: StrLike) -> BaseAttribute: "style" attribute: title CSS style sheet set name - :param value: Text - :return: An title attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An title attribute to be added to your element + + """ return BaseAttribute("title", value) \ No newline at end of file diff --git a/tools/generated/td_attrs.py b/tools/generated/td_attrs.py index 600a0a8..0c4bb6f 100644 --- a/tools/generated/td_attrs.py +++ b/tools/generated/td_attrs.py @@ -14,9 +14,14 @@ def colspan(value) -> BaseAttribute: "td" attribute: colspan Number of columns that the cell is to span - :param value: Valid non-negative integer greater than zero - :return: An colspan attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer greater than zero + + Returns: + An colspan attribute to be added to your element + + """ return BaseAttribute("colspan", value) @@ -28,9 +33,14 @@ def headers(value: Resolvable) -> BaseAttribute: "td" attribute: headers The header cells for this cell - :param value: Unordered set of unique space-separated tokens consisting of IDs* - :return: An headers attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens consisting of IDs* + + Returns: + An headers attribute to be added to your element + + """ return BaseAttribute("headers", value) @@ -42,9 +52,14 @@ def rowspan(value: int) -> BaseAttribute: "td" attribute: rowspan Number of rows that the cell is to span - :param value: Valid non-negative integer - :return: An rowspan attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An rowspan attribute to be added to your element + + """ return BaseAttribute("rowspan", value) \ No newline at end of file diff --git a/tools/generated/template_attrs.py b/tools/generated/template_attrs.py index fb0e12e..baba0be 100644 --- a/tools/generated/template_attrs.py +++ b/tools/generated/template_attrs.py @@ -14,9 +14,14 @@ def shadowrootclonable(value: bool) -> BaseAttribute: "template" attribute: shadowrootclonable Sets clonable on a declarative shadow root - :param value: Boolean attribute - :return: An shadowrootclonable attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An shadowrootclonable attribute to be added to your element + + """ return BaseAttribute("shadowrootclonable", value) @@ -28,9 +33,14 @@ def shadowrootdelegatesfocus(value: bool) -> BaseAttribute: "template" attribute: shadowrootdelegatesfocus Sets delegates focus on a declarative shadow root - :param value: Boolean attribute - :return: An shadowrootdelegatesfocus attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An shadowrootdelegatesfocus attribute to be added to your element + + """ return BaseAttribute("shadowrootdelegatesfocus", value) @@ -42,9 +52,14 @@ def shadowrootmode(value: Literal['open', 'closed']) -> BaseAttribute: "template" attribute: shadowrootmode Enables streaming declarative shadow roots - :param value: ['open', 'closed'] - :return: An shadowrootmode attribute to be added to your element - """ # fmt: skip + Args: + value: + ['open', 'closed'] + + Returns: + An shadowrootmode attribute to be added to your element + + """ return BaseAttribute("shadowrootmode", value) @@ -56,9 +71,14 @@ def shadowrootserializable(value: bool) -> BaseAttribute: "template" attribute: shadowrootserializable Sets serializable on a declarative shadow root - :param value: Boolean attribute - :return: An shadowrootserializable attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An shadowrootserializable attribute to be added to your element + + """ return BaseAttribute("shadowrootserializable", value) \ No newline at end of file diff --git a/tools/generated/textarea_attrs.py b/tools/generated/textarea_attrs.py index c0e8115..4759b49 100644 --- a/tools/generated/textarea_attrs.py +++ b/tools/generated/textarea_attrs.py @@ -14,9 +14,14 @@ def autocomplete(value) -> BaseAttribute: "textarea" attribute: autocomplete Hint for form autofill feature - :param value: Autofill field name and related tokens* - :return: An autocomplete attribute to be added to your element - """ # fmt: skip + Args: + value: + Autofill field name and related tokens* + + Returns: + An autocomplete attribute to be added to your element + + """ return BaseAttribute("autocomplete", value) @@ -28,9 +33,14 @@ def cols(value) -> BaseAttribute: "textarea" attribute: cols Maximum number of characters per line - :param value: Valid non-negative integer greater than zero - :return: An cols attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer greater than zero + + Returns: + An cols attribute to be added to your element + + """ return BaseAttribute("cols", value) @@ -42,9 +52,14 @@ def dirname(value: StrLike) -> BaseAttribute: "textarea" attribute: dirname Name of form control to use for sending the element's directionality in form submission - :param value: Text* - :return: An dirname attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An dirname attribute to be added to your element + + """ return BaseAttribute("dirname", value) @@ -56,9 +71,14 @@ def disabled(value: bool) -> BaseAttribute: "textarea" attribute: disabled Whether the form control is disabled - :param value: Boolean attribute - :return: An disabled attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An disabled attribute to be added to your element + + """ return BaseAttribute("disabled", value) @@ -70,9 +90,14 @@ def form(value) -> BaseAttribute: "textarea" attribute: form Associates the element with a form element - :param value: ID* - :return: An form attribute to be added to your element - """ # fmt: skip + Args: + value: + ID* + + Returns: + An form attribute to be added to your element + + """ return BaseAttribute("form", value) @@ -84,9 +109,14 @@ def maxlength(value: int) -> BaseAttribute: "textarea" attribute: maxlength Maximum length of value - :param value: Valid non-negative integer - :return: An maxlength attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An maxlength attribute to be added to your element + + """ return BaseAttribute("maxlength", value) @@ -98,9 +128,14 @@ def minlength(value: int) -> BaseAttribute: "textarea" attribute: minlength Minimum length of value - :param value: Valid non-negative integer - :return: An minlength attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An minlength attribute to be added to your element + + """ return BaseAttribute("minlength", value) @@ -112,9 +147,14 @@ def name(value: StrLike) -> BaseAttribute: "textarea" attribute: name Name of the element to use for form submission and in the form.elements API - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) @@ -126,9 +166,14 @@ def placeholder(value: StrLike) -> BaseAttribute: "textarea" attribute: placeholder User-visible label to be placed within the form control - :param value: Text* - :return: An placeholder attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An placeholder attribute to be added to your element + + """ return BaseAttribute("placeholder", value) @@ -140,9 +185,14 @@ def readonly(value: bool) -> BaseAttribute: "textarea" attribute: readonly Whether to allow the value to be edited by the user - :param value: Boolean attribute - :return: An readonly attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An readonly attribute to be added to your element + + """ return BaseAttribute("readonly", value) @@ -154,9 +204,14 @@ def required(value: bool) -> BaseAttribute: "textarea" attribute: required Whether the control is required for form submission - :param value: Boolean attribute - :return: An required attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An required attribute to be added to your element + + """ return BaseAttribute("required", value) @@ -168,9 +223,14 @@ def rows(value) -> BaseAttribute: "textarea" attribute: rows Number of lines to show - :param value: Valid non-negative integer greater than zero - :return: An rows attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer greater than zero + + Returns: + An rows attribute to be added to your element + + """ return BaseAttribute("rows", value) @@ -182,9 +242,14 @@ def wrap(value: Literal['soft', 'hard']) -> BaseAttribute: "textarea" attribute: wrap How the value of the form control is to be wrapped for form submission - :param value: ['soft', 'hard'] - :return: An wrap attribute to be added to your element - """ # fmt: skip + Args: + value: + ['soft', 'hard'] + + Returns: + An wrap attribute to be added to your element + + """ return BaseAttribute("wrap", value) \ No newline at end of file diff --git a/tools/generated/th_attrs.py b/tools/generated/th_attrs.py index ca81e8e..6777cc3 100644 --- a/tools/generated/th_attrs.py +++ b/tools/generated/th_attrs.py @@ -14,9 +14,14 @@ def abbr(value: StrLike) -> BaseAttribute: "th" attribute: abbr Alternative label to use for the header cell when referencing the cell in other contexts - :param value: Text* - :return: An abbr attribute to be added to your element - """ # fmt: skip + Args: + value: + Text* + + Returns: + An abbr attribute to be added to your element + + """ return BaseAttribute("abbr", value) @@ -28,9 +33,14 @@ def colspan(value) -> BaseAttribute: "th" attribute: colspan Number of columns that the cell is to span - :param value: Valid non-negative integer greater than zero - :return: An colspan attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer greater than zero + + Returns: + An colspan attribute to be added to your element + + """ return BaseAttribute("colspan", value) @@ -42,9 +52,14 @@ def headers(value: Resolvable) -> BaseAttribute: "th" attribute: headers The header cells for this cell - :param value: Unordered set of unique space-separated tokens consisting of IDs* - :return: An headers attribute to be added to your element - """ # fmt: skip + Args: + value: + Unordered set of unique space-separated tokens consisting of IDs* + + Returns: + An headers attribute to be added to your element + + """ return BaseAttribute("headers", value) @@ -56,9 +71,14 @@ def rowspan(value: int) -> BaseAttribute: "th" attribute: rowspan Number of rows that the cell is to span - :param value: Valid non-negative integer - :return: An rowspan attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An rowspan attribute to be added to your element + + """ return BaseAttribute("rowspan", value) @@ -70,9 +90,14 @@ def scope(value: Literal['row', 'col', 'rowgroup', 'colgroup']) -> BaseAttribute "th" attribute: scope Specifies which cells the header cell applies to - :param value: ['row', 'col', 'rowgroup', 'colgroup'] - :return: An scope attribute to be added to your element - """ # fmt: skip + Args: + value: + ['row', 'col', 'rowgroup', 'colgroup'] + + Returns: + An scope attribute to be added to your element + + """ return BaseAttribute("scope", value) \ No newline at end of file diff --git a/tools/generated/time_attrs.py b/tools/generated/time_attrs.py index ae476d5..02669f6 100644 --- a/tools/generated/time_attrs.py +++ b/tools/generated/time_attrs.py @@ -14,9 +14,14 @@ def datetime(value) -> BaseAttribute: "time" attribute: datetime Machine-readable value - :param value: Valid month string, valid date string, valid yearless date string, valid time string, valid local date and time string, valid time-zone offset string, valid global date and time string, valid week string, valid non-negative integer, or valid duration string - :return: An datetime attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid month string, valid date string, valid yearless date string, valid time string, valid local date and time string, valid time-zone offset string, valid global date and time string, valid week string, valid non-negative integer, or valid duration string + + Returns: + An datetime attribute to be added to your element + + """ return BaseAttribute("datetime", value) \ No newline at end of file diff --git a/tools/generated/track_attrs.py b/tools/generated/track_attrs.py index a6fa6bc..6cf3522 100644 --- a/tools/generated/track_attrs.py +++ b/tools/generated/track_attrs.py @@ -14,9 +14,14 @@ def default(value: bool) -> BaseAttribute: "track" attribute: default Enable the track if no other text track is more suitable - :param value: Boolean attribute - :return: An default attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An default attribute to be added to your element + + """ return BaseAttribute("default", value) @@ -28,9 +33,14 @@ def kind(value: Literal['subtitles', 'captions', 'descriptions', 'chapters', 'me "track" attribute: kind The type of text track - :param value: ['subtitles', 'captions', 'descriptions', 'chapters', 'metadata'] - :return: An kind attribute to be added to your element - """ # fmt: skip + Args: + value: + ['subtitles', 'captions', 'descriptions', 'chapters', 'metadata'] + + Returns: + An kind attribute to be added to your element + + """ return BaseAttribute("kind", value) @@ -42,9 +52,14 @@ def label(value: StrLike) -> BaseAttribute: "track" attribute: label User-visible label - :param value: Text - :return: An label attribute to be added to your element - """ # fmt: skip + Args: + value: + Text + + Returns: + An label attribute to be added to your element + + """ return BaseAttribute("label", value) @@ -56,9 +71,14 @@ def src(value) -> BaseAttribute: "track" attribute: src Address of the resource - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) @@ -70,9 +90,14 @@ def srclang(value) -> BaseAttribute: "track" attribute: srclang Language of the text track - :param value: Valid BCP 47 language tag - :return: An srclang attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid BCP 47 language tag + + Returns: + An srclang attribute to be added to your element + + """ return BaseAttribute("srclang", value) \ No newline at end of file diff --git a/tools/generated/video_attrs.py b/tools/generated/video_attrs.py index ac20365..9eb7dec 100644 --- a/tools/generated/video_attrs.py +++ b/tools/generated/video_attrs.py @@ -14,9 +14,14 @@ def autoplay(value: bool) -> BaseAttribute: "video" attribute: autoplay Hint that the media resource can be started automatically when the page is loaded - :param value: Boolean attribute - :return: An autoplay attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An autoplay attribute to be added to your element + + """ return BaseAttribute("autoplay", value) @@ -28,9 +33,14 @@ def controls(value: bool) -> BaseAttribute: "video" attribute: controls Show user agent controls - :param value: Boolean attribute - :return: An controls attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An controls attribute to be added to your element + + """ return BaseAttribute("controls", value) @@ -42,9 +52,14 @@ def crossorigin(value: Literal['anonymous', 'use-credentials']) -> BaseAttribute "video" attribute: crossorigin How the element handles crossorigin requests - :param value: ['anonymous', 'use-credentials'] - :return: An crossorigin attribute to be added to your element - """ # fmt: skip + Args: + value: + ['anonymous', 'use-credentials'] + + Returns: + An crossorigin attribute to be added to your element + + """ return BaseAttribute("crossorigin", value) @@ -56,9 +71,14 @@ def height(value: int) -> BaseAttribute: "video" attribute: height Vertical dimension - :param value: Valid non-negative integer - :return: An height attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An height attribute to be added to your element + + """ return BaseAttribute("height", value) @@ -70,9 +90,14 @@ def loop(value: bool) -> BaseAttribute: "video" attribute: loop Whether to loop the media resource - :param value: Boolean attribute - :return: An loop attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An loop attribute to be added to your element + + """ return BaseAttribute("loop", value) @@ -84,9 +109,14 @@ def muted(value: bool) -> BaseAttribute: "video" attribute: muted Whether to mute the media resource by default - :param value: Boolean attribute - :return: An muted attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An muted attribute to be added to your element + + """ return BaseAttribute("muted", value) @@ -98,9 +128,14 @@ def playsinline(value: bool) -> BaseAttribute: "video" attribute: playsinline Encourage the user agent to display video content within the element's playback area - :param value: Boolean attribute - :return: An playsinline attribute to be added to your element - """ # fmt: skip + Args: + value: + Boolean attribute + + Returns: + An playsinline attribute to be added to your element + + """ return BaseAttribute("playsinline", value) @@ -112,9 +147,14 @@ def poster(value) -> BaseAttribute: "video" attribute: poster Poster frame to show prior to video playback - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An poster attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An poster attribute to be added to your element + + """ return BaseAttribute("poster", value) @@ -126,9 +166,14 @@ def preload(value: Literal['none', 'metadata', 'auto']) -> BaseAttribute: "video" attribute: preload Hints how much buffering the media resource will likely need - :param value: ['none', 'metadata', 'auto'] - :return: An preload attribute to be added to your element - """ # fmt: skip + Args: + value: + ['none', 'metadata', 'auto'] + + Returns: + An preload attribute to be added to your element + + """ return BaseAttribute("preload", value) @@ -140,9 +185,14 @@ def src(value) -> BaseAttribute: "video" attribute: src Address of the resource - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) @@ -154,9 +204,14 @@ def width(value: int) -> BaseAttribute: "video" attribute: width Horizontal dimension - :param value: Valid non-negative integer - :return: An width attribute to be added to your element - """ # fmt: skip + Args: + value: + Valid non-negative integer + + Returns: + An width attribute to be added to your element + + """ return BaseAttribute("width", value) \ No newline at end of file