From 840cceb4fe5245f50cf6dd982d9ce1ce2b38aecc Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Fri, 26 Sep 2025 21:45:47 -0400 Subject: [PATCH 01/34] Minor docs changes --- README.md | 6 ++++-- tools/generate_elements.py | 3 --- 2 files changed, 4 insertions(+), 5 deletions(-) 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/tools/generate_elements.py b/tools/generate_elements.py index 0265844..3ef6f21 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 `._` From 4700f1d6b4dc895696595ac757c8467839224d2c Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Fri, 26 Sep 2025 21:47:34 -0400 Subject: [PATCH 02/34] Typo fix --- doc/ideas/05_livereload.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` From 4775cc9271a2aa5f6ec18f05f6be77710c0849ca Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Fri, 10 Oct 2025 22:11:53 -0400 Subject: [PATCH 03/34] bugfix: emit true/false on bools. --- src/html_compose/base_attribute.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/html_compose/base_attribute.py b/src/html_compose/base_attribute.py index 9616211..b4e82d4 100644 --- a/src/html_compose/base_attribute.py +++ b/src/html_compose/base_attribute.py @@ -1,4 +1,5 @@ from typing import Iterable, Tuple +from warnings import warn from markupsafe import Markup @@ -77,6 +78,12 @@ def resolve_data(self) -> str | None: """ data = self.data + + if data is True: + return "true" + + if data is False: + return "false" # Just a string if isinstance(data, str): return data From ad7c717d1ed9746ec7ee0e9052be0e3cb8023238 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Fri, 10 Oct 2025 22:12:21 -0400 Subject: [PATCH 04/34] attribute: Warn if user sends false and we evaluated --- src/html_compose/base_attribute.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/html_compose/base_attribute.py b/src/html_compose/base_attribute.py index b4e82d4..e3b40ab 100644 --- a/src/html_compose/base_attribute.py +++ b/src/html_compose/base_attribute.py @@ -83,6 +83,15 @@ def resolve_data(self) -> str | None: return "true" if data is False: + warn( + f"Attribute fired with data set to False. " + f"We will emit {self.name}=false, but in general HTML treats " + 'attrname="any value" as true. ' + "If you are sure about this, ignore this warning with " + "warnings.filterwarnings('ignore', '" + "Attribute fired with data set to False')", + stacklevel=2, + ) return "false" # Just a string if isinstance(data, str): From 726157e38ad4fefeb3451c739e87e9b8b29c0c08 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Fri, 10 Oct 2025 22:13:29 -0400 Subject: [PATCH 05/34] Test defer / bool arg behavior --- tests/test_element.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/test_element.py b/tests/test_element.py index 2a99548..789ae5b 100644 --- a/tests/test_element.py +++ b/tests/test_element.py @@ -2,7 +2,7 @@ from bs4 import BeautifulSoup import html_compose as h -from html_compose import a, div, img +from html_compose import a, div, img, script def get_soup(input: str): @@ -141,6 +141,14 @@ def test_generic_attr(): assert el.render() == '
' +def test_defer_arg(): + """ + Confirm that boolean attributes work as expected + """ + assert script(defer=True).render() == '' + assert script(defer=False).render() == "" + + def test_kw_arg_attr(): el = div(id="test", class_="test-class", tabindex=1) assert ( From 355d147b7f5b88b3b6186b14f2fec17e8c1cc1f2 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Fri, 10 Oct 2025 22:16:42 -0400 Subject: [PATCH 06/34] Remove warning that would never fire --- src/html_compose/base_attribute.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/html_compose/base_attribute.py b/src/html_compose/base_attribute.py index e3b40ab..9d02104 100644 --- a/src/html_compose/base_attribute.py +++ b/src/html_compose/base_attribute.py @@ -1,5 +1,4 @@ from typing import Iterable, Tuple -from warnings import warn from markupsafe import Markup @@ -82,17 +81,6 @@ def resolve_data(self) -> str | None: if data is True: return "true" - if data is False: - warn( - f"Attribute fired with data set to False. " - f"We will emit {self.name}=false, but in general HTML treats " - 'attrname="any value" as true. ' - "If you are sure about this, ignore this warning with " - "warnings.filterwarnings('ignore', '" - "Attribute fired with data set to False')", - stacklevel=2, - ) - return "false" # Just a string if isinstance(data, str): return data From 16c40dc2845338ac3f44bea5c538598eca8874e2 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Fri, 10 Oct 2025 22:17:59 -0400 Subject: [PATCH 07/34] Remove dead attr resolve code --- src/html_compose/base_attribute.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/html_compose/base_attribute.py b/src/html_compose/base_attribute.py index 9d02104..4c6b8a3 100644 --- a/src/html_compose/base_attribute.py +++ b/src/html_compose/base_attribute.py @@ -88,11 +88,6 @@ def resolve_data(self) -> str | None: if isinstance(data, int): return str(data) - # Just a bool that needs to be marshalled to a string - # evaluate normally blocks this - if isinstance(data, bool): - return "true" if data else "false" - if data is None: return None From 8f89b8cf3632b3ca230c7fd80f99ff7088637b24 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Sun, 12 Oct 2025 23:48:53 -0400 Subject: [PATCH 08/34] Feature: html_compose.resource importer, streaming document generator This feature set adds automatic document setup for optimal resource loading for fonts, css, and js. It also extends the document module by adding a streaming method to return head first to the browser document_streamer is added as welll which combines the two features. --- changelog.txt | 10 + doc/ideas/06_resource_imports.md | 263 +++++++++++++++ src/html_compose/__init__.py | 17 +- src/html_compose/document.py | 167 +++++++++- src/html_compose/resource/__init__.py | 171 ++++++++++ src/html_compose/resource/css_import.py | 162 ++++++++++ src/html_compose/resource/font_import.py | 387 +++++++++++++++++++++++ src/html_compose/resource/js_import.py | 274 ++++++++++++++++ src/html_compose/resource/util_funcs.py | 75 +++++ tests/test_element.py | 6 +- tests/test_importer.py | 322 +++++++++++++++++++ 11 files changed, 1838 insertions(+), 16 deletions(-) create mode 100644 doc/ideas/06_resource_imports.md create mode 100644 src/html_compose/resource/__init__.py create mode 100644 src/html_compose/resource/css_import.py create mode 100644 src/html_compose/resource/font_import.py create mode 100644 src/html_compose/resource/js_import.py create mode 100644 src/html_compose/resource/util_funcs.py create mode 100644 tests/test_importer.py diff --git a/changelog.txt b/changelog.txt index eb1b688..162447f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,13 @@ +# 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 html_compose.document document_generator and document_streamer for use + with html_compose.resource imports, acting as the most helpful way to generate + an HTML document + + # 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/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/src/html_compose/__init__.py b/src/html_compose/__init__.py index cf881bd..d91eef5 100644 --- a/src/html_compose/__init__.py +++ b/src/html_compose/__init__.py @@ -76,6 +76,7 @@ .. include:: ../../doc/ideas/03_code_generator.md .. include:: ../../doc/ideas/04_attrs.md .. include:: ../../doc/ideas/05_livereload.md +.. include:: ../../doc/ideas/06_resource_imports.md """ from markupsafe import Markup, escape @@ -137,7 +138,13 @@ def doctype(dtype: str = "html"): create_element = CustomElement.create -from .document import HTML5Document +# ruff: noqa: F401, E402 +from .document import ( + HTML5Document, + HTML5Stream, + document_generator, + document_streamer, +) # ruff: noqa: F401, E402 from .elements import ( @@ -255,3 +262,11 @@ def doctype(dtype: str = "html"): video, wbr, ) + +# ruff: noqa: F401, E402 +from .resource import ( + css_import, + font_import_manual, + font_import_provider, + js_import, +) diff --git a/src/html_compose/document.py b/src/html_compose/document.py index 1306d3a..1e7c4b4 100644 --- a/src/html_compose/document.py +++ b/src/html_compose/document.py @@ -1,18 +1,102 @@ -from . import base_types, doctype, pretty_print, unsafe_text +from typing import Any, Generator, Iterable, Literal +from urllib.parse import urlencode + +from . import base_types, doctype, pretty_print, resource, unsafe_text from . import elements as el from .util_funcs import get_livereload_env -def HTML5Document( +def document_streamer( title: str | None = None, lang: str | None = None, - head: list | None = None, - body: list[base_types.Node] | el.body | None = None, - prettify: bool | str = False, + js: Iterable[str | resource.js_import] | None = None, + css: Iterable[str | resource.css_import] | None = None, + fonts: Iterable[resource.font_import_manual | resource.font_import_provider] + | None = None, + head_extra: Iterable[base_types.Node] | None = None, + body_content: Iterable[base_types.Node] | el.body | None = None, + stream_mode: Literal["head_only", "full"] = "head_only", +) -> Generator[str, Any, None]: + """ + A convenience function to generate a full HTML5 document. + + This is a higher-level function that wraps around HTML5Document, + allowing you to specify common elements like JavaScript and CSS imports, + as well as additional head content. + + :param title: The title of the document + :param lang: The language of the document. + English is "en", or consult HTML documentation + :param js: A list of javascript imports to include in the head + :param css: A list of CSS imports to include in the head + :param head_extra: Additional elements to include in the head + :param body_content: A 'body' element or a list of children to add to the 'body' element + :param stream_mode: If set, return a generator that yields parts of the document. + "head_only" yields the head, then full body, + "full" yields the entire document in parts. + :return: A complete HTML5 document as a string generator + """ + head_elements: list[base_types.Node] = resource.to_elements(js, css, fonts) + if head_extra: + head_elements.extend(head_extra) + return HTML5Stream( + title=title, + lang=lang, + head=head_elements, + body=body_content, + stream_mode=stream_mode, + ) + + +def document_generator( + title: str | None = None, + lang: str | None = None, + js: Iterable[str | resource.js_import] | None = None, + css: Iterable[str | resource.css_import] | None = None, + fonts: Iterable[resource.font_import_manual | resource.font_import_provider] + | None = None, + head_extra: Iterable[base_types.Node] | None = None, + body_content: Iterable[base_types.Node] | el.body | None = None, ) -> str: """ - Return an HTML5 document with the given title and content. - It also defines meta viewport for mobile support. + A convenience function to generate a full HTML5 document. + + This is a higher-level function that wraps around HTML5Document, + allowing you to specify common elements like JavaScript and CSS imports, + as well as additional head content. + + :param title: The title of the document + :param lang: The language of the document. + English is "en", or consult HTML documentation + :param js: A list of javascript imports to include in the head + :param css: A list of CSS imports to include in the head + :param head_extra: Additional elements to include in the head + :param body_content: A 'body' element or a list of children to add to the 'body' element + :return: A complete HTML5 document as a string + """ + return "".join( + document_streamer( + title=title, + lang=lang, + js=js, + css=css, + fonts=fonts, + head_extra=head_extra, + body_content=body_content, + stream_mode="full", + ) + ) + + +def HTML5Stream( + title: str | None = None, + lang: str | None = None, + head: list | None = None, + body: Iterable[base_types.Node] | el.body | None = None, + stream_mode: Literal["head_only", "full"] = "head_only", +) -> Generator[str, Any, None]: + """ + A streaming version of HTML5Document. tldr: ``` @@ -34,8 +118,11 @@ def HTML5Document( :param head: Children to add to the element, which already defines viewport and title :param body: A 'body' element or a list of children to add to the 'body' element - :param prettify: If true, prettify HTML output. - If the value is a string, use that parser for BeautifulSoup + :param stream_mode: If set, return a generator that yields parts of the document. + "head_only" yields the head, then full body, + "full" yields the entire document in parts. + + :return: A generator that yields parts of the HTML5 document as strings """ # Enable HTML5 and prevent quirks mode header = doctype("html") @@ -53,13 +140,65 @@ def HTML5Document( # Fires when HTMLCOMPOSE_LIVERELOAD=1 if live_reload_flags: head_el.append(_livereload_script_tag(live_reload_flags)) - + html_el = el.html(lang=lang).resolve() + html_el_start = next(html_el) + html_el_end = next(html_el) + yield f"{header}\n{html_el_start}\n{head_el.render()}\n\n" if isinstance(body, el.body): body_el = body else: body_el = el.body()[body] - html = el.html(lang=lang)[head_el, body_el] - result = f"{header}\n{html.render()}" + if stream_mode == "full": + for body_part in body_el.resolve(): + yield body_part + yield "\n" + yield html_el_end + elif stream_mode == "head_only": + yield f"{body_el.render()}\n{html_el_end}" + else: + raise ValueError("stream_mode must be 'head_only' or 'full'") + + +def HTML5Document( + title: str | None = None, + lang: str | None = None, + head: list | None = None, + body: Iterable[base_types.Node] | el.body | None = None, + prettify: bool | str = False, +) -> str: + """ + Return an HTML5 document with the given title and content. + It also defines meta viewport for mobile support. + + tldr: + ``` + doctype("html") + html(lang=lang)[ + head[ + meta(name="viewport", content="width=device-width, initial-scale=1.0") + title(title) + ] + body[body]] + ``` + + When using livereload, an environment variable is set which adds + livereload-js to the head of the document. + + :param title: The title of the document + :param lang: The language of the document. + English is "en", or consult HTML documentation + :param head: Children to add to the element, + which already defines viewport and title + :param body: A 'body' element or a list of children to add to the 'body' element + :param prettify: If true, prettify HTML output. + If the value is a string, use that parser for BeautifulSoup + """ + # Enable HTML5 and prevent quirks mode + result = "".join( + HTML5Stream( + title=title, lang=lang, head=head, body=body, stream_mode="full" + ) + ) if prettify: if prettify is True: return pretty_print(result) @@ -98,12 +237,12 @@ def _livereload_script_tag(live_reload_settings): # Port isn't important for these but the URI is if proxy_uri.startswith("/"): proxy_uri = proxy_uri.lstrip("/") - uri_encoded_flags = f"host={proxy_host}&path={proxy_uri}" + uri_encoded_flags = urlencode({"host": proxy_host, "path": proxy_uri}) else: # Regular development enviroment with no proxy. host:port will do. host = live_reload_settings["host"] port = live_reload_settings["port"] - uri_encoded_flags = f"host={host}&port={port}" + uri_encoded_flags = urlencode({"host": host, "port": port}) # This scriptlet auto-inserts the livereload script and detects protocol return el.script()[ diff --git a/src/html_compose/resource/__init__.py b/src/html_compose/resource/__init__.py new file mode 100644 index 0000000..49582ba --- /dev/null +++ b/src/html_compose/resource/__init__.py @@ -0,0 +1,171 @@ +""" +Resource import helper classes + +For javascript: +* Manage preload +* Manage import maps +* Manage cache busting for local resources +* Manage SRI hashes + +For css: +* Manage preload +* Manage cache busting for local resources +* Manage SRI hashes + +For fonts: +* Manage preconnect +* Manage preload +* Manage css @font-face generation or importing from providers i.e. Google Fonts + +""" + +import json +from typing import Any, Iterable + +from .. import base_types, unsafe_text +from .. import elements as el + + +class settings: + """ + Global settings for js_import/css_import behavior. + + `base_dir` is base directory from which local static files are served + and is used to construct cache busting URLs. + """ + + # Base directory when resolving relative paths for local resources + base_dir = "." + # html-compose cache-buster timestamp + query_string = "hccbts" + # Maximum number of cached URIs for cache busting + cache_cap = 1000 + stat_poll_interval: int | float = 1 # seconds + + +class _State: + """ + Internal state for local static resource imports + """ + + stat_cache: dict[str, int | float] = {} + + misc_stat_cache: dict[str, int | float] = {} + + +from .css_import import css_import # noqa: E402 +from .font_import import font_import_manual, font_import_provider # noqa: E402 +from .js_import import js_import # noqa: E402 + + +def to_elements( + js: Iterable[str | js_import] | None = None, + css: Iterable[str | css_import] | None = None, + fonts: Iterable[font_import_manual | font_import_provider] | None = None, +): + """ + Generate elements for `head` element from resource imports + + Depending on your use case consider caching the resolution of this function + + + :param js: Javascript imports. A string is treated as a simple script src + :param css: CSS imports. A string is treated as a simple link rel=stylesheet + :param fonts: Font imports + """ + head_elements: list[base_types.Node] = [] + + preconnect_links = [] + preload_links = [] + links = [] + if css: + for css_resource in css: + if isinstance(css_resource, css_import): + for link in css_resource.links(): + links.append(link) + for preload in css_resource.preloads(): + preload_links.append(preload) + else: + if not isinstance(css_resource, str): + raise TypeError("css must be str or css_import") + + links.append(el.link(rel="stylesheet", href=css_resource)) + + script_tags = [] + if js: + # + js_imports: dict[str, str] = {} + scopes: dict[str, dict[str, str]] = {} + for js_src in js: + if isinstance(js_src, js_import): + jsi: js_import = js_src + # Generate script tag + script_tags.append(jsi.script()) + link = jsi.preload_link() + if link: + preload_links.append(link) + + entry = jsi.import_map_entry() + if entry: + # Add to import map + name, src = entry[0:2] + js_imports[name] = src + if len(entry) == 3: + # Scopes feature, although I can't imagine anyone + # using it. + scope = str(entry[2]) + sdict = scopes.setdefault(scope, {}) + sdict[name] = src + + else: + if not isinstance(js_src, str): + raise TypeError("js must be str or js_import") + script_tags.append(el.script(src=js_src)) + + if js_imports: + import_map: dict[str, Any] = {"imports": js_imports} + if scopes: + import_map["scopes"] = scopes + # dump to json; prevent escapes + js_dump = json.dumps(import_map).replace("<", "\\u003c") + script_tags.insert( + 0, el.script(type="importmap")[unsafe_text(js_dump)] + ) + style_text: list[str] = [] + if fonts: + for font in fonts: + # Each font may be a different kind but the interface means + # we capture anything they generate + links.extend(font.links()) + preconnect_links.extend(font.preconnect_links()) + preload_links.extend(font.preload_links()) + style_data = font.style_data() + if style_data: + style_text.append(style_data) + + if preconnect_links: + head_elements.extend(preconnect_links) + + if preload_links: + head_elements.extend(preload_links) + + if links: + head_elements.extend(links) + + if style_text: + head_elements.append(el.style()[unsafe_text("\n".join(style_text))]) + + if script_tags: + head_elements.extend(script_tags) + + return head_elements + + +__all__ = [ + "js_import", + "css_import", + "font_import_manual", + "font_import_provider", + "to_elements", + "settings", +] diff --git a/src/html_compose/resource/css_import.py b/src/html_compose/resource/css_import.py new file mode 100644 index 0000000..d99937b --- /dev/null +++ b/src/html_compose/resource/css_import.py @@ -0,0 +1,162 @@ +from typing import Literal + +from .. import elements as el +from .util_funcs import _cachebust_resource_uri + + +class css_import: + """ + A css import helper class which employs: + - `link(rel="stylesheet")` to define the import + - `link(rel="preload")` to preload the import + - `hash` and `crossorigin` for SRI + - Local resource cache busting + + An production usage might look like: + ```python + [ + css_import('./static/admin.css', + cache_bust=True), + + css_import( + "https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css", + hash=( + "sha384-9ndCyUaIbzAi2FUVXJi0CjmCapS" + "mO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" + ), + crossorigin="anonymous", + preload=True + ) + + ] + ... + + ... + + ## Generated "HTML": + + ```python + import json + from html_compose import el + + [ + link(rel='preload', + href='https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css', + as_='style', + integrity='sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7' + 'SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM', + crossorigin='anonymous'), + + link(rel='stylesheet', href='./static/admin.css?ts=1760153426'), + + link(rel='stylesheet', + href='https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css', + integrity='sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7' + 'SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM', + crossorigin='anonymous') + ] + ``` + + See: + https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/preload + https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity + https://www.srihash.org/ + + """ + + def __init__( + self, + href: str, + preload: bool = False, + hash: str | None = None, + crossorigin: Literal["", "anonymous", "user-credentials"] + | str + | None = None, + cache_bust: bool = False, + ): + """ + A css import wrapper to wrap some of the complexity of optimal + resource loading. + + + Parameters + ---------- + `href`: + The literal href passed to the link tag + + `preload`: + If true, adds a preload link for this resource + + `hash`: + An optional SRI integrity hash for the import + + `crossorigin`: + Optionally sets the crossorigin attribute on the link tag. + Valid values are "", "anonymous", "use-credentials" + + `cache_bust`: + If true, appends a timestamp to the URL to prevent browser + caching. Webservers configured for static resources manage this + feature automatically, but for development this can be useful. + + This feature only works for local resources, i.e. those that + exist in `resource.settings.base_dir` + + """ + self.href = href + self.preload = preload + self.hash = hash + self.crossorigin = crossorigin + self.cache_bust = cache_bust + self.has_link = preload + self._href = self.uri() + + if hash and self.crossorigin is None: + raise ValueError( + "If hash is set, crossorigin must be set to ''/'anonymous'" + ) + + def uri(self): + """ + Returns the source URI - with cache busting if enabled + which is implemented by getting the mtime of the local file + + This operation performs up to two fs stats per call + + 1. The base static directory is checked once and cached per interpreter + 2. The specific resource is checked if it is time to poll again + based on settings.stat_poll_interval + """ + if not self.cache_bust: + return self.href + + return _cachebust_resource_uri(self.href) + + def preloads(self) -> list[el.link]: + """ + Returns a link element for preloading this import if preload is set + """ + attrs = {"href": self._href} + if self.hash: + attrs["integrity"] = self.hash + if self.crossorigin: + attrs["crossorigin"] = self.crossorigin + if self.preload: + return [el.link(attrs=attrs, rel="preload", as_="style")] + + return [] + + def links(self): + """ + Returns one or more link element for this import + """ + links = [] + attrs = {"href": self._href} + if self.hash: + attrs["integrity"] = self.hash + if self.crossorigin: + attrs["crossorigin"] = self.crossorigin + + links.append(el.link(attrs=attrs, rel="stylesheet")) + + return links diff --git a/src/html_compose/resource/font_import.py b/src/html_compose/resource/font_import.py new file mode 100644 index 0000000..5eedf78 --- /dev/null +++ b/src/html_compose/resource/font_import.py @@ -0,0 +1,387 @@ +from typing import Iterable, Literal + +from .. import elements as el +from .util_funcs import _cachebust_resource_uri + +_AUTODETECT_CSS_FONT_TYPES = { + "otc": "collection", + "ttc": "collection", + "eot": "embedded-opentype", + "otf": "opentype", + "ttf": "truetype", + "svg": "svg", + "svgz": "svg", + "woff": "woff", + "woff2": "woff2", +} + +_AUTODETECT_FONT_MIMETYPES = { + "otc": "font/collection", + "ttc": "font/collection", + "eot": "application/vnd.ms-fontobject", + "otf": "font/otf", + "ttf": "font/ttf", + "svg": "image/svg+xml", + "woff": "font/woff", + "woff2": "font/woff2", +} + + +class _font_import_base: + def preload_links(self) -> list[el.link]: + raise NotImplementedError() + + def links(self) -> list[el.link]: + raise NotImplementedError() + + def style_data(self) -> str: + raise NotImplementedError() + + def preconnect_links(self) -> list[el.link]: + raise NotImplementedError() + + +class font_import_manual(_font_import_base): + def __init__( + self, + hrefs: str | Iterable[str], + family: str, + weight: int + | tuple + | str + | Literal["bold", "light", "lighter", "bolder", "normal"] + | None = "normal", + style: Literal["normal", "italic", "oblique"] | str = "normal", + display: Literal["swap", "optional", "fallback", "auto", "block"] + | str = "swap", + preload: bool = True, + crossorigin: Literal["", "anonymous", "use-credentials"] | None = None, + unicode_range: str | None = None, + cache_bust: bool = False, + ) -> None: + """ + Declare a web font via @font-face and (optionally) emit + a preload ``. + This initializer targets the direct-file flow (you supply the exact .woff2 URL). + + If multiple hrefs are provided, preload must choose only one and so + the first href is used for preload and the rest are only + in the @font-face. + + Values are passed verbatim. NEVER use this with untrusted user input. + + Parameters + ---------- + + `hrefs`: + 1 or more URL to the font file (typically .woff2). + Pass a str for a single URL, or an iterable of str for multiple URLs. + + The @font-face `src` will reference this URL verbatim. + + `family`: + CSS `font-family` name to expose (e.g., "Noto Sans"). + Do not include quotes; they are added automatically. + + `weight`: + Single numeric weight (e.g., 400) for a static face, or a `(low, high)` + tuple (e.g., `(100, 900)`) for a variable font range. + + `style`: + Font style for this face: `"normal"` or `"italic"`. Declare another + instance for the other style if needed. + + `display`: + `font-display` strategy. `"swap"` is a safe default to avoid FOIT. + + `preload`: + If `True`, also create a `` for `href`. + Preload only warms the fetch; the @font-face rule still does the actual use. + + `crossorigin`: + CORS mode for cross-origin fonts. When unset, it is + fetched as same-origin Use `""` or `anonymous` for most CDN/remote + cases, or `"use-credentials"` to pass cookies if strictly necessary. + + `unicode_range`: + Optional CSS `unicode-range` (e.g., `"U+0000-00FF"`) to subset coverage. + """ + if isinstance(hrefs, str): + hrefs = [hrefs] + self.hrefs = hrefs + self.weight = weight + self.style = style + self.display = display + self.preload = preload + self.crossorigin = crossorigin + self.cache_bust = cache_bust + self.has_link = preload + self.unicode_range = unicode_range + self._hrefs = self.uris() + + # Escape most stuff that could break out of quotes + safe_family = ( + family.replace("\\", "\\\\").replace("'", "\\'").replace('"', '\\"') + ) + self.family = safe_family + + def uris(self) -> list[str]: # -> list[str] | list[Any]: + """ + Returns the source URI - with cache busting if enabled + which is implemented by getting the mtime of the local file + + This operation performs up to two fs stats per call + + 1. The base static directory is checked once and cached per interpreter + 2. The specific resource is checked if it is time to poll again + based on settings.stat_poll_interval + """ + hrefs = [] + for h in self.hrefs: + if not self.cache_bust: + hrefs.append(h) + continue + + hrefs.append(_cachebust_resource_uri(h)) + return hrefs + + @staticmethod + def get_font_format(href: str) -> str | None: + ext = href.split(".")[-1].lower() + return _AUTODETECT_CSS_FONT_TYPES.get(ext, None) + + @staticmethod + def get_font_mime(href: str) -> str | None: + ext = href.split(".")[-1].lower() + return _AUTODETECT_FONT_MIMETYPES.get(ext, None) + + def preload_links(self) -> list[el.link]: + """ + Returns preload links if preload is set + """ + if not self.preload: + return [] + + first_href = self._hrefs[0] + attrs = {"href": first_href} + + if self.crossorigin: + attrs["crossorigin"] = self.crossorigin + + mimetype = font_import_manual.get_font_mime(first_href) + + if mimetype: + attrs["type"] = mimetype + + return [el.link(attrs=attrs, rel="preload", as_="font")] + + def links(self) -> list[el.link]: + return [] + + def style_data(self) -> str: + """ + Returns one or more nodes for this import + """ + + font_refs = [] + + if len(self._hrefs) == 1: + # we don't have to hint format if there's only one + font_refs.append(f"url('{self._hrefs[0]}')") + else: + for h in self._hrefs: + entry = f"url('{h}')" + format = font_import_manual.get_font_format(h) + if format: + entry += f" format('{format}')" + + font_refs.append(entry) + + if isinstance(self.weight, tuple): + font_weight = f"{self.weight[0]} {self.weight[1]}" + elif isinstance(self.weight, str): + font_weight = self.weight + elif isinstance(self.weight, int): + font_weight = str(self.weight) + else: + raise TypeError("font weight must be int, str, or tuple") + + style_attrs = { + "font-family": f"'{self.family}'", + "src": ",\n\t\t".join(font_refs), + "font-style": self.style, + "font-display": self.display, + "font-weight": font_weight, + "unicode-range": self.unicode_range, + } + for k in list(style_attrs.keys()): + v = style_attrs[k] + if v is None: + del style_attrs[k] + + return "\n".join( + [ + "@font-face {", + "".join( + [ + "\t", + ";\n\t".join( + [f"{k}: {v}" for k, v in style_attrs.items()] + ), + ";", # Ensure last property ends with semicolon + ] + ), + "}", + ] + ) + + def preconnect_links(self) -> list[el.link]: + return [] + + +class font_import_provider(_font_import_base): + def __init__( + self, + href: str, + preload: bool = False, + hash: str | None = None, + crossorigin: Literal["", "anonymous", "user-credentials"] + | str + | None = None, + cache_bust: bool = False, + preconnect: list[str] | None = None, + preconnect_crossorigin: Literal["", "anonymous", "user-credentials"] + | None = None, + ): + """ + A font import helper class for css based imports which employs: + - `link(rel="stylesheet")` to define the import + - `link(rel="preload")` to preload the import + - `link(rel="preconnect")` to preconnect to font providers + - `hash` and `crossorigin` for SRI + - Local resource cache busting + + NEVER use this with untrusted user input. + + Parameters + ---------- + `href`: + The literal href of the CSS resource which sets up the font + + `preload`: + If true, adds a preload link for this resource + + `hash`: + An optional SRI integrity hash for the import + + `crossorigin`: + Optionally sets the crossorigin attribute on the link tag. + Valid values are "", "anonymous", "use-credentials" + + `preconnect`: + A list of URLs to preconnect to. This is useful for font providers + such as Google Fonts. + + `preconnect_crossorigin`: + Optionally sets the crossorigin attribute on the preconnect link tag. + If not set, it defaults to the value of `crossorigin`. + + `cache_bust`: + If true, appends a timestamp to the URL to prevent browser + caching. Webservers configured for static resources manage this + feature automatically, but for development this can be useful. + + This feature only works for local resources, i.e. those that + exist in `resource.settings.base_dir` + + """ + self.href = href + self.preload = preload + self.hash = hash + self.crossorigin = crossorigin + self.cache_bust = cache_bust + self.has_link = preload + self._href = self.uri() + self.preconnect = preconnect + + if hash and self.crossorigin is None: + raise ValueError( + "If hash is set, crossorigin must be set to ''/'anonymous'" + ) + self.preconnect_crossorigin = preconnect_crossorigin + if preconnect_crossorigin is None: + if self.crossorigin != "user-credentials": + self.preconnect_crossorigin = self.crossorigin + else: + raise ValueError( + "Please set preconnect_crossorigin explicitly if " + "crossorigin is 'user-credentials'" + ) + + def uri(self): + """ + Returns the source URI - with cache busting if enabled + which is implemented by getting the mtime of the local file + + This operation performs up to two fs stats per call + + 1. The base static directory is checked once and cached per interpreter + 2. The specific resource is checked if it is time to poll again + based on settings.stat_poll_interval + """ + if not self.cache_bust: + return self.href + + return _cachebust_resource_uri(self.href) + + def preload_links( + self, + ) -> list[el.link]: # -> list[Any]:# -> list[Any]:# -> list[Any]: + """ + Returns preload links if preload is set + """ + + links = [] + + if self.preload: + attrs = {"href": self._href} + if self.hash: + attrs["integrity"] = self.hash + if self.crossorigin: + attrs["crossorigin"] = self.crossorigin + links.append(el.link(attrs=attrs, rel="preload", as_="style")) + + return links + + def links(self) -> list[el.link]: + """ + Returns link elements for this import + """ + links = [] + + attrs = {"href": self._href} + if self.hash: + attrs["integrity"] = self.hash + if self.crossorigin: + attrs["crossorigin"] = self.crossorigin + + links.append(el.link(attrs=attrs, rel="stylesheet")) + + return links + + def style_data(self) -> str: + # Fonts imported via CSS do not have style nodes + return "" + + def preconnect_links(self) -> list[el.link]: + """ + Returns generated preconnect link elements for this import + """ + links = [] + if self.preconnect: + for pc in self.preconnect: + pc_attrs = {"href": pc} + if self.preconnect_crossorigin: + pc_attrs["crossorigin"] = self.preconnect_crossorigin + links.append(el.link(attrs=pc_attrs, rel="preconnect")) + return links diff --git a/src/html_compose/resource/js_import.py b/src/html_compose/resource/js_import.py new file mode 100644 index 0000000..5224b3c --- /dev/null +++ b/src/html_compose/resource/js_import.py @@ -0,0 +1,274 @@ +from typing import Iterable, Literal + +from .. import elements as el +from ..util_funcs import flatten_iterable, is_iterable_but_not_str +from .util_funcs import _cachebust_resource_uri + + +class js_import: + """ + A javascript import helper class which employs one or more of: + + - `script(` to define the import + - `importmap` which maps javascript module names to URLs + Setting the name parameter like so + ```python + js_import( + "https://cdn.jsdelivr.net/npm/alpinejs@3.15.0/+esm", + name="alpinejs") + ``` + creates an import map so javascript modules can be imported by name + - `link(rel="modulepreload")` to preload the import + - if cache_bust is true, appends a timestamp to the URL to + + An production usage might look like: + + ```python + [ + 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" + ), + + ] + ``` + + ... + + ## Usage in window: + + ```python + script(type="module")[ + ''' + import Alpine from 'alpinejs' + window.Alpine = Alpine + Alpine.start() + ''' + ] + + ... + + ## Generated "HTML": + + ```python + import json + from html_compose import el, unsafe_text + + [ + el.script(type="importmap")[ + unsafe_text('{"imports": {"admin": "./static/admin.js?ts=1760157623", "alpinejs": "https://cdn.jsdelivr.net/npm/alpinejs@3.15.0/+esm"}}') + ], + + el.link(href="./static/admin.js?ts=1760157623", rel=["modulepreload"]), + + + el.link( + href="https://cdn.jsdelivr.net/npm/alpinejs@3.15.0/+esm", + integrity="sha384-Yf57wlxlrA1+0X6Ye9NOBxQ1tpmiwI/9mFpv9tT/Rh2UAajwwAlTWHnvTGYhgv7p", + crossorigin="anonymous", + rel=["modulepreload"], + ), + + el.script(src="./static/admin.js?ts=1760157623", type="module"), + + el.script( + src="https://cdn.jsdelivr.net/npm/alpinejs@3.15.0/+esm", + type="module", + integrity="sha384-Yf57wlxlrA1+0X6Ye9NOBxQ1tpmiwI/9mFpv9tT/Rh2UAajwwAlTWHnvTGYhgv7p", + crossorigin="anonymous", + ), + ] + ``` + + See: + - 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 + - https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity + - https://www.srihash.org/ + + """ + + def __init__( + self, + source: str, + name: str | None = None, + preload: bool = False, + hash: str | None = None, + async_: bool = False, + defer: bool = False, + nomodule: bool = False, + scope_url: str | Iterable[str] | None = None, + crossorigin: Literal["", "anonymous", "user-credentials"] + | str + | None = None, + cache_bust: bool = False, + ): + """ + A javascript import wrapper to manage optimal window import strategies. + + If name is set, the import is added to an import map and imported + as a module. + + Parameters + ---------- + `source`: + The literal src passed to tags i.e. script and link preload. + + If cache_bust is set, a timestamp is appended to the URL. + `name`: + The name of the import, e.g. "lodash" which can be used in + javascript type="module" imports. + + Doing this automatically changes the script type to module + + `preload`: + The modulepreload keyword, for the rel attribute of the `` + element, provides a declarative way to preemptively fetch a module + script, parse and compile it, and store it in the document's module + map for later execution. + + If this is not a javascript module (i.e. name is not set), + the rel attribute is set to "preload" and the as_ attribute + is set to "script" instead. + + `async_`: + The async attribute causes the script to be executed asynchronously as soon as it is available, + without blocking HTML parsing. + + `defer`: + Defers script execution until document parsing is complete. + Has no effect on module scripts (they are deferred by default). + + `nomodule`: + Added to script tag. + + Indicates that the script should not be executed in browsers that + support ES modules — in effect, this can be used to serve fallback + scripts to older browsers that do not support javascript modules. + + `hash`: + An optional SRI integrity hash for the import + + `crossorigin`: + Optionally sets the crossorigin attribute on the script tag. + Valid values are "", "anonymous", "use-credentials" + + `cache_bust`: + If true, appends a timestamp to the URL to work with browser + caching. Webservers configured for static resources manage this + feature automatically, but for development this can be useful. + + This feature only works for local resources, i.e. those that + exist relative to `resource.settings.base_dir` + + `scope_url`: + Optional route or list of paths where this import should be + included. + + Scopes let you have different mappings for different parts of your + app. + + Because they affect the import map but not what is loaded - + the script tag controls what loads - they are rarely used. + + """ + + self.name = name + self.source = source + self.preload = preload + self.hash = hash + self.scope_url = scope_url + if scope_url and is_iterable_but_not_str(scope_url): + self.scope_url = flatten_iterable(scope_url) + self.crossorigin = crossorigin + self.cache_bust = cache_bust + self.has_link = preload + self.async_ = async_ + self.defer = defer + self.nomodule = nomodule + self._src = self.uri() + if hash and self.crossorigin is None: + raise ValueError( + "If hash is set, crossorigin must be set to ''/'anonymous'" + ) + + def uri(self): + """ + Returns the source URI - with cache busting if enabled + which is implemented by getting the mtime of the local file + + This operation performs up to two fs stats per call + + 1. The base static directory is checked once and cached per interpreter + 2. The specific resource is checked if it is time to poll again + based on settings.stat_poll_interval + """ + if not self.cache_bust: + return self.source + + return _cachebust_resource_uri(self.source) + + def import_map_entry( + self, + ) -> tuple[str, str] | tuple[str, str, Iterable] | None: + """ + Returns a tuple of (name, source, scope_url) for use in an import map + """ + if self.name: + if self.scope_url is None: + return (self.name, self._src) + else: + return (self.name, self._src, self.scope_url) + + return None + + def preload_link(self) -> el.link | None: + """ + Returns one or more link element for this import + """ + if self.preload: + attrs = {"href": self._src} + if self.hash: + attrs["integrity"] = self.hash + if self.crossorigin: + attrs["crossorigin"] = self.crossorigin + if self.name: + return el.link(attrs=attrs, rel="modulepreload") + else: + return el.link(attrs=attrs, rel="preload", as_="script") + + return None + + def script(self) -> el.script: + """ + Returns a script tag for this import + """ + attrs: dict[str, str | bool] = {"src": self._src} + + if self.name: + attrs["type"] = "module" + if self.hash: + attrs["integrity"] = self.hash + if self.crossorigin: + attrs["crossorigin"] = self.crossorigin + if self.async_: + attrs["async"] = True + if self.defer and not self.name: + # Only set defer for non-modules + attrs["defer"] = True + if self.nomodule: + attrs["nomodule"] = True + + return el.script(attrs=attrs) diff --git a/src/html_compose/resource/util_funcs.py b/src/html_compose/resource/util_funcs.py new file mode 100644 index 0000000..6090d88 --- /dev/null +++ b/src/html_compose/resource/util_funcs.py @@ -0,0 +1,75 @@ +import urllib +import urllib.parse +from os import path, stat +from time import time + +from . import _State, settings + + +def _cachebust_resource_uri(source: str): + """ + Returns the source URI - with cache busting if enabled + which is implemented by getting the mtime of the local file + + This operation performs up to two fs stats per call + + 1. The base static directory is checked once and cached per interpreter + 2. The specific resource is checked if it is time to poll again + based on settings.stat_poll_interval + """ + + misc_stat_cache = _State.misc_stat_cache + stat_cache = _State.stat_cache + cache_cap = settings.cache_cap + stat_poll_interval = settings.stat_poll_interval + base_dir = settings.base_dir + query_string = settings.query_string + base_dir = base_dir + if misc_stat_cache.get(base_dir) is None: + try: + misc_stat_cache[base_dir] = int(stat(base_dir).st_mtime) + except FileNotFoundError as exc: + raise FileNotFoundError( + "js_import cache_bust enabled but " + f"js_import.settings.base_dir {base_dir} " + "does not exist" + ) from exc + + resource_path = path.join(base_dir, source) + now = time() + ts = misc_stat_cache.get(path.join(base_dir, source), None) + update_ts = ts is None or (now - ts) > stat_poll_interval + if update_ts: + try: + ts = int(stat(resource_path).st_mtime) + except FileNotFoundError as exc: + raise FileNotFoundError( + "js_import cache_bust enabled but " + f"resource {resource_path} " + "does not exist" + ) from exc + + if len(stat_cache) >= cache_cap: + # Clear if it's too big + stat_cache.clear() + stat_cache[resource_path] = ts + + assert ts is not None, "ts should be set by now" + + spliturl = urllib.parse.urlsplit(source) + pairs = urllib.parse.parse_qsl( + spliturl.query, + keep_blank_values=True, + encoding="utf-8", + errors="surrogateescape", + ) + # add our cache buster + pairs.append((query_string, str(int(ts)))) + # re assemble the query string, try our best to preservees exactly + new_qs = urllib.parse.urlencode( + pairs, + quote_via=urllib.parse.quote, + encoding="utf-8", + errors="surrogateescape", + ) + return spliturl._replace(query=new_qs).geturl() diff --git a/tests/test_element.py b/tests/test_element.py index 789ae5b..91cf7e7 100644 --- a/tests/test_element.py +++ b/tests/test_element.py @@ -196,7 +196,11 @@ def test_document(): expected = "\n".join( [ "", - 'Test

demo 2

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

demo 2

", + "", ] ) assert doc == expected diff --git a/tests/test_importer.py b/tests/test_importer.py new file mode 100644 index 0000000..331230e --- /dev/null +++ b/tests/test_importer.py @@ -0,0 +1,322 @@ +import pytest + +import html_compose.elements as el +from html_compose.document import document_streamer +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( + "".join( + document_streamer( + title="demo", + lang="en", + js=js, + css=css, + fonts=fonts, + body_content=[el.h1()["Hello world"]], + stream_mode="full", + ) + ) + ) + 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 = document_streamer( + title="demo", + lang="en", + js=js, + css=css, + body_content=[el.h1()["Hello world"]], + stream_mode="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" From 272afbd1dbaf84832076404733137f68b9e92849 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Sun, 12 Oct 2025 23:49:22 -0400 Subject: [PATCH 09/34] Minor docs fixes --- doc/ideas/03_code_generator.md | 22 ++++++++++++++++------ doc/ideas/04_attrs.md | 4 ++-- 2 files changed, 18 insertions(+), 8 deletions(-) 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..b759ee3 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 From 2264b85d6c518a07dba51834fc43a46a4c62cf98 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Sun, 12 Oct 2025 23:49:40 -0400 Subject: [PATCH 10/34] Minor docstring fixes --- src/html_compose/attributes/__init__.py | 6 ++++++ src/html_compose/elements/__init__.py | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/html_compose/attributes/__init__.py b/src/html_compose/attributes/__init__.py index 530abb0..c956f49 100644 --- a/src/html_compose/attributes/__init__.py +++ b/src/html_compose/attributes/__init__.py @@ -1,3 +1,9 @@ +""" +This module contains HTML attributes. + +They typically aren't imported directly +""" + # ruff: noqa from ..base_attribute import BaseAttribute from .global_attrs import GlobalAttrs diff --git a/src/html_compose/elements/__init__.py b/src/html_compose/elements/__init__.py index d3e8c24..642c5ca 100644 --- a/src/html_compose/elements/__init__.py +++ b/src/html_compose/elements/__init__.py @@ -44,9 +44,6 @@ 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 `._` From 9966bde0502969eff088bc16b9f366a7e4d0a317 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Mon, 13 Oct 2025 22:55:56 -0400 Subject: [PATCH 11/34] Redo the module docstring I had trouble reading the docs from our docs page, so I decided this needed a full pass. The quick start was polished, and we added some stuff like document_generator. --- src/html_compose/__init__.py | 192 +++++++++++++++++++++++++++++------ 1 file changed, 160 insertions(+), 32 deletions(-) diff --git a/src/html_compose/__init__.py b/src/html_compose/__init__.py index d91eef5..2f595a1 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 `' + 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 From 1d3c31ccc385390393e0be5031ddea5309ed6821 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Tue, 14 Oct 2025 23:50:22 -0400 Subject: [PATCH 15/34] Importer changelog --- changelog.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changelog.txt b/changelog.txt index 162447f..66eec59 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,9 @@ * Add html_compose.document document_generator and document_streamer for use with html_compose.resource imports, acting as the most helpful way to generate an HTML document +* Importer improvements: Survive round trip for more text. Output single elements + when we identify an attribtue could be a list +* Minor documentation improvements # 0.10.1 From c28576ce9bddd157814093b798415d41ab6dd4d1 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Tue, 14 Oct 2025 23:50:47 -0400 Subject: [PATCH 16/34] mypy fixes --- src/html_compose/resource/font_import.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/html_compose/resource/font_import.py b/src/html_compose/resource/font_import.py index 5eedf78..cd6083b 100644 --- a/src/html_compose/resource/font_import.py +++ b/src/html_compose/resource/font_import.py @@ -309,9 +309,9 @@ def __init__( "If hash is set, crossorigin must be set to ''/'anonymous'" ) self.preconnect_crossorigin = preconnect_crossorigin - if preconnect_crossorigin is None: + if preconnect_crossorigin is None and self.crossorigin: if self.crossorigin != "user-credentials": - self.preconnect_crossorigin = self.crossorigin + self.preconnect_crossorigin = self.crossorigin # type: ignore[assignment] else: raise ValueError( "Please set preconnect_crossorigin explicitly if " From 5846c26d48b1b068f7524e413e1be43742805fc4 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Tue, 14 Oct 2025 23:51:38 -0400 Subject: [PATCH 17/34] Should just improve readability on this iterator --- src/html_compose/translate_html.py | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/html_compose/translate_html.py b/src/html_compose/translate_html.py index 52f1be3..be3c892 100644 --- a/src/html_compose/translate_html.py +++ b/src/html_compose/translate_html.py @@ -3,7 +3,7 @@ from functools import cache from typing import Any, cast -from bs4 import BeautifulSoup, NavigableString, Tag +from bs4 import BeautifulSoup, NavigableString, PageElement, Tag from bs4.element import Doctype from . import BaseElement, escape_text @@ -161,7 +161,7 @@ def translate(html: str, import_module: str | None = None) -> TranslateResult: import_unsafe_text = False - def process_element(element) -> str | None: + def process_element(element: PageElement) -> str | None: if isinstance(element, Doctype): dt: Doctype = element tags["doctype"] = None @@ -250,19 +250,15 @@ def process_element(element) -> str | None: # We step backwards until we find a tag prev_tag = next( ( - cast(Tag, child_nodes[j]) - for j in range(i - 1, -1, -1) - if isinstance(child_nodes[j], Tag) + j + for j in reversed(child_nodes[:i]) + if isinstance(j, Tag) ), None, ) # Same deal, forwards until we find a tag next_tag = next( - ( - cast(Tag, child_nodes[j]) - for j in range(i + 1, len(child_nodes)) - if isinstance(child_nodes[j], Tag) - ), + (j for j in child_nodes[i + 1 :] if isinstance(j, Tag)), None, ) processed = read_string( From 230723a7b548931459142a266734d4fae8c1fe56 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Tue, 14 Oct 2025 23:52:13 -0400 Subject: [PATCH 18/34] Remove unused import --- src/html_compose/translate_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html_compose/translate_html.py b/src/html_compose/translate_html.py index be3c892..dda79f1 100644 --- a/src/html_compose/translate_html.py +++ b/src/html_compose/translate_html.py @@ -1,7 +1,7 @@ import inspect import re from functools import cache -from typing import Any, cast +from typing import Any from bs4 import BeautifulSoup, NavigableString, PageElement, Tag from bs4.element import Doctype From 3cfbf24eb603bdbc01986b729058a87e3fccf31c Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Sat, 1 Nov 2025 10:12:08 -0400 Subject: [PATCH 19/34] Pyright/Zed prefers google style docstrings First pass Parameter hints weren't displaying at all which is the opposite of what we want. We're going to try a 'value hint' prefix for the untyped elements. --- src/html_compose/attributes/a_attrs.py | 120 +- src/html_compose/attributes/abbr_attrs.py | 15 +- src/html_compose/attributes/area_attrs.py | 135 +- src/html_compose/attributes/audio_attrs.py | 105 +- src/html_compose/attributes/base_attrs.py | 30 +- src/html_compose/attributes/bdo_attrs.py | 15 +- .../attributes/blockquote_attrs.py | 15 +- src/html_compose/attributes/body_attrs.py | 270 ++- src/html_compose/attributes/button_attrs.py | 180 +- src/html_compose/attributes/canvas_attrs.py | 30 +- src/html_compose/attributes/col_attrs.py | 15 +- src/html_compose/attributes/colgroup_attrs.py | 15 +- src/html_compose/attributes/data_attrs.py | 15 +- src/html_compose/attributes/del_attrs.py | 30 +- src/html_compose/attributes/details_attrs.py | 30 +- src/html_compose/attributes/dfn_attrs.py | 15 +- src/html_compose/attributes/dialog_attrs.py | 15 +- src/html_compose/attributes/embed_attrs.py | 60 +- src/html_compose/attributes/fieldset_attrs.py | 45 +- src/html_compose/attributes/form_attrs.py | 120 +- src/html_compose/attributes/global_attrs.py | 1485 +++++++++++------ src/html_compose/attributes/iframe_attrs.py | 150 +- src/html_compose/attributes/img_attrs.py | 195 ++- src/html_compose/attributes/input_attrs.py | 525 ++++-- src/html_compose/attributes/ins_attrs.py | 30 +- src/html_compose/attributes/label_attrs.py | 15 +- src/html_compose/attributes/li_attrs.py | 15 +- src/html_compose/attributes/link_attrs.py | 255 ++- src/html_compose/attributes/map_attrs.py | 15 +- src/html_compose/attributes/meta_attrs.py | 75 +- src/html_compose/attributes/meter_attrs.py | 90 +- src/html_compose/attributes/object_attrs.py | 90 +- src/html_compose/attributes/ol_attrs.py | 45 +- src/html_compose/attributes/optgroup_attrs.py | 30 +- src/html_compose/attributes/option_attrs.py | 60 +- src/html_compose/attributes/output_attrs.py | 45 +- src/html_compose/attributes/progress_attrs.py | 30 +- src/html_compose/attributes/q_attrs.py | 15 +- src/html_compose/attributes/script_attrs.py | 150 +- src/html_compose/attributes/select_attrs.py | 105 +- src/html_compose/attributes/slot_attrs.py | 15 +- src/html_compose/attributes/source_attrs.py | 105 +- src/html_compose/attributes/style_attrs.py | 45 +- src/html_compose/attributes/td_attrs.py | 45 +- src/html_compose/attributes/template_attrs.py | 60 +- src/html_compose/attributes/textarea_attrs.py | 195 ++- src/html_compose/attributes/th_attrs.py | 75 +- src/html_compose/attributes/time_attrs.py | 15 +- src/html_compose/attributes/track_attrs.py | 75 +- src/html_compose/attributes/video_attrs.py | 165 +- src/html_compose/elements/__init__.py | 4 +- src/html_compose/elements/a_element.py | 809 +++++---- src/html_compose/elements/abbr_element.py | 751 +++++---- src/html_compose/elements/address_element.py | 751 +++++---- src/html_compose/elements/area_element.py | 813 +++++---- src/html_compose/elements/article_element.py | 751 +++++---- src/html_compose/elements/aside_element.py | 751 +++++---- src/html_compose/elements/audio_element.py | 795 +++++---- src/html_compose/elements/b_element.py | 751 +++++---- src/html_compose/elements/base_element.py | 767 +++++---- src/html_compose/elements/bdi_element.py | 751 +++++---- src/html_compose/elements/bdo_element.py | 751 +++++---- .../elements/blockquote_element.py | 759 +++++---- src/html_compose/elements/body_element.py | 895 +++++----- src/html_compose/elements/br_element.py | 751 +++++---- src/html_compose/elements/button_element.py | 831 +++++---- src/html_compose/elements/canvas_element.py | 763 +++++---- src/html_compose/elements/caption_element.py | 751 +++++---- src/html_compose/elements/cite_element.py | 751 +++++---- src/html_compose/elements/code_element.py | 751 +++++---- src/html_compose/elements/col_element.py | 759 +++++---- src/html_compose/elements/colgroup_element.py | 759 +++++---- src/html_compose/elements/data_element.py | 757 +++++---- src/html_compose/elements/datalist_element.py | 751 +++++---- src/html_compose/elements/dd_element.py | 751 +++++---- src/html_compose/elements/del__element.py | 767 +++++---- src/html_compose/elements/details_element.py | 763 +++++---- src/html_compose/elements/dfn_element.py | 751 +++++---- src/html_compose/elements/dialog_element.py | 757 +++++---- src/html_compose/elements/div_element.py | 751 +++++---- src/html_compose/elements/dl_element.py | 751 +++++---- src/html_compose/elements/dt_element.py | 751 +++++---- src/html_compose/elements/em_element.py | 751 +++++---- src/html_compose/elements/embed_element.py | 779 +++++---- src/html_compose/elements/fieldset_element.py | 771 +++++---- .../elements/figcaption_element.py | 751 +++++---- src/html_compose/elements/figure_element.py | 751 +++++---- src/html_compose/elements/footer_element.py | 751 +++++---- src/html_compose/elements/form_element.py | 805 +++++---- src/html_compose/elements/h1_element.py | 751 +++++---- src/html_compose/elements/h2_element.py | 751 +++++---- src/html_compose/elements/h3_element.py | 751 +++++---- src/html_compose/elements/h4_element.py | 751 +++++---- src/html_compose/elements/h5_element.py | 751 +++++---- src/html_compose/elements/h6_element.py | 751 +++++---- src/html_compose/elements/head_element.py | 751 +++++---- src/html_compose/elements/header_element.py | 751 +++++---- src/html_compose/elements/hgroup_element.py | 751 +++++---- src/html_compose/elements/hr_element.py | 751 +++++---- src/html_compose/elements/html_element.py | 751 +++++---- src/html_compose/elements/i_element.py | 751 +++++---- src/html_compose/elements/iframe_element.py | 821 +++++---- src/html_compose/elements/img_element.py | 839 +++++----- src/html_compose/elements/input_element.py | 983 ++++++----- src/html_compose/elements/ins_element.py | 767 +++++---- src/html_compose/elements/kbd_element.py | 751 +++++---- src/html_compose/elements/label_element.py | 759 +++++---- src/html_compose/elements/legend_element.py | 751 +++++---- src/html_compose/elements/li_element.py | 757 +++++---- src/html_compose/elements/link_element.py | 869 +++++----- src/html_compose/elements/main_element.py | 751 +++++---- src/html_compose/elements/map_element.py | 757 +++++---- src/html_compose/elements/mark_element.py | 751 +++++---- src/html_compose/elements/menu_element.py | 751 +++++---- src/html_compose/elements/meta_element.py | 783 +++++---- src/html_compose/elements/meter_element.py | 787 +++++---- src/html_compose/elements/nav_element.py | 751 +++++---- src/html_compose/elements/noscript_element.py | 751 +++++---- src/html_compose/elements/object_element.py | 795 +++++---- src/html_compose/elements/ol_element.py | 769 +++++---- src/html_compose/elements/optgroup_element.py | 763 +++++---- src/html_compose/elements/option_element.py | 775 +++++---- src/html_compose/elements/output_element.py | 771 +++++---- src/html_compose/elements/p_element.py | 751 +++++---- src/html_compose/elements/picture_element.py | 751 +++++---- src/html_compose/elements/pre_element.py | 751 +++++---- src/html_compose/elements/progress_element.py | 763 +++++---- src/html_compose/elements/q_element.py | 759 +++++---- src/html_compose/elements/rp_element.py | 751 +++++---- src/html_compose/elements/rt_element.py | 751 +++++---- src/html_compose/elements/ruby_element.py | 751 +++++---- src/html_compose/elements/s_element.py | 751 +++++---- src/html_compose/elements/samp_element.py | 751 +++++---- src/html_compose/elements/script_element.py | 817 +++++---- src/html_compose/elements/search_element.py | 751 +++++---- src/html_compose/elements/section_element.py | 751 +++++---- src/html_compose/elements/select_element.py | 799 +++++---- src/html_compose/elements/slot_element.py | 757 +++++---- src/html_compose/elements/small_element.py | 751 +++++---- src/html_compose/elements/source_element.py | 803 +++++---- src/html_compose/elements/span_element.py | 751 +++++---- src/html_compose/elements/strong_element.py | 751 +++++---- src/html_compose/elements/style_element.py | 765 +++++---- src/html_compose/elements/sub_element.py | 751 +++++---- src/html_compose/elements/summary_element.py | 751 +++++---- src/html_compose/elements/sup_element.py | 751 +++++---- src/html_compose/elements/svg_element.py | 751 +++++---- src/html_compose/elements/table_element.py | 751 +++++---- src/html_compose/elements/tbody_element.py | 751 +++++---- src/html_compose/elements/td_element.py | 771 +++++---- src/html_compose/elements/template_element.py | 775 +++++---- src/html_compose/elements/textarea_element.py | 837 +++++----- src/html_compose/elements/tfoot_element.py | 751 +++++---- src/html_compose/elements/th_element.py | 783 +++++---- src/html_compose/elements/thead_element.py | 751 +++++---- src/html_compose/elements/time_element.py | 759 +++++---- src/html_compose/elements/title_element.py | 751 +++++---- src/html_compose/elements/tr_element.py | 751 +++++---- src/html_compose/elements/track_element.py | 785 +++++---- src/html_compose/elements/u_element.py | 751 +++++---- src/html_compose/elements/ul_element.py | 751 +++++---- src/html_compose/elements/var_element.py | 751 +++++---- src/html_compose/elements/video_element.py | 821 +++++---- src/html_compose/elements/wbr_element.py | 751 +++++---- tools/generate_attributes.py | 11 +- tools/generate_elements.py | 13 +- tools/generated/a_attrs.py | 88 +- tools/generated/abbr_attrs.py | 11 +- tools/generated/area_attrs.py | 99 +- tools/generated/audio_attrs.py | 77 +- tools/generated/base_attrs.py | 22 +- tools/generated/bdo_attrs.py | 11 +- tools/generated/blockquote_attrs.py | 11 +- tools/generated/body_attrs.py | 198 ++- tools/generated/button_attrs.py | 132 +- tools/generated/canvas_attrs.py | 22 +- tools/generated/col_attrs.py | 11 +- tools/generated/colgroup_attrs.py | 11 +- tools/generated/data_attrs.py | 11 +- tools/generated/del_attrs.py | 22 +- tools/generated/details_attrs.py | 22 +- tools/generated/dfn_attrs.py | 11 +- tools/generated/dialog_attrs.py | 11 +- tools/generated/elements/a_element.py | 809 +++++---- tools/generated/elements/abbr_element.py | 751 +++++---- tools/generated/elements/address_element.py | 751 +++++---- tools/generated/elements/area_element.py | 813 +++++---- tools/generated/elements/article_element.py | 751 +++++---- tools/generated/elements/aside_element.py | 751 +++++---- tools/generated/elements/audio_element.py | 795 +++++---- tools/generated/elements/b_element.py | 751 +++++---- tools/generated/elements/base_element.py | 767 +++++---- tools/generated/elements/bdi_element.py | 751 +++++---- tools/generated/elements/bdo_element.py | 751 +++++---- .../generated/elements/blockquote_element.py | 759 +++++---- tools/generated/elements/body_element.py | 895 +++++----- tools/generated/elements/br_element.py | 751 +++++---- tools/generated/elements/button_element.py | 831 +++++---- tools/generated/elements/canvas_element.py | 763 +++++---- tools/generated/elements/caption_element.py | 751 +++++---- tools/generated/elements/cite_element.py | 751 +++++---- tools/generated/elements/code_element.py | 751 +++++---- tools/generated/elements/col_element.py | 759 +++++---- tools/generated/elements/colgroup_element.py | 759 +++++---- tools/generated/elements/data_element.py | 757 +++++---- tools/generated/elements/datalist_element.py | 751 +++++---- tools/generated/elements/dd_element.py | 751 +++++---- tools/generated/elements/del__element.py | 767 +++++---- tools/generated/elements/details_element.py | 763 +++++---- tools/generated/elements/dfn_element.py | 751 +++++---- tools/generated/elements/dialog_element.py | 757 +++++---- tools/generated/elements/div_element.py | 751 +++++---- tools/generated/elements/dl_element.py | 751 +++++---- tools/generated/elements/dt_element.py | 751 +++++---- tools/generated/elements/em_element.py | 751 +++++---- tools/generated/elements/embed_element.py | 779 +++++---- tools/generated/elements/fieldset_element.py | 771 +++++---- .../generated/elements/figcaption_element.py | 751 +++++---- tools/generated/elements/figure_element.py | 751 +++++---- tools/generated/elements/footer_element.py | 751 +++++---- tools/generated/elements/form_element.py | 805 +++++---- tools/generated/elements/h1_element.py | 751 +++++---- tools/generated/elements/h2_element.py | 751 +++++---- tools/generated/elements/h3_element.py | 751 +++++---- tools/generated/elements/h4_element.py | 751 +++++---- tools/generated/elements/h5_element.py | 751 +++++---- tools/generated/elements/h6_element.py | 751 +++++---- tools/generated/elements/head_element.py | 751 +++++---- tools/generated/elements/header_element.py | 751 +++++---- tools/generated/elements/hgroup_element.py | 751 +++++---- tools/generated/elements/hr_element.py | 751 +++++---- tools/generated/elements/html_element.py | 751 +++++---- tools/generated/elements/i_element.py | 751 +++++---- tools/generated/elements/iframe_element.py | 821 +++++---- tools/generated/elements/img_element.py | 839 +++++----- tools/generated/elements/input_element.py | 983 ++++++----- tools/generated/elements/ins_element.py | 767 +++++---- tools/generated/elements/kbd_element.py | 751 +++++---- tools/generated/elements/label_element.py | 759 +++++---- tools/generated/elements/legend_element.py | 751 +++++---- tools/generated/elements/li_element.py | 757 +++++---- tools/generated/elements/link_element.py | 869 +++++----- tools/generated/elements/main_element.py | 751 +++++---- tools/generated/elements/map_element.py | 757 +++++---- tools/generated/elements/mark_element.py | 751 +++++---- tools/generated/elements/menu_element.py | 751 +++++---- tools/generated/elements/meta_element.py | 783 +++++---- tools/generated/elements/meter_element.py | 787 +++++---- tools/generated/elements/nav_element.py | 751 +++++---- tools/generated/elements/noscript_element.py | 751 +++++---- tools/generated/elements/object_element.py | 795 +++++---- tools/generated/elements/ol_element.py | 769 +++++---- tools/generated/elements/optgroup_element.py | 763 +++++---- tools/generated/elements/option_element.py | 775 +++++---- tools/generated/elements/output_element.py | 771 +++++---- tools/generated/elements/p_element.py | 751 +++++---- tools/generated/elements/picture_element.py | 751 +++++---- tools/generated/elements/pre_element.py | 751 +++++---- tools/generated/elements/progress_element.py | 763 +++++---- tools/generated/elements/q_element.py | 759 +++++---- tools/generated/elements/rp_element.py | 751 +++++---- tools/generated/elements/rt_element.py | 751 +++++---- tools/generated/elements/ruby_element.py | 751 +++++---- tools/generated/elements/s_element.py | 751 +++++---- tools/generated/elements/samp_element.py | 751 +++++---- tools/generated/elements/script_element.py | 817 +++++---- tools/generated/elements/search_element.py | 751 +++++---- tools/generated/elements/section_element.py | 751 +++++---- tools/generated/elements/select_element.py | 799 +++++---- tools/generated/elements/slot_element.py | 757 +++++---- tools/generated/elements/small_element.py | 751 +++++---- tools/generated/elements/source_element.py | 803 +++++---- tools/generated/elements/span_element.py | 751 +++++---- tools/generated/elements/strong_element.py | 751 +++++---- tools/generated/elements/style_element.py | 765 +++++---- tools/generated/elements/sub_element.py | 751 +++++---- tools/generated/elements/summary_element.py | 751 +++++---- tools/generated/elements/sup_element.py | 751 +++++---- tools/generated/elements/svg_element.py | 751 +++++---- tools/generated/elements/table_element.py | 751 +++++---- tools/generated/elements/tbody_element.py | 751 +++++---- tools/generated/elements/td_element.py | 771 +++++---- tools/generated/elements/template_element.py | 775 +++++---- tools/generated/elements/textarea_element.py | 837 +++++----- tools/generated/elements/tfoot_element.py | 751 +++++---- tools/generated/elements/th_element.py | 783 +++++---- tools/generated/elements/thead_element.py | 751 +++++---- tools/generated/elements/time_element.py | 759 +++++---- tools/generated/elements/title_element.py | 751 +++++---- tools/generated/elements/tr_element.py | 751 +++++---- tools/generated/elements/track_element.py | 785 +++++---- tools/generated/elements/u_element.py | 751 +++++---- tools/generated/elements/ul_element.py | 751 +++++---- tools/generated/elements/var_element.py | 751 +++++---- tools/generated/elements/video_element.py | 821 +++++---- tools/generated/elements/wbr_element.py | 751 +++++---- tools/generated/embed_attrs.py | 44 +- tools/generated/fieldset_attrs.py | 33 +- tools/generated/form_attrs.py | 88 +- tools/generated/global_attrs.py | 1089 ++++++++---- tools/generated/iframe_attrs.py | 110 +- tools/generated/img_attrs.py | 143 +- tools/generated/input_attrs.py | 385 +++-- tools/generated/ins_attrs.py | 22 +- tools/generated/label_attrs.py | 11 +- tools/generated/li_attrs.py | 11 +- tools/generated/link_attrs.py | 187 ++- tools/generated/map_attrs.py | 11 +- tools/generated/meta_attrs.py | 55 +- tools/generated/meter_attrs.py | 66 +- tools/generated/object_attrs.py | 66 +- tools/generated/ol_attrs.py | 33 +- tools/generated/optgroup_attrs.py | 22 +- tools/generated/option_attrs.py | 44 +- tools/generated/output_attrs.py | 33 +- tools/generated/progress_attrs.py | 22 +- tools/generated/q_attrs.py | 11 +- tools/generated/script_attrs.py | 110 +- tools/generated/select_attrs.py | 77 +- tools/generated/slot_attrs.py | 11 +- tools/generated/source_attrs.py | 77 +- tools/generated/style_attrs.py | 33 +- tools/generated/td_attrs.py | 33 +- tools/generated/template_attrs.py | 44 +- tools/generated/textarea_attrs.py | 143 +- tools/generated/th_attrs.py | 55 +- tools/generated/time_attrs.py | 11 +- tools/generated/track_attrs.py | 55 +- tools/generated/video_attrs.py | 121 +- 329 files changed, 93146 insertions(+), 89708 deletions(-) diff --git a/src/html_compose/attributes/a_attrs.py b/src/html_compose/attributes/a_attrs.py index fdc45a1..86bd49e 100644 --- a/src/html_compose/attributes/a_attrs.py +++ b/src/html_compose/attributes/a_attrs.py @@ -11,95 +11,135 @@ class AnchorAttrs: @staticmethod def download(value: StrLike) -> BaseAttribute: """ - "a" attribute: download - Whether to download the resource instead of navigating to it, and its filename if so + "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) @staticmethod def href(value) -> BaseAttribute: """ - "a" attribute: href - Address of the hyperlink + "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) @staticmethod def hreflang(value) -> BaseAttribute: """ - "a" attribute: hreflang - Language of the linked resource + "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) @staticmethod def ping(value: Resolvable) -> BaseAttribute: """ - "a" attribute: ping - URLs to ping + "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) @staticmethod def referrerpolicy(value) -> BaseAttribute: """ - "a" attribute: referrerpolicy - Referrer policy for fetches initiated by the element + "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) @staticmethod def rel(value: Resolvable) -> BaseAttribute: """ - "a" attribute: rel - Relationship between the location in the document containing the hyperlink and the destination resource + "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) @staticmethod def target(value) -> BaseAttribute: """ - "a" attribute: target - Navigable for hyperlink navigation + "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) @staticmethod def type(value) -> BaseAttribute: """ - "a" attribute: type - Hint for the type of the referenced resource + "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) diff --git a/src/html_compose/attributes/abbr_attrs.py b/src/html_compose/attributes/abbr_attrs.py index d9bee52..3d3e619 100644 --- a/src/html_compose/attributes/abbr_attrs.py +++ b/src/html_compose/attributes/abbr_attrs.py @@ -11,11 +11,16 @@ class AbbrAttrs: @staticmethod def title(value: StrLike) -> BaseAttribute: """ - "abbr" attribute: title - Full term or expansion of abbreviation + "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) diff --git a/src/html_compose/attributes/area_attrs.py b/src/html_compose/attributes/area_attrs.py index 854a5b2..4374ce7 100644 --- a/src/html_compose/attributes/area_attrs.py +++ b/src/html_compose/attributes/area_attrs.py @@ -12,84 +12,119 @@ class AreaAttrs: @staticmethod def alt(value: StrLike) -> BaseAttribute: """ - "area" attribute: alt - Replacement text for use when images are not available + "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) @staticmethod def coords(value) -> BaseAttribute: """ - "area" attribute: coords - Coordinates for the shape to be created in an image map + "area" attribute: coords + Coordinates for the shape to be created in an image map + + Args: + value: + Valid list of floating-point numbers* - :param value: Valid list of floating-point numbers* - :return: An coords attribute to be added to your element - """ # fmt: skip + Returns: + An coords attribute to be added to your element + + """ return BaseAttribute("coords", value) @staticmethod def download(value: StrLike) -> BaseAttribute: """ - "area" attribute: download - Whether to download the resource instead of navigating to it, and its filename if so + "area" attribute: download + Whether to download the resource instead of navigating to it, and its filename if so + + Args: + value: + Text - :param value: Text - :return: An download attribute to be added to your element - """ # fmt: skip + Returns: + An download attribute to be added to your element + + """ return BaseAttribute("download", value) @staticmethod def href(value) -> BaseAttribute: """ - "area" attribute: href - Address of the hyperlink + "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) @staticmethod def ping(value: Resolvable) -> BaseAttribute: """ - "area" attribute: ping - URLs to ping + "area" attribute: ping + URLs to ping + + Args: + value: + Set of space-separated tokens consisting of valid non-empty URLs - :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 + Returns: + An ping attribute to be added to your element + + """ return BaseAttribute("ping", value) @staticmethod def referrerpolicy(value) -> BaseAttribute: """ - "area" attribute: referrerpolicy - Referrer policy for fetches initiated by the element + "area" attribute: referrerpolicy + Referrer policy for fetches initiated by the element + + Args: + value: + Referrer policy - :param value: Referrer policy - :return: An referrerpolicy attribute to be added to your element - """ # fmt: skip + Returns: + An referrerpolicy attribute to be added to your element + + """ return BaseAttribute("referrerpolicy", value) @staticmethod def rel(value: Resolvable) -> BaseAttribute: """ - "area" attribute: rel - Relationship between the location in the document containing the hyperlink and the destination resource + "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) @@ -98,23 +133,33 @@ def shape( value: Literal["circle", "default", "poly", "rect"], ) -> BaseAttribute: """ - "area" attribute: shape - The kind of shape to be created in an image map + "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) @staticmethod def target(value) -> BaseAttribute: """ - "area" attribute: target - Navigable for hyperlink navigation + "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) diff --git a/src/html_compose/attributes/audio_attrs.py b/src/html_compose/attributes/audio_attrs.py index 42b2c61..5a6affb 100644 --- a/src/html_compose/attributes/audio_attrs.py +++ b/src/html_compose/attributes/audio_attrs.py @@ -11,24 +11,34 @@ class AudioAttrs: @staticmethod def autoplay(value: bool) -> BaseAttribute: """ - "audio" attribute: autoplay - Hint that the media resource can be started automatically when the page is loaded + "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) @staticmethod def controls(value: bool) -> BaseAttribute: """ - "audio" attribute: controls - Show user agent controls + "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) @@ -37,59 +47,84 @@ def crossorigin( value: Literal["anonymous", "use-credentials"], ) -> BaseAttribute: """ - "audio" attribute: crossorigin - How the element handles crossorigin requests + "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) @staticmethod def loop(value: bool) -> BaseAttribute: """ - "audio" attribute: loop - Whether to loop the media resource + "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) @staticmethod def muted(value: bool) -> BaseAttribute: """ - "audio" attribute: muted - Whether to mute the media resource by default + "audio" attribute: muted + Whether to mute the media resource by default + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An muted attribute to be added to your element - """ # fmt: skip + Returns: + An muted attribute to be added to your element + + """ return BaseAttribute("muted", value) @staticmethod def preload(value: Literal["none", "metadata", "auto"]) -> BaseAttribute: """ - "audio" attribute: preload - Hints how much buffering the media resource will likely need + "audio" attribute: preload + Hints how much buffering the media resource will likely need + + Args: + value: + ['none', 'metadata', 'auto'] - :param value: ['none', 'metadata', 'auto'] - :return: An preload attribute to be added to your element - """ # fmt: skip + Returns: + An preload attribute to be added to your element + + """ return BaseAttribute("preload", value) @staticmethod def src(value) -> BaseAttribute: """ - "audio" attribute: src - Address of the resource + "audio" attribute: src + Address of the resource + + Args: + value: + Valid non-empty URL potentially surrounded by spaces - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) diff --git a/src/html_compose/attributes/base_attrs.py b/src/html_compose/attributes/base_attrs.py index c749566..45377d3 100644 --- a/src/html_compose/attributes/base_attrs.py +++ b/src/html_compose/attributes/base_attrs.py @@ -10,23 +10,33 @@ class BaseAttrs: @staticmethod def href(value) -> BaseAttribute: """ - "base" attribute: href - Document base URL + "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) @staticmethod def target(value) -> BaseAttribute: """ - "base" attribute: target - Default navigable for hyperlink navigation and form submission + "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) diff --git a/src/html_compose/attributes/bdo_attrs.py b/src/html_compose/attributes/bdo_attrs.py index 12d174a..8900be3 100644 --- a/src/html_compose/attributes/bdo_attrs.py +++ b/src/html_compose/attributes/bdo_attrs.py @@ -11,11 +11,16 @@ class BdoAttrs: @staticmethod def dir(value: Literal["ltr", "rtl"]) -> BaseAttribute: """ - "bdo" attribute: dir - The text directionality of the element + "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) diff --git a/src/html_compose/attributes/blockquote_attrs.py b/src/html_compose/attributes/blockquote_attrs.py index 2545312..9462285 100644 --- a/src/html_compose/attributes/blockquote_attrs.py +++ b/src/html_compose/attributes/blockquote_attrs.py @@ -10,11 +10,16 @@ class BlockquoteAttrs: @staticmethod def cite(value) -> BaseAttribute: """ - "blockquote" attribute: cite - Link to the source of the quotation or more information about the edit + "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) diff --git a/src/html_compose/attributes/body_attrs.py b/src/html_compose/attributes/body_attrs.py index 8a816c8..827f150 100644 --- a/src/html_compose/attributes/body_attrs.py +++ b/src/html_compose/attributes/body_attrs.py @@ -10,215 +10,305 @@ class BodyAttrs: @staticmethod def onafterprint(value) -> BaseAttribute: """ - "body" attribute: onafterprint - afterprint event handler for Window object + "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) @staticmethod def onbeforeprint(value) -> BaseAttribute: """ - "body" attribute: onbeforeprint - beforeprint event handler for Window object + "body" attribute: onbeforeprint + beforeprint event handler for Window object + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onbeforeprint attribute to be added to your element - """ # fmt: skip + Returns: + An onbeforeprint attribute to be added to your element + + """ return BaseAttribute("onbeforeprint", value) @staticmethod def onbeforeunload(value) -> BaseAttribute: """ - "body" attribute: onbeforeunload - beforeunload event handler for Window object + "body" attribute: onbeforeunload + beforeunload event handler for Window object + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onbeforeunload attribute to be added to your element - """ # fmt: skip + Returns: + An onbeforeunload attribute to be added to your element + + """ return BaseAttribute("onbeforeunload", value) @staticmethod def onhashchange(value) -> BaseAttribute: """ - "body" attribute: onhashchange - hashchange event handler for Window object + "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) @staticmethod def onlanguagechange(value) -> BaseAttribute: """ - "body" attribute: onlanguagechange - languagechange event handler for Window object + "body" attribute: onlanguagechange + languagechange event handler for Window object + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onlanguagechange attribute to be added to your element - """ # fmt: skip + Returns: + An onlanguagechange attribute to be added to your element + + """ return BaseAttribute("onlanguagechange", value) @staticmethod def onmessage(value) -> BaseAttribute: """ - "body" attribute: onmessage - message event handler for Window object + "body" attribute: onmessage + message event handler for Window object + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onmessage attribute to be added to your element - """ # fmt: skip + Returns: + An onmessage attribute to be added to your element + + """ return BaseAttribute("onmessage", value) @staticmethod def onmessageerror(value) -> BaseAttribute: """ - "body" attribute: onmessageerror - messageerror event handler for Window object + "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) @staticmethod def onoffline(value) -> BaseAttribute: """ - "body" attribute: onoffline - offline event handler for Window object + "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) @staticmethod def ononline(value) -> BaseAttribute: """ - "body" attribute: ononline - online event handler for Window object + "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) @staticmethod def onpagehide(value) -> BaseAttribute: """ - "body" attribute: onpagehide - pagehide event handler for Window object + "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) @staticmethod def onpagereveal(value) -> BaseAttribute: """ - "body" attribute: onpagereveal - pagereveal event handler for Window object + "body" attribute: onpagereveal + pagereveal event handler for Window object + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onpagereveal attribute to be added to your element - """ # fmt: skip + Returns: + An onpagereveal attribute to be added to your element + + """ return BaseAttribute("onpagereveal", value) @staticmethod def onpageshow(value) -> BaseAttribute: """ - "body" attribute: onpageshow - pageshow event handler for Window object + "body" attribute: onpageshow + pageshow event handler for Window object + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onpageshow attribute to be added to your element - """ # fmt: skip + Returns: + An onpageshow attribute to be added to your element + + """ return BaseAttribute("onpageshow", value) @staticmethod def onpageswap(value) -> BaseAttribute: """ - "body" attribute: onpageswap - pageswap event handler for Window object + "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) @staticmethod def onpopstate(value) -> BaseAttribute: """ - "body" attribute: onpopstate - popstate event handler for Window object + "body" attribute: onpopstate + popstate event handler for Window object + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onpopstate attribute to be added to your element - """ # fmt: skip + Returns: + An onpopstate attribute to be added to your element + + """ return BaseAttribute("onpopstate", value) @staticmethod def onrejectionhandled(value) -> BaseAttribute: """ - "body" attribute: onrejectionhandled - rejectionhandled event handler for Window object + "body" attribute: onrejectionhandled + rejectionhandled event handler for Window object + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onrejectionhandled attribute to be added to your element - """ # fmt: skip + Returns: + An onrejectionhandled attribute to be added to your element + + """ return BaseAttribute("onrejectionhandled", value) @staticmethod def onstorage(value) -> BaseAttribute: """ - "body" attribute: onstorage - storage event handler for Window object + "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) @staticmethod def onunhandledrejection(value) -> BaseAttribute: """ - "body" attribute: onunhandledrejection - unhandledrejection event handler for Window object + "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) @staticmethod def onunload(value) -> BaseAttribute: """ - "body" attribute: onunload - unload event handler for Window object + "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) diff --git a/src/html_compose/attributes/button_attrs.py b/src/html_compose/attributes/button_attrs.py index 7f2bf9b..a9bca54 100644 --- a/src/html_compose/attributes/button_attrs.py +++ b/src/html_compose/attributes/button_attrs.py @@ -12,36 +12,51 @@ class ButtonAttrs: @staticmethod def disabled(value: bool) -> BaseAttribute: """ - "button" attribute: disabled - Whether the form control is disabled + "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) @staticmethod def form(value) -> BaseAttribute: """ - "button" attribute: form - Associates the element with a form element + "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) @staticmethod def formaction(value) -> BaseAttribute: """ - "button" attribute: formaction - URL to use for form submission + "button" attribute: formaction + URL to use for form submission + + Args: + value: + Valid non-empty URL potentially surrounded by spaces - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An formaction attribute to be added to your element - """ # fmt: skip + Returns: + An formaction attribute to be added to your element + + """ return BaseAttribute("formaction", value) @@ -54,72 +69,102 @@ def formenctype( ], ) -> BaseAttribute: """ - "button" attribute: formenctype - Entry list encoding type to use for form submission + "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) @staticmethod def formmethod(value: Literal["GET", "POST", "dialog"]) -> BaseAttribute: """ - "button" attribute: formmethod - Variant to use for form submission + "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) @staticmethod def formnovalidate(value: bool) -> BaseAttribute: """ - "button" attribute: formnovalidate - Bypass form control validation for form submission + "button" attribute: formnovalidate + Bypass form control validation for form submission + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An formnovalidate attribute to be added to your element - """ # fmt: skip + Returns: + An formnovalidate attribute to be added to your element + + """ return BaseAttribute("formnovalidate", value) @staticmethod def formtarget(value) -> BaseAttribute: """ - "button" attribute: formtarget - Navigable for form submission + "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) @staticmethod def name(value: StrLike) -> BaseAttribute: """ - "button" attribute: name - Name of the element to use for form submission and in the form.elements API + "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) @staticmethod def popovertarget(value) -> BaseAttribute: """ - "button" attribute: popovertarget - Targets a popover element to toggle, show, or hide + "button" attribute: popovertarget + Targets a popover element to toggle, show, or hide + + Args: + value: + ID* - :param value: ID* - :return: An popovertarget attribute to be added to your element - """ # fmt: skip + Returns: + An popovertarget attribute to be added to your element + + """ return BaseAttribute("popovertarget", value) @@ -128,35 +173,50 @@ def popovertargetaction( value: Literal["toggle", "show", "hide"], ) -> BaseAttribute: """ - "button" attribute: popovertargetaction - Indicates whether a targeted popover element is to be toggled, shown, or hidden + "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) @staticmethod def type(value: Literal["submit", "reset", "button"]) -> BaseAttribute: """ - "button" attribute: type - Type of button + "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) @staticmethod def value(value: StrLike) -> BaseAttribute: """ - "button" attribute: value - Value to be used for form submission + "button" attribute: value + Value to be used for form submission + + Args: + value: + Text - :param value: Text - :return: An value attribute to be added to your element - """ # fmt: skip + Returns: + An value attribute to be added to your element + + """ return BaseAttribute("value", value) diff --git a/src/html_compose/attributes/canvas_attrs.py b/src/html_compose/attributes/canvas_attrs.py index f7b22fc..5ecbc50 100644 --- a/src/html_compose/attributes/canvas_attrs.py +++ b/src/html_compose/attributes/canvas_attrs.py @@ -10,23 +10,33 @@ class CanvasAttrs: @staticmethod def height(value: int) -> BaseAttribute: """ - "canvas" attribute: height - Vertical dimension + "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) @staticmethod def width(value: int) -> BaseAttribute: """ - "canvas" attribute: width - Horizontal dimension + "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) diff --git a/src/html_compose/attributes/col_attrs.py b/src/html_compose/attributes/col_attrs.py index 2dc17b0..977ae0b 100644 --- a/src/html_compose/attributes/col_attrs.py +++ b/src/html_compose/attributes/col_attrs.py @@ -10,11 +10,16 @@ class ColAttrs: @staticmethod def span(value) -> BaseAttribute: """ - "col" attribute: span - Number of columns spanned by the element + "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) diff --git a/src/html_compose/attributes/colgroup_attrs.py b/src/html_compose/attributes/colgroup_attrs.py index 4a6464f..a9f8b73 100644 --- a/src/html_compose/attributes/colgroup_attrs.py +++ b/src/html_compose/attributes/colgroup_attrs.py @@ -10,11 +10,16 @@ class ColgroupAttrs: @staticmethod def span(value) -> BaseAttribute: """ - "colgroup" attribute: span - Number of columns spanned by the element + "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) diff --git a/src/html_compose/attributes/data_attrs.py b/src/html_compose/attributes/data_attrs.py index 3e0ce47..4ef5a17 100644 --- a/src/html_compose/attributes/data_attrs.py +++ b/src/html_compose/attributes/data_attrs.py @@ -11,11 +11,16 @@ class DataAttrs: @staticmethod def value(value: StrLike) -> BaseAttribute: """ - "data" attribute: value - Machine-readable value + "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) diff --git a/src/html_compose/attributes/del_attrs.py b/src/html_compose/attributes/del_attrs.py index 10c2c40..ed0f78e 100644 --- a/src/html_compose/attributes/del_attrs.py +++ b/src/html_compose/attributes/del_attrs.py @@ -10,23 +10,33 @@ class DelAttrs: @staticmethod def cite(value) -> BaseAttribute: """ - "del" attribute: cite - Link to the source of the quotation or more information about the edit + "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) @staticmethod def datetime(value) -> BaseAttribute: """ - "del" attribute: datetime - Date and (optionally) time of the change + "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) diff --git a/src/html_compose/attributes/details_attrs.py b/src/html_compose/attributes/details_attrs.py index 7f2a903..87efc8e 100644 --- a/src/html_compose/attributes/details_attrs.py +++ b/src/html_compose/attributes/details_attrs.py @@ -11,23 +11,33 @@ class DetailsAttrs: @staticmethod def name(value: StrLike) -> BaseAttribute: """ - "details" attribute: name - Name of group of mutually-exclusive details elements + "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) @staticmethod def open(value: bool) -> BaseAttribute: """ - "details" attribute: open - Whether the details are visible + "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) diff --git a/src/html_compose/attributes/dfn_attrs.py b/src/html_compose/attributes/dfn_attrs.py index cb1ef7e..dcde1fe 100644 --- a/src/html_compose/attributes/dfn_attrs.py +++ b/src/html_compose/attributes/dfn_attrs.py @@ -11,11 +11,16 @@ class DfnAttrs: @staticmethod def title(value: StrLike) -> BaseAttribute: """ - "dfn" attribute: title - Full term or expansion of abbreviation + "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) diff --git a/src/html_compose/attributes/dialog_attrs.py b/src/html_compose/attributes/dialog_attrs.py index bbf765f..e5fb0f8 100644 --- a/src/html_compose/attributes/dialog_attrs.py +++ b/src/html_compose/attributes/dialog_attrs.py @@ -10,11 +10,16 @@ class DialogAttrs: @staticmethod def open(value: bool) -> BaseAttribute: """ - "dialog" attribute: open - Whether the dialog box is showing + "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) diff --git a/src/html_compose/attributes/embed_attrs.py b/src/html_compose/attributes/embed_attrs.py index 5be686c..579c773 100644 --- a/src/html_compose/attributes/embed_attrs.py +++ b/src/html_compose/attributes/embed_attrs.py @@ -10,47 +10,67 @@ class EmbedAttrs: @staticmethod def height(value: int) -> BaseAttribute: """ - "embed" attribute: height - Vertical dimension + "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) @staticmethod def src(value) -> BaseAttribute: """ - "embed" attribute: src - Address of the resource + "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) @staticmethod def type(value) -> BaseAttribute: """ - "embed" attribute: type - Type of embedded resource + "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) @staticmethod def width(value: int) -> BaseAttribute: """ - "embed" attribute: width - Horizontal dimension + "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) diff --git a/src/html_compose/attributes/fieldset_attrs.py b/src/html_compose/attributes/fieldset_attrs.py index 9fcab69..0061699 100644 --- a/src/html_compose/attributes/fieldset_attrs.py +++ b/src/html_compose/attributes/fieldset_attrs.py @@ -11,35 +11,50 @@ class FieldsetAttrs: @staticmethod def disabled(value: bool) -> BaseAttribute: """ - "fieldset" attribute: disabled - Whether the descendant form controls, except any inside legend, are disabled + "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) @staticmethod def form(value) -> BaseAttribute: """ - "fieldset" attribute: form - Associates the element with a form element + "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) @staticmethod def name(value: StrLike) -> BaseAttribute: """ - "fieldset" attribute: name - Name of the element to use for form submission and in the form.elements API + "fieldset" attribute: name + Name of the element to use for form submission and in the form.elements API + + Args: + value: + Text* - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) diff --git a/src/html_compose/attributes/form_attrs.py b/src/html_compose/attributes/form_attrs.py index 5cdee14..2de66aa 100644 --- a/src/html_compose/attributes/form_attrs.py +++ b/src/html_compose/attributes/form_attrs.py @@ -12,36 +12,51 @@ class FormAttrs: @staticmethod def accept_charset(value) -> BaseAttribute: """ - "form" attribute: accept-charset - Character encodings to use for form submission + "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) @staticmethod def action(value) -> BaseAttribute: """ - "form" attribute: action - URL to use for form submission + "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) @staticmethod def autocomplete(value: Literal["on", "off"]) -> BaseAttribute: """ - "form" attribute: autocomplete - Default setting for autofill feature for controls in the form + "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) @@ -54,59 +69,84 @@ def enctype( ], ) -> BaseAttribute: """ - "form" attribute: enctype - Entry list encoding type to use for form submission + "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) @staticmethod def method(value: Literal["GET", "POST", "dialog"]) -> BaseAttribute: """ - "form" attribute: method - Variant to use for form submission + "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) @staticmethod def name(value: StrLike) -> BaseAttribute: """ - "form" attribute: name - Name of form to use in the document.forms API + "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) @staticmethod def novalidate(value: bool) -> BaseAttribute: """ - "form" attribute: novalidate - Bypass form control validation for form submission + "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) @staticmethod def target(value) -> BaseAttribute: """ - "form" attribute: target - Navigable for form submission + "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) diff --git a/src/html_compose/attributes/global_attrs.py b/src/html_compose/attributes/global_attrs.py index 1a039d9..2f117f0 100644 --- a/src/html_compose/attributes/global_attrs.py +++ b/src/html_compose/attributes/global_attrs.py @@ -12,12 +12,17 @@ class GlobalAttrs: @staticmethod def accesskey(value: Resolvable) -> BaseAttribute: """ - "global" attribute: accesskey - Keyboard shortcut to activate or focus element + "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) @@ -26,48 +31,68 @@ def autocapitalize( value: Literal["on", "off", "none", "sentences", "words", "characters"], ) -> BaseAttribute: """ - "global" attribute: autocapitalize - Recommended autocapitalization behavior (for supported input methods) + "global" attribute: autocapitalize + Recommended autocapitalization behavior (for supported input methods) + + Args: + value: + ['on', 'off', 'none', 'sentences', 'words', 'characters'] + + Returns: + An autocapitalize attribute to be added to your element - :param value: ['on', 'off', 'none', 'sentences', 'words', 'characters'] - :return: An autocapitalize attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("autocapitalize", value) @staticmethod def autocorrect(value: Literal["on", "off"]) -> BaseAttribute: """ - "global" attribute: autocorrect - Recommended autocorrection behavior (for supported input methods) + "global" attribute: autocorrect + Recommended autocorrection behavior (for supported input methods) + + Args: + value: + ['on', 'off'] - :param value: ['on', 'off'] - :return: An autocorrect attribute to be added to your element - """ # fmt: skip + Returns: + An autocorrect attribute to be added to your element + + """ return BaseAttribute("autocorrect", value) @staticmethod def autofocus(value: bool) -> BaseAttribute: """ - "global" attribute: autofocus - Automatically focus the element when the page is loaded + "global" attribute: autofocus + Automatically focus the element when the page is loaded + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An autofocus attribute to be added to your element - """ # fmt: skip + Returns: + An autofocus attribute to be added to your element + + """ return BaseAttribute("autofocus", value) @staticmethod def class_(value: StrLike | Iterable[StrLike]) -> BaseAttribute: """ - "global" attribute: class - Classes to which the element belongs + "global" attribute: class + Classes to which the element belongs + + Args: + value: + Set of space-separated tokens - :param value: Set of space-separated tokens - :return: An class attribute to be added to your element - """ # fmt: skip + Returns: + An class attribute to be added to your element + + """ return BaseAttribute("class", value) @@ -76,36 +101,51 @@ def contenteditable( value: Literal["true", "plaintext-only", "false"], ) -> BaseAttribute: """ - "global" attribute: contenteditable - Whether the element is editable + "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) @staticmethod def dir(value: Literal["ltr", "rtl", "auto"]) -> BaseAttribute: """ - "global" attribute: dir - The text directionality of the element + "global" attribute: dir + The text directionality of the element + + Args: + value: + ['ltr', 'rtl', 'auto'] - :param value: ['ltr', 'rtl', 'auto'] - :return: An dir attribute to be added to your element - """ # fmt: skip + Returns: + An dir attribute to be added to your element + + """ return BaseAttribute("dir", value) @staticmethod def draggable(value: Literal["true", "false"]) -> BaseAttribute: """ - "global" attribute: draggable - Whether the element is draggable + "global" attribute: draggable + Whether the element is draggable + + Args: + value: + ['true', 'false'] - :param value: ['true', 'false'] - :return: An draggable attribute to be added to your element - """ # fmt: skip + Returns: + An draggable attribute to be added to your element + + """ return BaseAttribute("draggable", value) @@ -116,48 +156,68 @@ def enterkeyhint( ], ) -> BaseAttribute: """ - "global" attribute: enterkeyhint - Hint for selecting an enter key action + "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) @staticmethod def hidden(value: Literal["until-found", "hidden", ""]) -> BaseAttribute: """ - "global" attribute: hidden - Whether the element is relevant + "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) @staticmethod def id(value: StrLike) -> BaseAttribute: """ - "global" attribute: id - The element's ID + "global" attribute: id + The element's ID + + Args: + value: + Text* - :param value: Text* - :return: An id attribute to be added to your element - """ # fmt: skip + Returns: + An id attribute to be added to your element + + """ return BaseAttribute("id", value) @staticmethod def inert(value: bool) -> BaseAttribute: """ - "global" attribute: inert - Whether the element is inert. + "global" attribute: inert + Whether the element is inert. + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An inert attribute to be added to your element - """ # fmt: skip + Returns: + An inert attribute to be added to your element + + """ return BaseAttribute("inert", value) @@ -175,192 +235,272 @@ def inputmode( ], ) -> BaseAttribute: """ - "global" attribute: inputmode - Hint for selecting an input modality + "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) @staticmethod def is_(value) -> BaseAttribute: """ - "global" attribute: is - Creates a customized built-in element + "global" attribute: is + Creates a customized built-in element + + Args: + value: + Valid custom element name of a defined 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 + Returns: + An is attribute to be added to your element + + """ return BaseAttribute("is", value) @staticmethod def itemid(value) -> BaseAttribute: """ - "global" attribute: itemid - Global identifier for a microdata item + "global" attribute: itemid + Global identifier for a microdata item + + Args: + value: + Valid URL potentially surrounded by spaces - :param value: Valid URL potentially surrounded by spaces - :return: An itemid attribute to be added to your element - """ # fmt: skip + Returns: + An itemid attribute to be added to your element + + """ return BaseAttribute("itemid", value) @staticmethod def itemprop(value: Resolvable) -> BaseAttribute: """ - "global" attribute: itemprop - Property names of a microdata item + "global" attribute: itemprop + Property names of a microdata item + + Args: + value: + Unordered set of unique space-separated tokens consisting of valid absolute URLs, defined property names, or text* - :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 + Returns: + An itemprop attribute to be added to your element + + """ return BaseAttribute("itemprop", value) @staticmethod def itemref(value: Resolvable) -> BaseAttribute: """ - "global" attribute: itemref - Referenced elements + "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) @staticmethod def itemscope(value: bool) -> BaseAttribute: """ - "global" attribute: itemscope - Introduces a microdata item + "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) @staticmethod def itemtype(value: Resolvable) -> BaseAttribute: """ - "global" attribute: itemtype - Item types of a microdata item + "global" attribute: itemtype + Item types of a microdata item + + Args: + value: + Unordered set of unique space-separated tokens consisting of valid absolute URLs* - :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 + Returns: + An itemtype attribute to be added to your element + + """ return BaseAttribute("itemtype", value) @staticmethod def lang(value) -> BaseAttribute: """ - "global" attribute: lang - Language of the element + "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) @staticmethod def nonce(value: StrLike) -> BaseAttribute: """ - "global" attribute: nonce - Cryptographic nonce used in Content Security Policy checks [CSP] + "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) @staticmethod def popover(value: Literal["auto", "manual"]) -> BaseAttribute: """ - "global" attribute: popover - Makes the element a popover element + "global" attribute: popover + Makes the element a popover element + + Args: + value: + ['auto', 'manual'] - :param value: ['auto', 'manual'] - :return: An popover attribute to be added to your element - """ # fmt: skip + Returns: + An popover attribute to be added to your element + + """ return BaseAttribute("popover", value) @staticmethod def slot(value: StrLike) -> BaseAttribute: """ - "global" attribute: slot - The element's desired slot + "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) @staticmethod def spellcheck(value: Literal["true", "false", ""]) -> BaseAttribute: """ - "global" attribute: spellcheck - Whether the element is to have its spelling and grammar checked + "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) @staticmethod def style(value: Resolvable | Mapping[StrLike, StrLike]) -> BaseAttribute: """ - "global" attribute: style - Presentational and formatting instructions + "global" attribute: style + Presentational and formatting instructions + + Args: + value: + CSS declarations* - :param value: CSS declarations* - :return: An style attribute to be added to your element - """ # fmt: skip + Returns: + An style attribute to be added to your element + + """ return BaseAttribute("style", value, delimiter="; ") @staticmethod 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 + "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) @staticmethod def title(value: StrLike) -> BaseAttribute: """ - "global" attribute: title - Advisory information for the element + "global" attribute: title + Advisory information for the element + + Args: + value: + Text + + Returns: + An title attribute to be added to your element - :param value: Text - :return: An title attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("title", value) @staticmethod def translate(value: Literal["yes", "no"]) -> BaseAttribute: """ - "global" attribute: translate - Whether the element is to be translated when the page is localized + "global" attribute: translate + Whether the element is to be translated when the page is localized + + Args: + value: + ['yes', 'no'] - :param value: ['yes', 'no'] - :return: An translate attribute to be added to your element - """ # fmt: skip + Returns: + An translate attribute to be added to your element + + """ return BaseAttribute("translate", value) @@ -369,851 +509,1206 @@ def writingsuggestions( value: Literal["true", "false", ""], ) -> BaseAttribute: """ - "global" attribute: writingsuggestions - Whether the element can offer writing suggestions or not. + "global" attribute: writingsuggestions + Whether the element can offer writing suggestions or not. + + Args: + value: + ['true', 'false', ''] - :param value: ['true', 'false', ''] - :return: An writingsuggestions attribute to be added to your element - """ # fmt: skip + Returns: + An writingsuggestions attribute to be added to your element + + """ return BaseAttribute("writingsuggestions", value) @staticmethod def onauxclick(value) -> BaseAttribute: """ - "global" attribute: onauxclick - auxclick event handler + "global" attribute: onauxclick + auxclick event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onauxclick attribute to be added to your element - """ # fmt: skip + Returns: + An onauxclick attribute to be added to your element + + """ return BaseAttribute("onauxclick", value) @staticmethod def onbeforeinput(value) -> BaseAttribute: """ - "global" attribute: onbeforeinput - beforeinput event handler + "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) @staticmethod def onbeforematch(value) -> BaseAttribute: """ - "global" attribute: onbeforematch - beforematch event handler + "global" attribute: onbeforematch + beforematch event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onbeforematch attribute to be added to your element - """ # fmt: skip + Returns: + An onbeforematch attribute to be added to your element + + """ return BaseAttribute("onbeforematch", value) @staticmethod def onbeforetoggle(value) -> BaseAttribute: """ - "global" attribute: onbeforetoggle - beforetoggle event handler + "global" attribute: onbeforetoggle + beforetoggle event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onbeforetoggle attribute to be added to your element - """ # fmt: skip + Returns: + An onbeforetoggle attribute to be added to your element + + """ return BaseAttribute("onbeforetoggle", value) @staticmethod def onblur(value) -> BaseAttribute: """ - "global" attribute: onblur - blur event handler + "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) @staticmethod def oncancel(value) -> BaseAttribute: """ - "global" attribute: oncancel - cancel event handler + "global" attribute: oncancel + cancel event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An oncancel attribute to be added to your element - """ # fmt: skip + Returns: + An oncancel attribute to be added to your element + + """ return BaseAttribute("oncancel", value) @staticmethod def oncanplay(value) -> BaseAttribute: """ - "global" attribute: oncanplay - canplay event handler + "global" attribute: oncanplay + canplay event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An oncanplay attribute to be added to your element - """ # fmt: skip + Returns: + An oncanplay attribute to be added to your element + + """ return BaseAttribute("oncanplay", value) @staticmethod def oncanplaythrough(value) -> BaseAttribute: """ - "global" attribute: oncanplaythrough - canplaythrough event handler + "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) @staticmethod def onchange(value) -> BaseAttribute: """ - "global" attribute: onchange - change event handler + "global" attribute: onchange + change event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onchange attribute to be added to your element - """ # fmt: skip + Returns: + An onchange attribute to be added to your element + + """ return BaseAttribute("onchange", value) @staticmethod def onclick(value) -> BaseAttribute: """ - "global" attribute: onclick - click event handler + "global" attribute: onclick + click event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onclick attribute to be added to your element - """ # fmt: skip + Returns: + An onclick attribute to be added to your element + + """ return BaseAttribute("onclick", value) @staticmethod def onclose(value) -> BaseAttribute: """ - "global" attribute: onclose - close event handler + "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) @staticmethod def oncontextlost(value) -> BaseAttribute: """ - "global" attribute: oncontextlost - contextlost event handler + "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) @staticmethod def oncontextmenu(value) -> BaseAttribute: """ - "global" attribute: oncontextmenu - contextmenu event handler + "global" attribute: oncontextmenu + contextmenu event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An oncontextmenu attribute to be added to your element - """ # fmt: skip + Returns: + An oncontextmenu attribute to be added to your element + + """ return BaseAttribute("oncontextmenu", value) @staticmethod def oncontextrestored(value) -> BaseAttribute: """ - "global" attribute: oncontextrestored - contextrestored event handler + "global" attribute: oncontextrestored + contextrestored event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An oncontextrestored attribute to be added to your element - """ # fmt: skip + Returns: + An oncontextrestored attribute to be added to your element + + """ return BaseAttribute("oncontextrestored", value) @staticmethod def oncopy(value) -> BaseAttribute: """ - "global" attribute: oncopy - copy event handler + "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) @staticmethod def oncuechange(value) -> BaseAttribute: """ - "global" attribute: oncuechange - cuechange event handler + "global" attribute: oncuechange + cuechange event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An oncuechange attribute to be added to your element - """ # fmt: skip + Returns: + An oncuechange attribute to be added to your element + + """ return BaseAttribute("oncuechange", value) @staticmethod def oncut(value) -> BaseAttribute: """ - "global" attribute: oncut - cut event handler + "global" attribute: oncut + cut event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An oncut attribute to be added to your element - """ # fmt: skip + Returns: + An oncut attribute to be added to your element + + """ return BaseAttribute("oncut", value) @staticmethod def ondblclick(value) -> BaseAttribute: """ - "global" attribute: ondblclick - dblclick event handler + "global" attribute: ondblclick + dblclick event handler + + Args: + value: + Event handler content attribute + + Returns: + An ondblclick attribute to be added to your element - :param value: Event handler content attribute - :return: An ondblclick attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("ondblclick", value) @staticmethod def ondrag(value) -> BaseAttribute: """ - "global" attribute: ondrag - drag event handler + "global" attribute: ondrag + drag event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An ondrag attribute to be added to your element - """ # fmt: skip + Returns: + An ondrag attribute to be added to your element + + """ return BaseAttribute("ondrag", value) @staticmethod def ondragend(value) -> BaseAttribute: """ - "global" attribute: ondragend - dragend event handler + "global" attribute: ondragend + dragend event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An ondragend attribute to be added to your element - """ # fmt: skip + Returns: + An ondragend attribute to be added to your element + + """ return BaseAttribute("ondragend", value) @staticmethod def ondragenter(value) -> BaseAttribute: """ - "global" attribute: ondragenter - dragenter event handler + "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) @staticmethod def ondragleave(value) -> BaseAttribute: """ - "global" attribute: ondragleave - dragleave event handler + "global" attribute: ondragleave + dragleave event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An ondragleave attribute to be added to your element - """ # fmt: skip + Returns: + An ondragleave attribute to be added to your element + + """ return BaseAttribute("ondragleave", value) @staticmethod def ondragover(value) -> BaseAttribute: """ - "global" attribute: ondragover - dragover event handler + "global" attribute: ondragover + dragover event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An ondragover attribute to be added to your element - """ # fmt: skip + Returns: + An ondragover attribute to be added to your element + + """ return BaseAttribute("ondragover", value) @staticmethod def ondragstart(value) -> BaseAttribute: """ - "global" attribute: ondragstart - dragstart event handler + "global" attribute: ondragstart + dragstart event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An ondragstart attribute to be added to your element - """ # fmt: skip + Returns: + An ondragstart attribute to be added to your element + + """ return BaseAttribute("ondragstart", value) @staticmethod def ondrop(value) -> BaseAttribute: """ - "global" attribute: ondrop - drop event handler + "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) @staticmethod def ondurationchange(value) -> BaseAttribute: """ - "global" attribute: ondurationchange - durationchange event handler + "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) @staticmethod def onemptied(value) -> BaseAttribute: """ - "global" attribute: onemptied - emptied event handler + "global" attribute: onemptied + emptied event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onemptied attribute to be added to your element - """ # fmt: skip + Returns: + An onemptied attribute to be added to your element + + """ return BaseAttribute("onemptied", value) @staticmethod def onended(value) -> BaseAttribute: """ - "global" attribute: onended - ended event handler + "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) @staticmethod def onerror(value) -> BaseAttribute: """ - "global" attribute: onerror - error event handler + "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) @staticmethod def onfocus(value) -> BaseAttribute: """ - "global" attribute: onfocus - focus event handler + "global" attribute: onfocus + focus event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onfocus attribute to be added to your element - """ # fmt: skip + Returns: + An onfocus attribute to be added to your element + + """ return BaseAttribute("onfocus", value) @staticmethod def onformdata(value) -> BaseAttribute: """ - "global" attribute: onformdata - formdata event handler + "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) @staticmethod def oninput(value) -> BaseAttribute: """ - "global" attribute: oninput - input event handler + "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) @staticmethod def oninvalid(value) -> BaseAttribute: """ - "global" attribute: oninvalid - invalid event handler + "global" attribute: oninvalid + invalid event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An oninvalid attribute to be added to your element - """ # fmt: skip + Returns: + An oninvalid attribute to be added to your element + + """ return BaseAttribute("oninvalid", value) @staticmethod def onkeydown(value) -> BaseAttribute: """ - "global" attribute: onkeydown - keydown event handler + "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) @staticmethod def onkeypress(value) -> BaseAttribute: """ - "global" attribute: onkeypress - keypress event handler + "global" attribute: onkeypress + keypress event handler + + Args: + value: + Event handler content attribute + + Returns: + An onkeypress attribute to be added to your element - :param value: Event handler content attribute - :return: An onkeypress attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("onkeypress", value) @staticmethod def onkeyup(value) -> BaseAttribute: """ - "global" attribute: onkeyup - keyup event handler + "global" attribute: onkeyup + keyup event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onkeyup attribute to be added to your element - """ # fmt: skip + Returns: + An onkeyup attribute to be added to your element + + """ return BaseAttribute("onkeyup", value) @staticmethod def onload(value) -> BaseAttribute: """ - "global" attribute: onload - load event handler + "global" attribute: onload + load event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onload attribute to be added to your element - """ # fmt: skip + Returns: + An onload attribute to be added to your element + + """ return BaseAttribute("onload", value) @staticmethod def onloadeddata(value) -> BaseAttribute: """ - "global" attribute: onloadeddata - loadeddata event handler + "global" attribute: onloadeddata + loadeddata event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onloadeddata attribute to be added to your element - """ # fmt: skip + Returns: + An onloadeddata attribute to be added to your element + + """ return BaseAttribute("onloadeddata", value) @staticmethod def onloadedmetadata(value) -> BaseAttribute: """ - "global" attribute: onloadedmetadata - loadedmetadata event handler + "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) @staticmethod def onloadstart(value) -> BaseAttribute: """ - "global" attribute: onloadstart - loadstart event handler + "global" attribute: onloadstart + loadstart event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onloadstart attribute to be added to your element - """ # fmt: skip + Returns: + An onloadstart attribute to be added to your element + + """ return BaseAttribute("onloadstart", value) @staticmethod def onmousedown(value) -> BaseAttribute: """ - "global" attribute: onmousedown - mousedown event handler + "global" attribute: onmousedown + mousedown event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onmousedown attribute to be added to your element - """ # fmt: skip + Returns: + An onmousedown attribute to be added to your element + + """ return BaseAttribute("onmousedown", value) @staticmethod def onmouseenter(value) -> BaseAttribute: """ - "global" attribute: onmouseenter - mouseenter event handler + "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) @staticmethod def onmouseleave(value) -> BaseAttribute: """ - "global" attribute: onmouseleave - mouseleave event handler + "global" attribute: onmouseleave + mouseleave event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onmouseleave attribute to be added to your element - """ # fmt: skip + Returns: + An onmouseleave attribute to be added to your element + + """ return BaseAttribute("onmouseleave", value) @staticmethod def onmousemove(value) -> BaseAttribute: """ - "global" attribute: onmousemove - mousemove event handler + "global" attribute: onmousemove + mousemove event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onmousemove attribute to be added to your element - """ # fmt: skip + Returns: + An onmousemove attribute to be added to your element + + """ return BaseAttribute("onmousemove", value) @staticmethod def onmouseout(value) -> BaseAttribute: """ - "global" attribute: onmouseout - mouseout event handler + "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) @staticmethod def onmouseover(value) -> BaseAttribute: """ - "global" attribute: onmouseover - mouseover event handler + "global" attribute: onmouseover + mouseover event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onmouseover attribute to be added to your element - """ # fmt: skip + Returns: + An onmouseover attribute to be added to your element + + """ return BaseAttribute("onmouseover", value) @staticmethod def onmouseup(value) -> BaseAttribute: """ - "global" attribute: onmouseup - mouseup event handler + "global" attribute: onmouseup + mouseup event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onmouseup attribute to be added to your element - """ # fmt: skip + Returns: + An onmouseup attribute to be added to your element + + """ return BaseAttribute("onmouseup", value) @staticmethod def onpaste(value) -> BaseAttribute: """ - "global" attribute: onpaste - paste event handler + "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) @staticmethod def onpause(value) -> BaseAttribute: """ - "global" attribute: onpause - pause event handler + "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) @staticmethod def onplay(value) -> BaseAttribute: """ - "global" attribute: onplay - play event handler + "global" attribute: onplay + play event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onplay attribute to be added to your element - """ # fmt: skip + Returns: + An onplay attribute to be added to your element + + """ return BaseAttribute("onplay", value) @staticmethod def onplaying(value) -> BaseAttribute: """ - "global" attribute: onplaying - playing event handler + "global" attribute: onplaying + playing event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onplaying attribute to be added to your element - """ # fmt: skip + Returns: + An onplaying attribute to be added to your element + + """ return BaseAttribute("onplaying", value) @staticmethod def onprogress(value) -> BaseAttribute: """ - "global" attribute: onprogress - progress event handler + "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) @staticmethod def onratechange(value) -> BaseAttribute: """ - "global" attribute: onratechange - ratechange event handler + "global" attribute: onratechange + ratechange event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onratechange attribute to be added to your element - """ # fmt: skip + Returns: + An onratechange attribute to be added to your element + + """ return BaseAttribute("onratechange", value) @staticmethod def onreset(value) -> BaseAttribute: """ - "global" attribute: onreset - reset event handler + "global" attribute: onreset + reset event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onreset attribute to be added to your element - """ # fmt: skip + Returns: + An onreset attribute to be added to your element + + """ return BaseAttribute("onreset", value) @staticmethod def onresize(value) -> BaseAttribute: """ - "global" attribute: onresize - resize event handler + "global" attribute: onresize + resize event handler + + Args: + value: + Event handler content attribute + + Returns: + An onresize attribute to be added to your element - :param value: Event handler content attribute - :return: An onresize attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("onresize", value) @staticmethod def onscroll(value) -> BaseAttribute: """ - "global" attribute: onscroll - scroll event handler + "global" attribute: onscroll + scroll event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onscroll attribute to be added to your element - """ # fmt: skip + Returns: + An onscroll attribute to be added to your element + + """ return BaseAttribute("onscroll", value) @staticmethod def onscrollend(value) -> BaseAttribute: """ - "global" attribute: onscrollend - scrollend event handler + "global" attribute: onscrollend + scrollend event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onscrollend attribute to be added to your element - """ # fmt: skip + Returns: + An onscrollend attribute to be added to your element + + """ return BaseAttribute("onscrollend", value) @staticmethod def onsecuritypolicyviolation(value) -> BaseAttribute: """ - "global" attribute: onsecuritypolicyviolation - securitypolicyviolation event handler + "global" attribute: onsecuritypolicyviolation + securitypolicyviolation event handler + + Args: + value: + Event handler content attribute + + Returns: + An onsecuritypolicyviolation attribute to be added to your element - :param value: Event handler content attribute - :return: An onsecuritypolicyviolation attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("onsecuritypolicyviolation", value) @staticmethod def onseeked(value) -> BaseAttribute: """ - "global" attribute: onseeked - seeked event handler + "global" attribute: onseeked + seeked event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onseeked attribute to be added to your element - """ # fmt: skip + Returns: + An onseeked attribute to be added to your element + + """ return BaseAttribute("onseeked", value) @staticmethod def onseeking(value) -> BaseAttribute: """ - "global" attribute: onseeking - seeking event handler + "global" attribute: onseeking + seeking event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onseeking attribute to be added to your element - """ # fmt: skip + Returns: + An onseeking attribute to be added to your element + + """ return BaseAttribute("onseeking", value) @staticmethod def onselect(value) -> BaseAttribute: """ - "global" attribute: onselect - select event handler + "global" attribute: onselect + select event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onselect attribute to be added to your element - """ # fmt: skip + Returns: + An onselect attribute to be added to your element + + """ return BaseAttribute("onselect", value) @staticmethod def onslotchange(value) -> BaseAttribute: """ - "global" attribute: onslotchange - slotchange event handler + "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) @staticmethod def onstalled(value) -> BaseAttribute: """ - "global" attribute: onstalled - stalled event handler + "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) @staticmethod def onsubmit(value) -> BaseAttribute: """ - "global" attribute: onsubmit - submit event handler + "global" attribute: onsubmit + submit event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onsubmit attribute to be added to your element - """ # fmt: skip + Returns: + An onsubmit attribute to be added to your element + + """ return BaseAttribute("onsubmit", value) @staticmethod def onsuspend(value) -> BaseAttribute: """ - "global" attribute: onsuspend - suspend event handler + "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) @staticmethod def ontimeupdate(value) -> BaseAttribute: """ - "global" attribute: ontimeupdate - timeupdate event handler + "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) @staticmethod def ontoggle(value) -> BaseAttribute: """ - "global" attribute: ontoggle - toggle event handler + "global" attribute: ontoggle + toggle event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An ontoggle attribute to be added to your element - """ # fmt: skip + Returns: + An ontoggle attribute to be added to your element + + """ return BaseAttribute("ontoggle", value) @staticmethod def onvolumechange(value) -> BaseAttribute: """ - "global" attribute: onvolumechange - volumechange event handler + "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) @staticmethod def onwaiting(value) -> BaseAttribute: """ - "global" attribute: onwaiting - waiting event handler + "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) @staticmethod def onwheel(value) -> BaseAttribute: """ - "global" attribute: onwheel - wheel event handler + "global" attribute: onwheel + wheel event handler + + Args: + value: + Event handler content attribute - :param value: Event handler content attribute - :return: An onwheel attribute to be added to your element - """ # fmt: skip + Returns: + An onwheel attribute to be added to your element + + """ return BaseAttribute("onwheel", value) diff --git a/src/html_compose/attributes/iframe_attrs.py b/src/html_compose/attributes/iframe_attrs.py index 6e96554..c16e65d 100644 --- a/src/html_compose/attributes/iframe_attrs.py +++ b/src/html_compose/attributes/iframe_attrs.py @@ -12,119 +12,169 @@ class IframeAttrs: @staticmethod def allow(value) -> BaseAttribute: """ - "iframe" attribute: allow - Permissions policy to be applied to the iframe's contents + "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) @staticmethod def allowfullscreen(value: bool) -> BaseAttribute: """ - "iframe" attribute: allowfullscreen - Whether to allow the iframe's contents to use requestFullscreen() + "iframe" attribute: allowfullscreen + Whether to allow the iframe's contents to use requestFullscreen() + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An allowfullscreen attribute to be added to your element - """ # fmt: skip + Returns: + An allowfullscreen attribute to be added to your element + + """ return BaseAttribute("allowfullscreen", value) @staticmethod def height(value: int) -> BaseAttribute: """ - "iframe" attribute: height - Vertical dimension + "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) @staticmethod def loading(value: Literal["lazy", "eager"]) -> BaseAttribute: """ - "iframe" attribute: loading - Used when determining loading deferral + "iframe" attribute: loading + Used when determining loading deferral + + Args: + value: + ['lazy', 'eager'] - :param value: ['lazy', 'eager'] - :return: An loading attribute to be added to your element - """ # fmt: skip + Returns: + An loading attribute to be added to your element + + """ return BaseAttribute("loading", value) @staticmethod def name(value) -> BaseAttribute: """ - "iframe" attribute: name - Name of content navigable + "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) @staticmethod def referrerpolicy(value) -> BaseAttribute: """ - "iframe" attribute: referrerpolicy - Referrer policy for fetches initiated by the element + "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) @staticmethod def sandbox(value: Resolvable) -> BaseAttribute: """ - "iframe" attribute: sandbox - Security rules for nested content + "iframe" attribute: sandbox + Security rules for nested content + + 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" - :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 + Returns: + An sandbox attribute to be added to your element + + """ return BaseAttribute("sandbox", value) @staticmethod def src(value) -> BaseAttribute: """ - "iframe" attribute: src - Address of the resource + "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) @staticmethod def srcdoc(value) -> BaseAttribute: """ - "iframe" attribute: srcdoc - A document to render in the iframe + "iframe" attribute: srcdoc + A document to render in the iframe + + Args: + value: + The source of an iframe srcdoc document* - :param value: The source of an iframe srcdoc document* - :return: An srcdoc attribute to be added to your element - """ # fmt: skip + Returns: + An srcdoc attribute to be added to your element + + """ return BaseAttribute("srcdoc", value) @staticmethod def width(value: int) -> BaseAttribute: """ - "iframe" attribute: width - Horizontal dimension + "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) diff --git a/src/html_compose/attributes/img_attrs.py b/src/html_compose/attributes/img_attrs.py index 884d0eb..4a25615 100644 --- a/src/html_compose/attributes/img_attrs.py +++ b/src/html_compose/attributes/img_attrs.py @@ -12,12 +12,17 @@ class ImgAttrs: @staticmethod def alt(value: StrLike) -> BaseAttribute: """ - "img" attribute: alt - Replacement text for use when images are not available + "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) @@ -26,143 +31,203 @@ def crossorigin( value: Literal["anonymous", "use-credentials"], ) -> BaseAttribute: """ - "img" attribute: crossorigin - How the element handles crossorigin requests + "img" attribute: crossorigin + How the element handles crossorigin requests + + Args: + value: + ['anonymous', 'use-credentials'] + + Returns: + An crossorigin attribute to be added to your element - :param value: ['anonymous', 'use-credentials'] - :return: An crossorigin attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("crossorigin", value) @staticmethod def decoding(value: Literal["sync", "async", "auto"]) -> BaseAttribute: """ - "img" attribute: decoding - Decoding hint to use when processing this image for presentation + "img" attribute: decoding + Decoding hint to use when processing this image for presentation + + Args: + value: + ['sync', 'async', 'auto'] - :param value: ['sync', 'async', 'auto'] - :return: An decoding attribute to be added to your element - """ # fmt: skip + Returns: + An decoding attribute to be added to your element + + """ return BaseAttribute("decoding", value) @staticmethod def fetchpriority(value: Literal["auto", "high", "low"]) -> BaseAttribute: """ - "img" attribute: fetchpriority - Sets the priority for fetches initiated by the element + "img" attribute: fetchpriority + Sets the priority for fetches initiated by the element + + Args: + value: + ['auto', 'high', 'low'] - :param value: ['auto', 'high', 'low'] - :return: An fetchpriority attribute to be added to your element - """ # fmt: skip + Returns: + An fetchpriority attribute to be added to your element + + """ return BaseAttribute("fetchpriority", value) @staticmethod def height(value: int) -> BaseAttribute: """ - "img" attribute: height - Vertical dimension + "img" attribute: height + Vertical dimension + + Args: + value: + Valid non-negative integer - :param value: Valid non-negative integer - :return: An height attribute to be added to your element - """ # fmt: skip + Returns: + An height attribute to be added to your element + + """ return BaseAttribute("height", value) @staticmethod def ismap(value: bool) -> BaseAttribute: """ - "img" attribute: ismap - Whether the image is a server-side image map + "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) @staticmethod def loading(value: Literal["lazy", "eager"]) -> BaseAttribute: """ - "img" attribute: loading - Used when determining loading deferral + "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) @staticmethod def referrerpolicy(value) -> BaseAttribute: """ - "img" attribute: referrerpolicy - Referrer policy for fetches initiated by the element + "img" attribute: referrerpolicy + Referrer policy for fetches initiated by the element + + Args: + value: + Referrer policy - :param value: Referrer policy - :return: An referrerpolicy attribute to be added to your element - """ # fmt: skip + Returns: + An referrerpolicy attribute to be added to your element + + """ return BaseAttribute("referrerpolicy", value) @staticmethod def sizes(value) -> BaseAttribute: """ - "img" attribute: sizes - Image sizes for different page layouts + "img" attribute: sizes + Image sizes for different page layouts + + Args: + value: + Valid source size list - :param value: Valid source size list - :return: An sizes attribute to be added to your element - """ # fmt: skip + Returns: + An sizes attribute to be added to your element + + """ return BaseAttribute("sizes", value) @staticmethod def src(value) -> BaseAttribute: """ - "img" attribute: src - Address of the resource + "img" attribute: src + Address of the resource + + Args: + value: + Valid non-empty URL potentially surrounded by spaces - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) @staticmethod def srcset(value) -> BaseAttribute: """ - "img" attribute: srcset - Images to use in different situations, e.g., high-resolution displays, small monitors, etc. + "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) @staticmethod def usemap(value) -> BaseAttribute: """ - "img" attribute: usemap - Name of image map to use + "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) @staticmethod def width(value: int) -> BaseAttribute: """ - "img" attribute: width - Horizontal dimension + "img" attribute: width + Horizontal dimension + + Args: + value: + Valid non-negative integer - :param value: Valid non-negative integer - :return: An width attribute to be added to your element - """ # fmt: skip + Returns: + An width attribute to be added to your element + + """ return BaseAttribute("width", value) diff --git a/src/html_compose/attributes/input_attrs.py b/src/html_compose/attributes/input_attrs.py index ce9e1fb..cc01c15 100644 --- a/src/html_compose/attributes/input_attrs.py +++ b/src/html_compose/attributes/input_attrs.py @@ -12,60 +12,85 @@ class InputAttrs: @staticmethod def accept(value) -> BaseAttribute: """ - "input" attribute: accept - Hint for expected file type in file upload controls + "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) @staticmethod def alpha(value: bool) -> BaseAttribute: """ - "input" attribute: alpha - Allow the color's alpha component to be set + "input" attribute: alpha + Allow the color's alpha component to be set + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An alpha attribute to be added to your element - """ # fmt: skip + Returns: + An alpha attribute to be added to your element + + """ return BaseAttribute("alpha", value) @staticmethod def alt(value: StrLike) -> BaseAttribute: """ - "input" attribute: alt - Replacement text for use when images are not available + "input" attribute: alt + Replacement text for use when images are not available + + Args: + value: + Text* - :param value: Text* - :return: An alt attribute to be added to your element - """ # fmt: skip + Returns: + An alt attribute to be added to your element + + """ return BaseAttribute("alt", value) @staticmethod def autocomplete(value) -> BaseAttribute: """ - "input" attribute: autocomplete - Hint for form autofill feature + "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) @staticmethod def checked(value: bool) -> BaseAttribute: """ - "input" attribute: checked - Whether the control is checked + "input" attribute: checked + Whether the control is checked + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An checked attribute to be added to your element - """ # fmt: skip + Returns: + An checked attribute to be added to your element + + """ return BaseAttribute("checked", value) @@ -74,60 +99,85 @@ def colorspace( value: Literal["limited-srgb", "display-p3"], ) -> BaseAttribute: """ - "input" attribute: colorspace - The color space of the serialized color + "input" attribute: colorspace + The color space of the serialized color + + Args: + value: + ['limited-srgb', 'display-p3'] - :param value: ['limited-srgb', 'display-p3'] - :return: An colorspace attribute to be added to your element - """ # fmt: skip + Returns: + An colorspace attribute to be added to your element + + """ return BaseAttribute("colorspace", value) @staticmethod def dirname(value: StrLike) -> BaseAttribute: """ - "input" attribute: dirname - Name of form control to use for sending the element's directionality in form submission + "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) @staticmethod def disabled(value: bool) -> BaseAttribute: """ - "input" attribute: disabled - Whether the form control is disabled + "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) @staticmethod def form(value) -> BaseAttribute: """ - "input" attribute: form - Associates the element with a form element + "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) @staticmethod def formaction(value) -> BaseAttribute: """ - "input" attribute: formaction - URL to use for form submission + "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) @@ -140,180 +190,255 @@ def formenctype( ], ) -> BaseAttribute: """ - "input" attribute: formenctype - Entry list encoding type to use for form submission + "input" attribute: formenctype + Entry list encoding type to use for form submission + + Args: + value: + ['application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'] - :param value: ['application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'] - :return: An formenctype attribute to be added to your element - """ # fmt: skip + Returns: + An formenctype attribute to be added to your element + + """ return BaseAttribute("formenctype", value) @staticmethod def formmethod(value: Literal["GET", "POST", "dialog"]) -> BaseAttribute: """ - "input" attribute: formmethod - Variant to use for form submission + "input" attribute: formmethod + Variant to use for form submission + + Args: + value: + ['GET', 'POST', 'dialog'] - :param value: ['GET', 'POST', 'dialog'] - :return: An formmethod attribute to be added to your element - """ # fmt: skip + Returns: + An formmethod attribute to be added to your element + + """ return BaseAttribute("formmethod", value) @staticmethod def formnovalidate(value: bool) -> BaseAttribute: """ - "input" attribute: formnovalidate - Bypass form control validation for form submission + "input" attribute: formnovalidate + Bypass form control validation for form submission + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An formnovalidate attribute to be added to your element - """ # fmt: skip + Returns: + An formnovalidate attribute to be added to your element + + """ return BaseAttribute("formnovalidate", value) @staticmethod def formtarget(value) -> BaseAttribute: """ - "input" attribute: formtarget - Navigable for form submission + "input" attribute: formtarget + Navigable for form submission + + Args: + value: + Valid navigable target name or keyword - :param value: Valid navigable target name or keyword - :return: An formtarget attribute to be added to your element - """ # fmt: skip + Returns: + An formtarget attribute to be added to your element + + """ return BaseAttribute("formtarget", value) @staticmethod def height(value: int) -> BaseAttribute: """ - "input" attribute: height - Vertical dimension + "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) @staticmethod def list(value) -> BaseAttribute: """ - "input" attribute: list - List of autocomplete options + "input" attribute: list + List of autocomplete options + + Args: + value: + ID* - :param value: ID* - :return: An list attribute to be added to your element - """ # fmt: skip + Returns: + An list attribute to be added to your element + + """ return BaseAttribute("list", value) @staticmethod def max(value) -> BaseAttribute: """ - "input" attribute: max - Maximum value + "input" attribute: max + Maximum value + + Args: + value: + Varies* + + Returns: + An max attribute to be added to your element - :param value: Varies* - :return: An max attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("max", value) @staticmethod def maxlength(value: int) -> BaseAttribute: """ - "input" attribute: maxlength - Maximum length of value + "input" attribute: maxlength + Maximum length of value + + Args: + value: + Valid non-negative integer - :param value: Valid non-negative integer - :return: An maxlength attribute to be added to your element - """ # fmt: skip + Returns: + An maxlength attribute to be added to your element + + """ return BaseAttribute("maxlength", value) @staticmethod def min(value) -> BaseAttribute: """ - "input" attribute: min - Minimum value + "input" attribute: min + Minimum value + + Args: + value: + Varies* - :param value: Varies* - :return: An min attribute to be added to your element - """ # fmt: skip + Returns: + An min attribute to be added to your element + + """ return BaseAttribute("min", value) @staticmethod def minlength(value: int) -> BaseAttribute: """ - "input" attribute: minlength - Minimum length of value + "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) @staticmethod def multiple(value: bool) -> BaseAttribute: """ - "input" attribute: multiple - Whether to allow multiple values + "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) @staticmethod def name(value: StrLike) -> BaseAttribute: """ - "input" attribute: name - Name of the element to use for form submission and in the form.elements API + "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) @staticmethod def pattern(value) -> BaseAttribute: """ - "input" attribute: pattern - Pattern to be matched by the form control's value + "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) @staticmethod def placeholder(value: StrLike) -> BaseAttribute: """ - "input" attribute: placeholder - User-visible label to be placed within the form control + "input" attribute: placeholder + User-visible label to be placed within the form control + + Args: + value: + Text* - :param value: Text* - :return: An placeholder attribute to be added to your element - """ # fmt: skip + Returns: + An placeholder attribute to be added to your element + + """ return BaseAttribute("placeholder", value) @staticmethod def popovertarget(value) -> BaseAttribute: """ - "input" attribute: popovertarget - Targets a popover element to toggle, show, or hide + "input" attribute: popovertarget + Targets a popover element to toggle, show, or hide + + Args: + value: + ID* - :param value: ID* - :return: An popovertarget attribute to be added to your element - """ # fmt: skip + Returns: + An popovertarget attribute to be added to your element + + """ return BaseAttribute("popovertarget", value) @@ -322,119 +447,169 @@ def popovertargetaction( value: Literal["toggle", "show", "hide"], ) -> BaseAttribute: """ - "input" attribute: popovertargetaction - Indicates whether a targeted popover element is to be toggled, shown, or hidden + "input" attribute: popovertargetaction + Indicates whether a targeted popover element is to be toggled, shown, or hidden + + Args: + value: + ['toggle', 'show', 'hide'] - :param value: ['toggle', 'show', 'hide'] - :return: An popovertargetaction attribute to be added to your element - """ # fmt: skip + Returns: + An popovertargetaction attribute to be added to your element + + """ return BaseAttribute("popovertargetaction", value) @staticmethod def readonly(value: bool) -> BaseAttribute: """ - "input" attribute: readonly - Whether to allow the value to be edited by the user + "input" attribute: readonly + Whether to allow the value to be edited by the user + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An readonly attribute to be added to your element - """ # fmt: skip + Returns: + An readonly attribute to be added to your element + + """ return BaseAttribute("readonly", value) @staticmethod def required(value: bool) -> BaseAttribute: """ - "input" attribute: required - Whether the control is required for form submission + "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) @staticmethod def size(value) -> BaseAttribute: """ - "input" attribute: size - Size of the control + "input" attribute: size + Size of the control + + Args: + value: + Valid non-negative integer greater than zero - :param value: Valid non-negative integer greater than zero - :return: An size attribute to be added to your element - """ # fmt: skip + Returns: + An size attribute to be added to your element + + """ return BaseAttribute("size", value) @staticmethod def src(value) -> BaseAttribute: """ - "input" attribute: src - Address of the resource + "input" attribute: src + Address of the resource + + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An src attribute to be added to your element - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("src", value) @staticmethod def step(value: float) -> BaseAttribute: """ - "input" attribute: step - Granularity to be matched by the form control's value + "input" attribute: step + Granularity to be matched by the form control's value + + Args: + value: + Valid floating-point number greater than zero, or "any" + + Returns: + An step attribute to be added to your element - :param value: Valid floating-point number greater than zero, or "any" - :return: An step attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("step", value) @staticmethod def title(value: StrLike) -> BaseAttribute: """ - "input" attribute: title - Description of pattern (when used with pattern attribute) + "input" attribute: title + Description of pattern (when used with pattern attribute) + + Args: + value: + Text - :param value: Text - :return: An title attribute to be added to your element - """ # fmt: skip + Returns: + An title attribute to be added to your element + + """ return BaseAttribute("title", value) @staticmethod def type(value) -> BaseAttribute: """ - "input" attribute: type - Type of form control + "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) @staticmethod def value(value) -> BaseAttribute: """ - "input" attribute: value - Value of the form control + "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) @staticmethod def width(value: int) -> BaseAttribute: """ - "input" attribute: width - Horizontal dimension + "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) diff --git a/src/html_compose/attributes/ins_attrs.py b/src/html_compose/attributes/ins_attrs.py index 5aa8361..679ea4b 100644 --- a/src/html_compose/attributes/ins_attrs.py +++ b/src/html_compose/attributes/ins_attrs.py @@ -10,23 +10,33 @@ class InsAttrs: @staticmethod def cite(value) -> BaseAttribute: """ - "ins" attribute: cite - Link to the source of the quotation or more information about the edit + "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) @staticmethod def datetime(value) -> BaseAttribute: """ - "ins" attribute: datetime - Date and (optionally) time of the change + "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) diff --git a/src/html_compose/attributes/label_attrs.py b/src/html_compose/attributes/label_attrs.py index 098c06b..a3360c9 100644 --- a/src/html_compose/attributes/label_attrs.py +++ b/src/html_compose/attributes/label_attrs.py @@ -10,11 +10,16 @@ class LabelAttrs: @staticmethod def for_(value) -> BaseAttribute: """ - "label" attribute: for - Associate the label with form control + "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) diff --git a/src/html_compose/attributes/li_attrs.py b/src/html_compose/attributes/li_attrs.py index ab9eb21..8dd3495 100644 --- a/src/html_compose/attributes/li_attrs.py +++ b/src/html_compose/attributes/li_attrs.py @@ -10,11 +10,16 @@ class LiAttrs: @staticmethod def value(value: int) -> BaseAttribute: """ - "li" attribute: value - Ordinal value of the list item + "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) diff --git a/src/html_compose/attributes/link_attrs.py b/src/html_compose/attributes/link_attrs.py index 7503a14..1445da8 100644 --- a/src/html_compose/attributes/link_attrs.py +++ b/src/html_compose/attributes/link_attrs.py @@ -12,36 +12,51 @@ class LinkAttrs: @staticmethod def as_(value) -> BaseAttribute: """ - "link" attribute: as - Potential destination for a preload request (for rel="preload" and rel="modulepreload") + "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) @staticmethod def blocking(value: Resolvable) -> BaseAttribute: """ - "link" attribute: blocking - Whether the element is potentially render-blocking + "link" attribute: blocking + Whether the element is potentially render-blocking + + Args: + value: + Unordered set of unique space-separated tokens* - :param value: Unordered set of unique space-separated tokens* - :return: An blocking attribute to be added to your element - """ # fmt: skip + Returns: + An blocking attribute to be added to your element + + """ return BaseAttribute("blocking", value) @staticmethod def color(value) -> BaseAttribute: """ - "link" attribute: color - Color to use when customizing a site's icon (for rel="mask-icon") + "link" attribute: color + Color to use when customizing a site's icon (for rel="mask-icon") + + Args: + value: + CSS - :param value: CSS - :return: An color attribute to be added to your element - """ # fmt: skip + Returns: + An color attribute to be added to your element + + """ return BaseAttribute("color", value) @@ -50,167 +65,237 @@ def crossorigin( value: Literal["anonymous", "use-credentials"], ) -> BaseAttribute: """ - "link" attribute: crossorigin - How the element handles crossorigin requests + "link" attribute: crossorigin + How the element handles crossorigin requests + + Args: + value: + ['anonymous', 'use-credentials'] - :param value: ['anonymous', 'use-credentials'] - :return: An crossorigin attribute to be added to your element - """ # fmt: skip + Returns: + An crossorigin attribute to be added to your element + + """ return BaseAttribute("crossorigin", value) @staticmethod def disabled(value: bool) -> BaseAttribute: """ - "link" attribute: disabled - Whether the link is disabled + "link" attribute: disabled + Whether the link is disabled + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An disabled attribute to be added to your element - """ # fmt: skip + Returns: + An disabled attribute to be added to your element + + """ return BaseAttribute("disabled", value) @staticmethod def fetchpriority(value: Literal["auto", "high", "low"]) -> BaseAttribute: """ - "link" attribute: fetchpriority - Sets the priority for fetches initiated by the element + "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) @staticmethod def href(value) -> BaseAttribute: """ - "link" attribute: href - Address of the hyperlink + "link" attribute: href + Address of the hyperlink + + Args: + value: + Valid non-empty URL potentially surrounded by spaces - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An href attribute to be added to your element - """ # fmt: skip + Returns: + An href attribute to be added to your element + + """ return BaseAttribute("href", value) @staticmethod def hreflang(value) -> BaseAttribute: """ - "link" attribute: hreflang - Language of the linked resource + "link" attribute: hreflang + Language of the linked resource + + Args: + value: + Valid BCP 47 language tag + + Returns: + An hreflang attribute to be added to your element - :param value: Valid BCP 47 language tag - :return: An hreflang attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("hreflang", value) @staticmethod def imagesizes(value) -> BaseAttribute: """ - "link" attribute: imagesizes - Image sizes for different page layouts (for rel="preload") + "link" attribute: imagesizes + Image sizes for different page layouts (for rel="preload") + + Args: + value: + Valid source size list - :param value: Valid source size list - :return: An imagesizes attribute to be added to your element - """ # fmt: skip + Returns: + An imagesizes attribute to be added to your element + + """ return BaseAttribute("imagesizes", value) @staticmethod def imagesrcset(value) -> BaseAttribute: """ - "link" attribute: imagesrcset - Images to use in different situations, e.g., high-resolution displays, small monitors, etc. (for rel="preload") + "link" attribute: imagesrcset + Images to use in different situations, e.g., high-resolution displays, small monitors, etc. (for rel="preload") + + Args: + value: + Comma-separated list of image candidate strings - :param value: Comma-separated list of image candidate strings - :return: An imagesrcset attribute to be added to your element - """ # fmt: skip + Returns: + An imagesrcset attribute to be added to your element + + """ return BaseAttribute("imagesrcset", value) @staticmethod def integrity(value: StrLike) -> BaseAttribute: """ - "link" attribute: integrity - Integrity metadata used in Subresource Integrity checks [SRI] + "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) @staticmethod def media(value) -> BaseAttribute: """ - "link" attribute: media - Applicable media + "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) @staticmethod def referrerpolicy(value) -> BaseAttribute: """ - "link" attribute: referrerpolicy - Referrer policy for fetches initiated by the element + "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) @staticmethod def rel(value: Resolvable) -> BaseAttribute: """ - "link" attribute: rel - Relationship between the document containing the hyperlink and the destination resource + "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) @staticmethod def sizes(value: Resolvable) -> BaseAttribute: """ - "link" attribute: sizes - Sizes of the icons (for rel="icon") + "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) @staticmethod def title(value) -> BaseAttribute: """ - "link" attribute: title - Title of the link OR CSS style sheet set name + "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) @staticmethod def type(value) -> BaseAttribute: """ - "link" attribute: type - Hint for the type of the referenced resource + "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) diff --git a/src/html_compose/attributes/map_attrs.py b/src/html_compose/attributes/map_attrs.py index f736d42..0cccdef 100644 --- a/src/html_compose/attributes/map_attrs.py +++ b/src/html_compose/attributes/map_attrs.py @@ -11,11 +11,16 @@ class MapAttrs: @staticmethod def name(value: StrLike) -> BaseAttribute: """ - "map" attribute: name - Name of image map to reference from the usemap attribute + "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) diff --git a/src/html_compose/attributes/meta_attrs.py b/src/html_compose/attributes/meta_attrs.py index 5b05903..8db7465 100644 --- a/src/html_compose/attributes/meta_attrs.py +++ b/src/html_compose/attributes/meta_attrs.py @@ -12,24 +12,34 @@ class MetaAttrs: @staticmethod def charset(value: Literal["utf-8"]) -> BaseAttribute: """ - "meta" attribute: charset - Character encoding declaration + "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) @staticmethod def content(value: StrLike) -> BaseAttribute: """ - "meta" attribute: content - Value of the element + "meta" attribute: content + Value of the element + + Args: + value: + Text* - :param value: Text* - :return: An content attribute to be added to your element - """ # fmt: skip + Returns: + An content attribute to be added to your element + + """ return BaseAttribute("content", value) @@ -44,35 +54,50 @@ def http_equiv( ], ) -> BaseAttribute: """ - "meta" attribute: http-equiv - Pragma directive + "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) @staticmethod def media(value) -> BaseAttribute: """ - "meta" attribute: media - Applicable media + "meta" attribute: media + Applicable media + + Args: + value: + Valid media query list - :param value: Valid media query list - :return: An media attribute to be added to your element - """ # fmt: skip + Returns: + An media attribute to be added to your element + + """ return BaseAttribute("media", value) @staticmethod def name(value: StrLike) -> BaseAttribute: """ - "meta" attribute: name - Metadata name + "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) diff --git a/src/html_compose/attributes/meter_attrs.py b/src/html_compose/attributes/meter_attrs.py index 5a9f393..867ac1e 100644 --- a/src/html_compose/attributes/meter_attrs.py +++ b/src/html_compose/attributes/meter_attrs.py @@ -10,71 +10,101 @@ class MeterAttrs: @staticmethod def high(value: float) -> BaseAttribute: """ - "meter" attribute: high - Low limit of high range + "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) @staticmethod def low(value: float) -> BaseAttribute: """ - "meter" attribute: low - High limit of low range + "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) @staticmethod def max(value: float) -> BaseAttribute: """ - "meter" attribute: max - Upper bound of range + "meter" attribute: max + Upper bound of range + + Args: + value: + Valid floating-point number* - :param value: Valid floating-point number* - :return: An max attribute to be added to your element - """ # fmt: skip + Returns: + An max attribute to be added to your element + + """ return BaseAttribute("max", value) @staticmethod def min(value: float) -> BaseAttribute: """ - "meter" attribute: min - Lower bound of range + "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) @staticmethod def optimum(value: float) -> BaseAttribute: """ - "meter" attribute: optimum - Optimum value in gauge + "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) @staticmethod def value(value: float) -> BaseAttribute: """ - "meter" attribute: value - Current value of the element + "meter" attribute: value + Current value of the element + + Args: + value: + Valid floating-point number - :param value: Valid floating-point number - :return: An value attribute to be added to your element - """ # fmt: skip + Returns: + An value attribute to be added to your element + + """ return BaseAttribute("value", value) diff --git a/src/html_compose/attributes/object_attrs.py b/src/html_compose/attributes/object_attrs.py index 95d1346..e93a14a 100644 --- a/src/html_compose/attributes/object_attrs.py +++ b/src/html_compose/attributes/object_attrs.py @@ -10,71 +10,101 @@ class ObjectAttrs: @staticmethod def data(value) -> BaseAttribute: """ - "object" attribute: data - Address of the resource + "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) @staticmethod def form(value) -> BaseAttribute: """ - "object" attribute: form - Associates the element with a form element + "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) @staticmethod def height(value: int) -> BaseAttribute: """ - "object" attribute: height - Vertical dimension + "object" attribute: height + Vertical dimension + + Args: + value: + Valid non-negative integer - :param value: Valid non-negative integer - :return: An height attribute to be added to your element - """ # fmt: skip + Returns: + An height attribute to be added to your element + + """ return BaseAttribute("height", value) @staticmethod def name(value) -> BaseAttribute: """ - "object" attribute: name - Name of content navigable + "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) @staticmethod def type(value) -> BaseAttribute: """ - "object" attribute: type - Type of embedded resource + "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) @staticmethod def width(value: int) -> BaseAttribute: """ - "object" attribute: width - Horizontal dimension + "object" attribute: width + Horizontal dimension + + Args: + value: + Valid non-negative integer - :param value: Valid non-negative integer - :return: An width attribute to be added to your element - """ # fmt: skip + Returns: + An width attribute to be added to your element + + """ return BaseAttribute("width", value) diff --git a/src/html_compose/attributes/ol_attrs.py b/src/html_compose/attributes/ol_attrs.py index 7a5baf1..549db15 100644 --- a/src/html_compose/attributes/ol_attrs.py +++ b/src/html_compose/attributes/ol_attrs.py @@ -11,35 +11,50 @@ class OlAttrs: @staticmethod def reversed(value: bool) -> BaseAttribute: """ - "ol" attribute: reversed - Number the list backwards + "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) @staticmethod def start(value: int) -> BaseAttribute: """ - "ol" attribute: start - Starting value of the list + "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) @staticmethod def type(value: Literal["1", "a", "A", "i", "I"]) -> BaseAttribute: """ - "ol" attribute: type - Kind of list marker + "ol" attribute: type + Kind of list marker + + Args: + value: + ['1', 'a', 'A', 'i', 'I'] - :param value: ['1', 'a', 'A', 'i', 'I'] - :return: An type attribute to be added to your element - """ # fmt: skip + Returns: + An type attribute to be added to your element + + """ return BaseAttribute("type", value) diff --git a/src/html_compose/attributes/optgroup_attrs.py b/src/html_compose/attributes/optgroup_attrs.py index af8359f..d4be54d 100644 --- a/src/html_compose/attributes/optgroup_attrs.py +++ b/src/html_compose/attributes/optgroup_attrs.py @@ -11,23 +11,33 @@ class OptgroupAttrs: @staticmethod def disabled(value: bool) -> BaseAttribute: """ - "optgroup" attribute: disabled - Whether the form control is disabled + "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) @staticmethod def label(value: StrLike) -> BaseAttribute: """ - "optgroup" attribute: label - User-visible label + "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) diff --git a/src/html_compose/attributes/option_attrs.py b/src/html_compose/attributes/option_attrs.py index 57f09d8..9a2bf51 100644 --- a/src/html_compose/attributes/option_attrs.py +++ b/src/html_compose/attributes/option_attrs.py @@ -11,47 +11,67 @@ class OptionAttrs: @staticmethod def disabled(value: bool) -> BaseAttribute: """ - "option" attribute: disabled - Whether the form control is disabled + "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) @staticmethod def label(value: StrLike) -> BaseAttribute: """ - "option" attribute: label - User-visible label + "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) @staticmethod def selected(value: bool) -> BaseAttribute: """ - "option" attribute: selected - Whether the option is selected by default + "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) @staticmethod def value(value: StrLike) -> BaseAttribute: """ - "option" attribute: value - Value to be used for form submission + "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) diff --git a/src/html_compose/attributes/output_attrs.py b/src/html_compose/attributes/output_attrs.py index 943889c..50429f6 100644 --- a/src/html_compose/attributes/output_attrs.py +++ b/src/html_compose/attributes/output_attrs.py @@ -11,35 +11,50 @@ class OutputAttrs: @staticmethod def for_(value: Resolvable) -> BaseAttribute: """ - "output" attribute: for - Specifies controls from which the output was calculated + "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) @staticmethod def form(value) -> BaseAttribute: """ - "output" attribute: form - Associates the element with a form element + "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) @staticmethod def name(value: StrLike) -> BaseAttribute: """ - "output" attribute: name - Name of the element to use for form submission and in the form.elements API + "output" attribute: name + Name of the element to use for form submission and in the form.elements API + + Args: + value: + Text* - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) diff --git a/src/html_compose/attributes/progress_attrs.py b/src/html_compose/attributes/progress_attrs.py index f165244..66e92be 100644 --- a/src/html_compose/attributes/progress_attrs.py +++ b/src/html_compose/attributes/progress_attrs.py @@ -10,23 +10,33 @@ class ProgressAttrs: @staticmethod def max(value: float) -> BaseAttribute: """ - "progress" attribute: max - Upper bound of range + "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) @staticmethod def value(value: float) -> BaseAttribute: """ - "progress" attribute: value - Current value of the element + "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) diff --git a/src/html_compose/attributes/q_attrs.py b/src/html_compose/attributes/q_attrs.py index 4b7a029..7d223c9 100644 --- a/src/html_compose/attributes/q_attrs.py +++ b/src/html_compose/attributes/q_attrs.py @@ -10,11 +10,16 @@ class QAttrs: @staticmethod def cite(value) -> BaseAttribute: """ - "q" attribute: cite - Link to the source of the quotation or more information about the edit + "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) diff --git a/src/html_compose/attributes/script_attrs.py b/src/html_compose/attributes/script_attrs.py index 4d8e14c..d9300b1 100644 --- a/src/html_compose/attributes/script_attrs.py +++ b/src/html_compose/attributes/script_attrs.py @@ -12,24 +12,34 @@ class ScriptAttrs: @staticmethod def async_(value: bool) -> BaseAttribute: """ - "script" attribute: async - Execute script when available, without blocking while fetching + "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) @staticmethod def blocking(value: Resolvable) -> BaseAttribute: """ - "script" attribute: blocking - Whether the element is potentially render-blocking + "script" attribute: blocking + Whether the element is potentially render-blocking + + Args: + value: + Unordered set of unique space-separated tokens* - :param value: Unordered set of unique space-separated tokens* - :return: An blocking attribute to be added to your element - """ # fmt: skip + Returns: + An blocking attribute to be added to your element + + """ return BaseAttribute("blocking", value) @@ -38,95 +48,135 @@ def crossorigin( value: Literal["anonymous", "use-credentials"], ) -> BaseAttribute: """ - "script" attribute: crossorigin - How the element handles crossorigin requests + "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) @staticmethod def defer(value: bool) -> BaseAttribute: """ - "script" attribute: defer - Defer script execution + "script" attribute: defer + Defer script execution + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An defer attribute to be added to your element - """ # fmt: skip + Returns: + An defer attribute to be added to your element + + """ return BaseAttribute("defer", value) @staticmethod def fetchpriority(value: Literal["auto", "high", "low"]) -> BaseAttribute: """ - "script" attribute: fetchpriority - Sets the priority for fetches initiated by the element + "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) @staticmethod def integrity(value: StrLike) -> BaseAttribute: """ - "script" attribute: integrity - Integrity metadata used in Subresource Integrity checks [SRI] + "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) @staticmethod def nomodule(value: bool) -> BaseAttribute: """ - "script" attribute: nomodule - Prevents execution in user agents that support module scripts + "script" attribute: nomodule + Prevents execution in user agents that support module scripts + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An nomodule attribute to be added to your element - """ # fmt: skip + Returns: + An nomodule attribute to be added to your element + + """ return BaseAttribute("nomodule", value) @staticmethod def referrerpolicy(value) -> BaseAttribute: """ - "script" attribute: referrerpolicy - Referrer policy for fetches initiated by the element + "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) @staticmethod def src(value) -> BaseAttribute: """ - "script" attribute: src - Address of the resource + "script" attribute: src + Address of the resource + + Args: + value: + Valid non-empty URL potentially surrounded by spaces - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) @staticmethod def type(value) -> BaseAttribute: """ - "script" attribute: type - Type of script + "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) diff --git a/src/html_compose/attributes/select_attrs.py b/src/html_compose/attributes/select_attrs.py index 2137609..1eb63cf 100644 --- a/src/html_compose/attributes/select_attrs.py +++ b/src/html_compose/attributes/select_attrs.py @@ -11,83 +11,118 @@ class SelectAttrs: @staticmethod def autocomplete(value) -> BaseAttribute: """ - "select" attribute: autocomplete - Hint for form autofill feature + "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) @staticmethod def disabled(value: bool) -> BaseAttribute: """ - "select" attribute: disabled - Whether the form control is disabled + "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) @staticmethod def form(value) -> BaseAttribute: """ - "select" attribute: form - Associates the element with a form element + "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) @staticmethod def multiple(value: bool) -> BaseAttribute: """ - "select" attribute: multiple - Whether to allow multiple values + "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) @staticmethod def name(value: StrLike) -> BaseAttribute: """ - "select" attribute: name - Name of the element to use for form submission and in the form.elements API + "select" attribute: name + Name of the element to use for form submission and in the form.elements API + + Args: + value: + Text* - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) @staticmethod def required(value: bool) -> BaseAttribute: """ - "select" attribute: required - Whether the control is required for form submission + "select" attribute: required + Whether the control is required for form submission + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An required attribute to be added to your element - """ # fmt: skip + Returns: + An required attribute to be added to your element + + """ return BaseAttribute("required", value) @staticmethod def size(value) -> BaseAttribute: """ - "select" attribute: size - Size of the control + "select" attribute: size + Size of the control + + Args: + value: + Valid non-negative integer greater than zero - :param value: Valid non-negative integer greater than zero - :return: An size attribute to be added to your element - """ # fmt: skip + Returns: + An size attribute to be added to your element + + """ return BaseAttribute("size", value) diff --git a/src/html_compose/attributes/slot_attrs.py b/src/html_compose/attributes/slot_attrs.py index 92a929c..81e6b6d 100644 --- a/src/html_compose/attributes/slot_attrs.py +++ b/src/html_compose/attributes/slot_attrs.py @@ -11,11 +11,16 @@ class SlotAttrs: @staticmethod def name(value: StrLike) -> BaseAttribute: """ - "slot" attribute: name - Name of shadow tree slot + "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) diff --git a/src/html_compose/attributes/source_attrs.py b/src/html_compose/attributes/source_attrs.py index ff482e3..0dad56e 100644 --- a/src/html_compose/attributes/source_attrs.py +++ b/src/html_compose/attributes/source_attrs.py @@ -10,83 +10,118 @@ class SourceAttrs: @staticmethod def height(value: int) -> BaseAttribute: """ - "source" attribute: height - Vertical dimension + "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) @staticmethod def media(value) -> BaseAttribute: """ - "source" attribute: media - Applicable media + "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) @staticmethod def sizes(value) -> BaseAttribute: """ - "source" attribute: sizes - Image sizes for different page layouts + "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) @staticmethod def src(value) -> BaseAttribute: """ - "source" attribute: src - Address of the resource + "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) @staticmethod def srcset(value) -> BaseAttribute: """ - "source" attribute: srcset - Images to use in different situations, e.g., high-resolution displays, small monitors, etc. + "source" attribute: srcset + Images to use in different situations, e.g., high-resolution displays, small monitors, etc. + + Args: + value: + Comma-separated list of image candidate strings - :param value: Comma-separated list of image candidate strings - :return: An srcset attribute to be added to your element - """ # fmt: skip + Returns: + An srcset attribute to be added to your element + + """ return BaseAttribute("srcset", value) @staticmethod def type(value) -> BaseAttribute: """ - "source" attribute: type - Type of embedded resource + "source" attribute: type + Type of embedded resource + + Args: + value: + Valid MIME type string - :param value: Valid MIME type string - :return: An type attribute to be added to your element - """ # fmt: skip + Returns: + An type attribute to be added to your element + + """ return BaseAttribute("type", value) @staticmethod def width(value: int) -> BaseAttribute: """ - "source" attribute: width - Horizontal dimension + "source" attribute: width + Horizontal dimension + + Args: + value: + Valid non-negative integer - :param value: Valid non-negative integer - :return: An width attribute to be added to your element - """ # fmt: skip + Returns: + An width attribute to be added to your element + + """ return BaseAttribute("width", value) diff --git a/src/html_compose/attributes/style_attrs.py b/src/html_compose/attributes/style_attrs.py index 40d17af..3bc060a 100644 --- a/src/html_compose/attributes/style_attrs.py +++ b/src/html_compose/attributes/style_attrs.py @@ -11,35 +11,50 @@ class StyleAttrs: @staticmethod def blocking(value: Resolvable) -> BaseAttribute: """ - "style" attribute: blocking - Whether the element is potentially render-blocking + "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) @staticmethod def media(value) -> BaseAttribute: """ - "style" attribute: media - Applicable media + "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) @staticmethod def title(value: StrLike) -> BaseAttribute: """ - "style" attribute: title - CSS style sheet set name + "style" attribute: title + CSS style sheet set name + + Args: + value: + Text - :param value: Text - :return: An title attribute to be added to your element - """ # fmt: skip + Returns: + An title attribute to be added to your element + + """ return BaseAttribute("title", value) diff --git a/src/html_compose/attributes/td_attrs.py b/src/html_compose/attributes/td_attrs.py index 9fa44c1..fe5eb8e 100644 --- a/src/html_compose/attributes/td_attrs.py +++ b/src/html_compose/attributes/td_attrs.py @@ -11,35 +11,50 @@ class TdAttrs: @staticmethod def colspan(value) -> BaseAttribute: """ - "td" attribute: colspan - Number of columns that the cell is to span + "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) @staticmethod def headers(value: Resolvable) -> BaseAttribute: """ - "td" attribute: headers - The header cells for this cell + "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) @staticmethod def rowspan(value: int) -> BaseAttribute: """ - "td" attribute: rowspan - Number of rows that the cell is to span + "td" attribute: rowspan + Number of rows that the cell is to span + + Args: + value: + Valid non-negative integer - :param value: Valid non-negative integer - :return: An rowspan attribute to be added to your element - """ # fmt: skip + Returns: + An rowspan attribute to be added to your element + + """ return BaseAttribute("rowspan", value) diff --git a/src/html_compose/attributes/template_attrs.py b/src/html_compose/attributes/template_attrs.py index bde7c24..69bdda1 100644 --- a/src/html_compose/attributes/template_attrs.py +++ b/src/html_compose/attributes/template_attrs.py @@ -11,47 +11,67 @@ class TemplateAttrs: @staticmethod def shadowrootclonable(value: bool) -> BaseAttribute: """ - "template" attribute: shadowrootclonable - Sets clonable on a declarative shadow root + "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) @staticmethod def shadowrootdelegatesfocus(value: bool) -> BaseAttribute: """ - "template" attribute: shadowrootdelegatesfocus - Sets delegates focus on a declarative shadow root + "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) @staticmethod def shadowrootmode(value: Literal["open", "closed"]) -> BaseAttribute: """ - "template" attribute: shadowrootmode - Enables streaming declarative shadow roots + "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) @staticmethod def shadowrootserializable(value: bool) -> BaseAttribute: """ - "template" attribute: shadowrootserializable - Sets serializable on a declarative shadow root + "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) diff --git a/src/html_compose/attributes/textarea_attrs.py b/src/html_compose/attributes/textarea_attrs.py index ef099e7..e61252f 100644 --- a/src/html_compose/attributes/textarea_attrs.py +++ b/src/html_compose/attributes/textarea_attrs.py @@ -12,155 +12,220 @@ class TextareaAttrs: @staticmethod def autocomplete(value) -> BaseAttribute: """ - "textarea" attribute: autocomplete - Hint for form autofill feature + "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) @staticmethod def cols(value) -> BaseAttribute: """ - "textarea" attribute: cols - Maximum number of characters per line + "textarea" attribute: cols + Maximum number of characters per line + + Args: + value: + Valid non-negative integer greater than zero + + Returns: + An cols attribute to be added to your element - :param value: Valid non-negative integer greater than zero - :return: An cols attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("cols", value) @staticmethod def dirname(value: StrLike) -> BaseAttribute: """ - "textarea" attribute: dirname - Name of form control to use for sending the element's directionality in form submission + "textarea" attribute: dirname + Name of form control to use for sending the element's directionality in form submission + + Args: + value: + Text* - :param value: Text* - :return: An dirname attribute to be added to your element - """ # fmt: skip + Returns: + An dirname attribute to be added to your element + + """ return BaseAttribute("dirname", value) @staticmethod def disabled(value: bool) -> BaseAttribute: """ - "textarea" attribute: disabled - Whether the form control is disabled + "textarea" attribute: disabled + Whether the form control is disabled + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An disabled attribute to be added to your element - """ # fmt: skip + Returns: + An disabled attribute to be added to your element + + """ return BaseAttribute("disabled", value) @staticmethod def form(value) -> BaseAttribute: """ - "textarea" attribute: form - Associates the element with a form element + "textarea" attribute: form + Associates the element with a form element + + Args: + value: + ID* - :param value: ID* - :return: An form attribute to be added to your element - """ # fmt: skip + Returns: + An form attribute to be added to your element + + """ return BaseAttribute("form", value) @staticmethod def maxlength(value: int) -> BaseAttribute: """ - "textarea" attribute: maxlength - Maximum length of value + "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) @staticmethod def minlength(value: int) -> BaseAttribute: """ - "textarea" attribute: minlength - Minimum length of value + "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) @staticmethod def name(value: StrLike) -> BaseAttribute: """ - "textarea" attribute: name - Name of the element to use for form submission and in the form.elements API + "textarea" attribute: name + Name of the element to use for form submission and in the form.elements API + + Args: + value: + Text* - :param value: Text* - :return: An name attribute to be added to your element - """ # fmt: skip + Returns: + An name attribute to be added to your element + + """ return BaseAttribute("name", value) @staticmethod def placeholder(value: StrLike) -> BaseAttribute: """ - "textarea" attribute: placeholder - User-visible label to be placed within the form control + "textarea" attribute: placeholder + User-visible label to be placed within the form control + + Args: + value: + Text* - :param value: Text* - :return: An placeholder attribute to be added to your element - """ # fmt: skip + Returns: + An placeholder attribute to be added to your element + + """ return BaseAttribute("placeholder", value) @staticmethod def readonly(value: bool) -> BaseAttribute: """ - "textarea" attribute: readonly - Whether to allow the value to be edited by the user + "textarea" attribute: readonly + Whether to allow the value to be edited by the user + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An readonly attribute to be added to your element - """ # fmt: skip + Returns: + An readonly attribute to be added to your element + + """ return BaseAttribute("readonly", value) @staticmethod def required(value: bool) -> BaseAttribute: """ - "textarea" attribute: required - Whether the control is required for form submission + "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) @staticmethod def rows(value) -> BaseAttribute: """ - "textarea" attribute: rows - Number of lines to show + "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) @staticmethod def wrap(value: Literal["soft", "hard"]) -> BaseAttribute: """ - "textarea" attribute: wrap - How the value of the form control is to be wrapped for form submission + "textarea" attribute: wrap + How the value of the form control is to be wrapped for form submission + + Args: + value: + ['soft', 'hard'] - :param value: ['soft', 'hard'] - :return: An wrap attribute to be added to your element - """ # fmt: skip + Returns: + An wrap attribute to be added to your element + + """ return BaseAttribute("wrap", value) diff --git a/src/html_compose/attributes/th_attrs.py b/src/html_compose/attributes/th_attrs.py index f4c9e85..7eba8ca 100644 --- a/src/html_compose/attributes/th_attrs.py +++ b/src/html_compose/attributes/th_attrs.py @@ -12,48 +12,68 @@ class ThAttrs: @staticmethod def abbr(value: StrLike) -> BaseAttribute: """ - "th" attribute: abbr - Alternative label to use for the header cell when referencing the cell in other contexts + "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) @staticmethod def colspan(value) -> BaseAttribute: """ - "th" attribute: colspan - Number of columns that the cell is to span + "th" attribute: colspan + Number of columns that the cell is to span + + Args: + value: + Valid non-negative integer greater than zero - :param value: Valid non-negative integer greater than zero - :return: An colspan attribute to be added to your element - """ # fmt: skip + Returns: + An colspan attribute to be added to your element + + """ return BaseAttribute("colspan", value) @staticmethod def headers(value: Resolvable) -> BaseAttribute: """ - "th" attribute: headers - The header cells for this cell + "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) @staticmethod def rowspan(value: int) -> BaseAttribute: """ - "th" attribute: rowspan - Number of rows that the cell is to span + "th" attribute: rowspan + Number of rows that the cell is to span + + Args: + value: + Valid non-negative integer - :param value: Valid non-negative integer - :return: An rowspan attribute to be added to your element - """ # fmt: skip + Returns: + An rowspan attribute to be added to your element + + """ return BaseAttribute("rowspan", value) @@ -62,11 +82,16 @@ def scope( value: Literal["row", "col", "rowgroup", "colgroup"], ) -> BaseAttribute: """ - "th" attribute: scope - Specifies which cells the header cell applies to + "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) diff --git a/src/html_compose/attributes/time_attrs.py b/src/html_compose/attributes/time_attrs.py index 81a3c0a..d5d353a 100644 --- a/src/html_compose/attributes/time_attrs.py +++ b/src/html_compose/attributes/time_attrs.py @@ -10,11 +10,16 @@ class TimeAttrs: @staticmethod def datetime(value) -> BaseAttribute: """ - "time" attribute: datetime - Machine-readable value + "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) diff --git a/src/html_compose/attributes/track_attrs.py b/src/html_compose/attributes/track_attrs.py index 5f85c75..c4cfaa9 100644 --- a/src/html_compose/attributes/track_attrs.py +++ b/src/html_compose/attributes/track_attrs.py @@ -12,12 +12,17 @@ class TrackAttrs: @staticmethod def default(value: bool) -> BaseAttribute: """ - "track" attribute: default - Enable the track if no other text track is more suitable + "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,47 +33,67 @@ def kind( ], ) -> BaseAttribute: """ - "track" attribute: kind - The type of text track + "track" attribute: kind + The type of text track + + Args: + value: + ['subtitles', 'captions', 'descriptions', 'chapters', 'metadata'] - :param value: ['subtitles', 'captions', 'descriptions', 'chapters', 'metadata'] - :return: An kind attribute to be added to your element - """ # fmt: skip + Returns: + An kind attribute to be added to your element + + """ return BaseAttribute("kind", value) @staticmethod def label(value: StrLike) -> BaseAttribute: """ - "track" attribute: label - User-visible label + "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) @staticmethod def src(value) -> BaseAttribute: """ - "track" attribute: src - Address of the resource + "track" attribute: src + Address of the resource + + Args: + value: + Valid non-empty URL potentially surrounded by spaces - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + Returns: + An src attribute to be added to your element + + """ return BaseAttribute("src", value) @staticmethod def srclang(value) -> BaseAttribute: """ - "track" attribute: srclang - Language of the text track + "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) diff --git a/src/html_compose/attributes/video_attrs.py b/src/html_compose/attributes/video_attrs.py index 40e9660..1096f4b 100644 --- a/src/html_compose/attributes/video_attrs.py +++ b/src/html_compose/attributes/video_attrs.py @@ -11,24 +11,34 @@ class VideoAttrs: @staticmethod def autoplay(value: bool) -> BaseAttribute: """ - "video" attribute: autoplay - Hint that the media resource can be started automatically when the page is loaded + "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) @staticmethod def controls(value: bool) -> BaseAttribute: """ - "video" attribute: controls - Show user agent controls + "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) @@ -37,107 +47,152 @@ def crossorigin( value: Literal["anonymous", "use-credentials"], ) -> BaseAttribute: """ - "video" attribute: crossorigin - How the element handles crossorigin requests + "video" attribute: crossorigin + How the element handles crossorigin requests + + Args: + value: + ['anonymous', 'use-credentials'] - :param value: ['anonymous', 'use-credentials'] - :return: An crossorigin attribute to be added to your element - """ # fmt: skip + Returns: + An crossorigin attribute to be added to your element + + """ return BaseAttribute("crossorigin", value) @staticmethod def height(value: int) -> BaseAttribute: """ - "video" attribute: height - Vertical dimension + "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) @staticmethod def loop(value: bool) -> BaseAttribute: """ - "video" attribute: loop - Whether to loop the media resource + "video" attribute: loop + Whether to loop the media resource + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An loop attribute to be added to your element - """ # fmt: skip + Returns: + An loop attribute to be added to your element + + """ return BaseAttribute("loop", value) @staticmethod def muted(value: bool) -> BaseAttribute: """ - "video" attribute: muted - Whether to mute the media resource by default + "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) @staticmethod def playsinline(value: bool) -> BaseAttribute: """ - "video" attribute: playsinline - Encourage the user agent to display video content within the element's playback area + "video" attribute: playsinline + Encourage the user agent to display video content within the element's playback area + + Args: + value: + Boolean attribute - :param value: Boolean attribute - :return: An playsinline attribute to be added to your element - """ # fmt: skip + Returns: + An playsinline attribute to be added to your element + + """ return BaseAttribute("playsinline", value) @staticmethod def poster(value) -> BaseAttribute: """ - "video" attribute: poster - Poster frame to show prior to video playback + "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) @staticmethod def preload(value: Literal["none", "metadata", "auto"]) -> BaseAttribute: """ - "video" attribute: preload - Hints how much buffering the media resource will likely need + "video" attribute: preload + Hints how much buffering the media resource will likely need + + Args: + value: + ['none', 'metadata', 'auto'] - :param value: ['none', 'metadata', 'auto'] - :return: An preload attribute to be added to your element - """ # fmt: skip + Returns: + An preload attribute to be added to your element + + """ return BaseAttribute("preload", value) @staticmethod def src(value) -> BaseAttribute: """ - "video" attribute: src - Address of the resource + "video" attribute: src + Address of the resource + + Args: + value: + Valid non-empty URL potentially surrounded by spaces + + Returns: + An src attribute to be added to your element - :param value: Valid non-empty URL potentially surrounded by spaces - :return: An src attribute to be added to your element - """ # fmt: skip + """ return BaseAttribute("src", value) @staticmethod def width(value: int) -> BaseAttribute: """ - "video" attribute: width - Horizontal dimension + "video" attribute: width + Horizontal dimension + + Args: + value: + Valid non-negative integer - :param value: Valid non-negative integer - :return: An width attribute to be added to your element - """ # fmt: skip + Returns: + An width attribute to be added to your element + + """ return BaseAttribute("width", value) diff --git a/src/html_compose/elements/__init__.py b/src/html_compose/elements/__init__.py index 642c5ca..8b2def6 100644 --- a/src/html_compose/elements/__init__.py +++ b/src/html_compose/elements/__init__.py @@ -81,7 +81,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 @@ -94,7 +94,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() # '' ``` diff --git a/src/html_compose/elements/a_element.py b/src/html_compose/elements/a_element.py index 2a41eff..392e4b3 100644 --- a/src/html_compose/elements/a_element.py +++ b/src/html_compose/elements/a_element.py @@ -177,411 +177,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/abbr_element.py b/src/html_compose/elements/abbr_element.py index bcb1f88..68dcbdc 100644 --- a/src/html_compose/elements/abbr_element.py +++ b/src/html_compose/elements/abbr_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/address_element.py b/src/html_compose/elements/address_element.py index 3fa1606..18519c2 100644 --- a/src/html_compose/elements/address_element.py +++ b/src/html_compose/elements/address_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/area_element.py b/src/html_compose/elements/area_element.py index fe78bd5..45ac2e1 100644 --- a/src/html_compose/elements/area_element.py +++ b/src/html_compose/elements/area_element.py @@ -180,413 +180,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/article_element.py b/src/html_compose/elements/article_element.py index 2fb7273..98e5a8d 100644 --- a/src/html_compose/elements/article_element.py +++ b/src/html_compose/elements/article_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/aside_element.py b/src/html_compose/elements/aside_element.py index 4e8c48c..22f1560 100644 --- a/src/html_compose/elements/aside_element.py +++ b/src/html_compose/elements/aside_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/audio_element.py b/src/html_compose/elements/audio_element.py index 119ba0e..d56b0b8 100644 --- a/src/html_compose/elements/audio_element.py +++ b/src/html_compose/elements/audio_element.py @@ -178,404 +178,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/b_element.py b/src/html_compose/elements/b_element.py index cc29582..61922bb 100644 --- a/src/html_compose/elements/b_element.py +++ b/src/html_compose/elements/b_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/base_element.py b/src/html_compose/elements/base_element.py index f64defa..dadbe42 100644 --- a/src/html_compose/elements/base_element.py +++ b/src/html_compose/elements/base_element.py @@ -171,390 +171,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/bdi_element.py b/src/html_compose/elements/bdi_element.py index ad9d16d..8874dec 100644 --- a/src/html_compose/elements/bdi_element.py +++ b/src/html_compose/elements/bdi_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/bdo_element.py b/src/html_compose/elements/bdo_element.py index e3c9a55..73a682b 100644 --- a/src/html_compose/elements/bdo_element.py +++ b/src/html_compose/elements/bdo_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/blockquote_element.py b/src/html_compose/elements/blockquote_element.py index f13afa9..b7099c7 100644 --- a/src/html_compose/elements/blockquote_element.py +++ b/src/html_compose/elements/blockquote_element.py @@ -170,386 +170,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/body_element.py b/src/html_compose/elements/body_element.py index c40d6bf..a1c5739 100644 --- a/src/html_compose/elements/body_element.py +++ b/src/html_compose/elements/body_element.py @@ -187,454 +187,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/br_element.py b/src/html_compose/elements/br_element.py index 9487c4a..813f1c2 100644 --- a/src/html_compose/elements/br_element.py +++ b/src/html_compose/elements/br_element.py @@ -169,382 +169,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/button_element.py b/src/html_compose/elements/button_element.py index cc02224..4210adf 100644 --- a/src/html_compose/elements/button_element.py +++ b/src/html_compose/elements/button_element.py @@ -198,422 +198,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/canvas_element.py b/src/html_compose/elements/canvas_element.py index f440276..3508211 100644 --- a/src/html_compose/elements/canvas_element.py +++ b/src/html_compose/elements/canvas_element.py @@ -171,388 +171,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/caption_element.py b/src/html_compose/elements/caption_element.py index 905496e..1b5c675 100644 --- a/src/html_compose/elements/caption_element.py +++ b/src/html_compose/elements/caption_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/cite_element.py b/src/html_compose/elements/cite_element.py index ccde9d2..e4737df 100644 --- a/src/html_compose/elements/cite_element.py +++ b/src/html_compose/elements/cite_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/code_element.py b/src/html_compose/elements/code_element.py index 6d9f1b0..94d3c1b 100644 --- a/src/html_compose/elements/code_element.py +++ b/src/html_compose/elements/code_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/col_element.py b/src/html_compose/elements/col_element.py index e24bc77..e0069f2 100644 --- a/src/html_compose/elements/col_element.py +++ b/src/html_compose/elements/col_element.py @@ -170,386 +170,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/colgroup_element.py b/src/html_compose/elements/colgroup_element.py index 4c839ca..4df7096 100644 --- a/src/html_compose/elements/colgroup_element.py +++ b/src/html_compose/elements/colgroup_element.py @@ -170,386 +170,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/data_element.py b/src/html_compose/elements/data_element.py index e50994a..8f345de 100644 --- a/src/html_compose/elements/data_element.py +++ b/src/html_compose/elements/data_element.py @@ -170,385 +170,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/datalist_element.py b/src/html_compose/elements/datalist_element.py index 831ec9a..38d81ac 100644 --- a/src/html_compose/elements/datalist_element.py +++ b/src/html_compose/elements/datalist_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/dd_element.py b/src/html_compose/elements/dd_element.py index b333659..e461d17 100644 --- a/src/html_compose/elements/dd_element.py +++ b/src/html_compose/elements/dd_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/del__element.py b/src/html_compose/elements/del__element.py index c3db9ee..dae2492 100644 --- a/src/html_compose/elements/del__element.py +++ b/src/html_compose/elements/del__element.py @@ -171,390 +171,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/details_element.py b/src/html_compose/elements/details_element.py index b0d9934..4940b28 100644 --- a/src/html_compose/elements/details_element.py +++ b/src/html_compose/elements/details_element.py @@ -171,388 +171,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/dfn_element.py b/src/html_compose/elements/dfn_element.py index d2d12ee..978e827 100644 --- a/src/html_compose/elements/dfn_element.py +++ b/src/html_compose/elements/dfn_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/dialog_element.py b/src/html_compose/elements/dialog_element.py index dcf02d2..f85ec1e 100644 --- a/src/html_compose/elements/dialog_element.py +++ b/src/html_compose/elements/dialog_element.py @@ -170,385 +170,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/div_element.py b/src/html_compose/elements/div_element.py index 0302247..d457c4c 100644 --- a/src/html_compose/elements/div_element.py +++ b/src/html_compose/elements/div_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/dl_element.py b/src/html_compose/elements/dl_element.py index 104fac1..c9bc9c4 100644 --- a/src/html_compose/elements/dl_element.py +++ b/src/html_compose/elements/dl_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/dt_element.py b/src/html_compose/elements/dt_element.py index 960d3f9..fe30a80 100644 --- a/src/html_compose/elements/dt_element.py +++ b/src/html_compose/elements/dt_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/em_element.py b/src/html_compose/elements/em_element.py index 26cfac6..9fb1c1b 100644 --- a/src/html_compose/elements/em_element.py +++ b/src/html_compose/elements/em_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/embed_element.py b/src/html_compose/elements/embed_element.py index 26f9d6a..fb5b2b8 100644 --- a/src/html_compose/elements/embed_element.py +++ b/src/html_compose/elements/embed_element.py @@ -173,396 +173,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/fieldset_element.py b/src/html_compose/elements/fieldset_element.py index ef4b855..46682df 100644 --- a/src/html_compose/elements/fieldset_element.py +++ b/src/html_compose/elements/fieldset_element.py @@ -172,392 +172,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/figcaption_element.py b/src/html_compose/elements/figcaption_element.py index 3fb595b..923f998 100644 --- a/src/html_compose/elements/figcaption_element.py +++ b/src/html_compose/elements/figcaption_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/figure_element.py b/src/html_compose/elements/figure_element.py index c6b8818..44afdc2 100644 --- a/src/html_compose/elements/figure_element.py +++ b/src/html_compose/elements/figure_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/footer_element.py b/src/html_compose/elements/footer_element.py index c2fc397..49ec5fc 100644 --- a/src/html_compose/elements/footer_element.py +++ b/src/html_compose/elements/footer_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/form_element.py b/src/html_compose/elements/form_element.py index a3438ca..91c4da8 100644 --- a/src/html_compose/elements/form_element.py +++ b/src/html_compose/elements/form_element.py @@ -183,409 +183,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/h1_element.py b/src/html_compose/elements/h1_element.py index 0caece6..eeb031a 100644 --- a/src/html_compose/elements/h1_element.py +++ b/src/html_compose/elements/h1_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/h2_element.py b/src/html_compose/elements/h2_element.py index f619e24..1babb34 100644 --- a/src/html_compose/elements/h2_element.py +++ b/src/html_compose/elements/h2_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/h3_element.py b/src/html_compose/elements/h3_element.py index cfebf81..5b39b00 100644 --- a/src/html_compose/elements/h3_element.py +++ b/src/html_compose/elements/h3_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/h4_element.py b/src/html_compose/elements/h4_element.py index d79fd6b..19e7471 100644 --- a/src/html_compose/elements/h4_element.py +++ b/src/html_compose/elements/h4_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/h5_element.py b/src/html_compose/elements/h5_element.py index 3589834..cc579ec 100644 --- a/src/html_compose/elements/h5_element.py +++ b/src/html_compose/elements/h5_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/h6_element.py b/src/html_compose/elements/h6_element.py index 45296a0..4263153 100644 --- a/src/html_compose/elements/h6_element.py +++ b/src/html_compose/elements/h6_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/head_element.py b/src/html_compose/elements/head_element.py index 0133ee3..2200eb8 100644 --- a/src/html_compose/elements/head_element.py +++ b/src/html_compose/elements/head_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/header_element.py b/src/html_compose/elements/header_element.py index 41b1bc3..f8194fb 100644 --- a/src/html_compose/elements/header_element.py +++ b/src/html_compose/elements/header_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/hgroup_element.py b/src/html_compose/elements/hgroup_element.py index 33ed55b..d8975b4 100644 --- a/src/html_compose/elements/hgroup_element.py +++ b/src/html_compose/elements/hgroup_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/hr_element.py b/src/html_compose/elements/hr_element.py index 1c0f57e..5cb6566 100644 --- a/src/html_compose/elements/hr_element.py +++ b/src/html_compose/elements/hr_element.py @@ -169,382 +169,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/html_element.py b/src/html_compose/elements/html_element.py index 86cd136..d61a3d7 100644 --- a/src/html_compose/elements/html_element.py +++ b/src/html_compose/elements/html_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/i_element.py b/src/html_compose/elements/i_element.py index 79faeb2..5184c01 100644 --- a/src/html_compose/elements/i_element.py +++ b/src/html_compose/elements/i_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/iframe_element.py b/src/html_compose/elements/iframe_element.py index 5f0fe27..deded54 100644 --- a/src/html_compose/elements/iframe_element.py +++ b/src/html_compose/elements/iframe_element.py @@ -179,417 +179,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/img_element.py b/src/html_compose/elements/img_element.py index 2ff9af0..7cb4bcb 100644 --- a/src/html_compose/elements/img_element.py +++ b/src/html_compose/elements/img_element.py @@ -191,426 +191,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/input_element.py b/src/html_compose/elements/input_element.py index b941e75..0f9e9e5 100644 --- a/src/html_compose/elements/input_element.py +++ b/src/html_compose/elements/input_element.py @@ -223,498 +223,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/ins_element.py b/src/html_compose/elements/ins_element.py index 45e1aa6..8ec6bc5 100644 --- a/src/html_compose/elements/ins_element.py +++ b/src/html_compose/elements/ins_element.py @@ -171,390 +171,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/kbd_element.py b/src/html_compose/elements/kbd_element.py index 28857f0..f73a1b7 100644 --- a/src/html_compose/elements/kbd_element.py +++ b/src/html_compose/elements/kbd_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/label_element.py b/src/html_compose/elements/label_element.py index bdec527..adf7913 100644 --- a/src/html_compose/elements/label_element.py +++ b/src/html_compose/elements/label_element.py @@ -170,386 +170,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/legend_element.py b/src/html_compose/elements/legend_element.py index b9728f6..40ae196 100644 --- a/src/html_compose/elements/legend_element.py +++ b/src/html_compose/elements/legend_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/li_element.py b/src/html_compose/elements/li_element.py index 465d879..05f7591 100644 --- a/src/html_compose/elements/li_element.py +++ b/src/html_compose/elements/li_element.py @@ -170,385 +170,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/link_element.py b/src/html_compose/elements/link_element.py index 62f9b94..6b53e6c 100644 --- a/src/html_compose/elements/link_element.py +++ b/src/html_compose/elements/link_element.py @@ -187,441 +187,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/main_element.py b/src/html_compose/elements/main_element.py index c67ae71..63d0e36 100644 --- a/src/html_compose/elements/main_element.py +++ b/src/html_compose/elements/main_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/map_element.py b/src/html_compose/elements/map_element.py index 673b73c..425fa80 100644 --- a/src/html_compose/elements/map_element.py +++ b/src/html_compose/elements/map_element.py @@ -170,385 +170,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/mark_element.py b/src/html_compose/elements/mark_element.py index 9d5d899..90d5f8d 100644 --- a/src/html_compose/elements/mark_element.py +++ b/src/html_compose/elements/mark_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/menu_element.py b/src/html_compose/elements/menu_element.py index 7f9dc14..9c496ec 100644 --- a/src/html_compose/elements/menu_element.py +++ b/src/html_compose/elements/menu_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/meta_element.py b/src/html_compose/elements/meta_element.py index 191e415..1385470 100644 --- a/src/html_compose/elements/meta_element.py +++ b/src/html_compose/elements/meta_element.py @@ -182,398 +182,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/meter_element.py b/src/html_compose/elements/meter_element.py index 3bea394..b234932 100644 --- a/src/html_compose/elements/meter_element.py +++ b/src/html_compose/elements/meter_element.py @@ -175,400 +175,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/nav_element.py b/src/html_compose/elements/nav_element.py index 8ad71f7..8cb0881 100644 --- a/src/html_compose/elements/nav_element.py +++ b/src/html_compose/elements/nav_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/noscript_element.py b/src/html_compose/elements/noscript_element.py index cf7d5da..5927a3a 100644 --- a/src/html_compose/elements/noscript_element.py +++ b/src/html_compose/elements/noscript_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/object_element.py b/src/html_compose/elements/object_element.py index 10a1901..b8a1eb7 100644 --- a/src/html_compose/elements/object_element.py +++ b/src/html_compose/elements/object_element.py @@ -183,404 +183,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/ol_element.py b/src/html_compose/elements/ol_element.py index e668b85..8b8bfed 100644 --- a/src/html_compose/elements/ol_element.py +++ b/src/html_compose/elements/ol_element.py @@ -172,391 +172,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/optgroup_element.py b/src/html_compose/elements/optgroup_element.py index 5f35ce5..1d807ff 100644 --- a/src/html_compose/elements/optgroup_element.py +++ b/src/html_compose/elements/optgroup_element.py @@ -171,388 +171,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/option_element.py b/src/html_compose/elements/option_element.py index 4aa79d1..504e3cd 100644 --- a/src/html_compose/elements/option_element.py +++ b/src/html_compose/elements/option_element.py @@ -173,394 +173,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/output_element.py b/src/html_compose/elements/output_element.py index 32c3adb..33ffe1b 100644 --- a/src/html_compose/elements/output_element.py +++ b/src/html_compose/elements/output_element.py @@ -180,392 +180,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/p_element.py b/src/html_compose/elements/p_element.py index e0cbcec..135bacc 100644 --- a/src/html_compose/elements/p_element.py +++ b/src/html_compose/elements/p_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/picture_element.py b/src/html_compose/elements/picture_element.py index a219af8..154b655 100644 --- a/src/html_compose/elements/picture_element.py +++ b/src/html_compose/elements/picture_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/pre_element.py b/src/html_compose/elements/pre_element.py index 0cf022c..23c90ae 100644 --- a/src/html_compose/elements/pre_element.py +++ b/src/html_compose/elements/pre_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/progress_element.py b/src/html_compose/elements/progress_element.py index 7a9cdd4..676d05c 100644 --- a/src/html_compose/elements/progress_element.py +++ b/src/html_compose/elements/progress_element.py @@ -171,388 +171,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/q_element.py b/src/html_compose/elements/q_element.py index e90993d..7cdf031 100644 --- a/src/html_compose/elements/q_element.py +++ b/src/html_compose/elements/q_element.py @@ -170,386 +170,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/rp_element.py b/src/html_compose/elements/rp_element.py index 904845b..84fbb9c 100644 --- a/src/html_compose/elements/rp_element.py +++ b/src/html_compose/elements/rp_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/rt_element.py b/src/html_compose/elements/rt_element.py index 0a862fc..6722749 100644 --- a/src/html_compose/elements/rt_element.py +++ b/src/html_compose/elements/rt_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/ruby_element.py b/src/html_compose/elements/ruby_element.py index 41a9c3a..b568cd1 100644 --- a/src/html_compose/elements/ruby_element.py +++ b/src/html_compose/elements/ruby_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/s_element.py b/src/html_compose/elements/s_element.py index 2b4b14d..cb73e71 100644 --- a/src/html_compose/elements/s_element.py +++ b/src/html_compose/elements/s_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/samp_element.py b/src/html_compose/elements/samp_element.py index 9865006..37f4865 100644 --- a/src/html_compose/elements/samp_element.py +++ b/src/html_compose/elements/samp_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/script_element.py b/src/html_compose/elements/script_element.py index 5b6c5fc..603d459 100644 --- a/src/html_compose/elements/script_element.py +++ b/src/html_compose/elements/script_element.py @@ -181,415 +181,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/search_element.py b/src/html_compose/elements/search_element.py index 8e87b12..4bb6275 100644 --- a/src/html_compose/elements/search_element.py +++ b/src/html_compose/elements/search_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/section_element.py b/src/html_compose/elements/section_element.py index 2fdbfc3..fbf6aad 100644 --- a/src/html_compose/elements/section_element.py +++ b/src/html_compose/elements/section_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/select_element.py b/src/html_compose/elements/select_element.py index b9ee190..03c4ded 100644 --- a/src/html_compose/elements/select_element.py +++ b/src/html_compose/elements/select_element.py @@ -186,406 +186,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/slot_element.py b/src/html_compose/elements/slot_element.py index 2871e09..d9a2e6e 100644 --- a/src/html_compose/elements/slot_element.py +++ b/src/html_compose/elements/slot_element.py @@ -170,385 +170,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/small_element.py b/src/html_compose/elements/small_element.py index 965b73b..27bc620 100644 --- a/src/html_compose/elements/small_element.py +++ b/src/html_compose/elements/small_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/source_element.py b/src/html_compose/elements/source_element.py index 0b23090..4617dcf 100644 --- a/src/html_compose/elements/source_element.py +++ b/src/html_compose/elements/source_element.py @@ -176,408 +176,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/span_element.py b/src/html_compose/elements/span_element.py index 4f514f7..a3a41a4 100644 --- a/src/html_compose/elements/span_element.py +++ b/src/html_compose/elements/span_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/strong_element.py b/src/html_compose/elements/strong_element.py index ade735e..00c5a0f 100644 --- a/src/html_compose/elements/strong_element.py +++ b/src/html_compose/elements/strong_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/style_element.py b/src/html_compose/elements/style_element.py index 54151cf..b1e9cff 100644 --- a/src/html_compose/elements/style_element.py +++ b/src/html_compose/elements/style_element.py @@ -171,389 +171,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/sub_element.py b/src/html_compose/elements/sub_element.py index d8d7909..0bb8896 100644 --- a/src/html_compose/elements/sub_element.py +++ b/src/html_compose/elements/sub_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/summary_element.py b/src/html_compose/elements/summary_element.py index e7aaf98..cb3b11f 100644 --- a/src/html_compose/elements/summary_element.py +++ b/src/html_compose/elements/summary_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/sup_element.py b/src/html_compose/elements/sup_element.py index 4b8294a..1134fec 100644 --- a/src/html_compose/elements/sup_element.py +++ b/src/html_compose/elements/sup_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/svg_element.py b/src/html_compose/elements/svg_element.py index 6bf9cd8..78f09ab 100644 --- a/src/html_compose/elements/svg_element.py +++ b/src/html_compose/elements/svg_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/table_element.py b/src/html_compose/elements/table_element.py index 18fa963..e967700 100644 --- a/src/html_compose/elements/table_element.py +++ b/src/html_compose/elements/table_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/tbody_element.py b/src/html_compose/elements/tbody_element.py index 36bb4a1..68c93fc 100644 --- a/src/html_compose/elements/tbody_element.py +++ b/src/html_compose/elements/tbody_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/td_element.py b/src/html_compose/elements/td_element.py index 43e1493..c1911d5 100644 --- a/src/html_compose/elements/td_element.py +++ b/src/html_compose/elements/td_element.py @@ -172,392 +172,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/template_element.py b/src/html_compose/elements/template_element.py index f907329..e4bb87f 100644 --- a/src/html_compose/elements/template_element.py +++ b/src/html_compose/elements/template_element.py @@ -173,394 +173,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/textarea_element.py b/src/html_compose/elements/textarea_element.py index 6261b68..8668c99 100644 --- a/src/html_compose/elements/textarea_element.py +++ b/src/html_compose/elements/textarea_element.py @@ -192,425 +192,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/tfoot_element.py b/src/html_compose/elements/tfoot_element.py index 87a78ad..e3630a4 100644 --- a/src/html_compose/elements/tfoot_element.py +++ b/src/html_compose/elements/tfoot_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/th_element.py b/src/html_compose/elements/th_element.py index 39704ff..bd2e854 100644 --- a/src/html_compose/elements/th_element.py +++ b/src/html_compose/elements/th_element.py @@ -176,398 +176,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/thead_element.py b/src/html_compose/elements/thead_element.py index b494d4a..f6f5b3c 100644 --- a/src/html_compose/elements/thead_element.py +++ b/src/html_compose/elements/thead_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/time_element.py b/src/html_compose/elements/time_element.py index f03f16d..1b19424 100644 --- a/src/html_compose/elements/time_element.py +++ b/src/html_compose/elements/time_element.py @@ -170,386 +170,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/title_element.py b/src/html_compose/elements/title_element.py index 9a367bc..4c9c49f 100644 --- a/src/html_compose/elements/title_element.py +++ b/src/html_compose/elements/title_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/tr_element.py b/src/html_compose/elements/tr_element.py index efd921f..da2c5d1 100644 --- a/src/html_compose/elements/tr_element.py +++ b/src/html_compose/elements/tr_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/track_element.py b/src/html_compose/elements/track_element.py index c83ca9a..090e509 100644 --- a/src/html_compose/elements/track_element.py +++ b/src/html_compose/elements/track_element.py @@ -178,399 +178,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", void_element=True, attrs=attrs, children=children diff --git a/src/html_compose/elements/u_element.py b/src/html_compose/elements/u_element.py index 227b35e..064c8f1 100644 --- a/src/html_compose/elements/u_element.py +++ b/src/html_compose/elements/u_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/ul_element.py b/src/html_compose/elements/ul_element.py index 381dd20..89b6b42 100644 --- a/src/html_compose/elements/ul_element.py +++ b/src/html_compose/elements/ul_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/var_element.py b/src/html_compose/elements/var_element.py index 0d3a144..6ff3746 100644 --- a/src/html_compose/elements/var_element.py +++ b/src/html_compose/elements/var_element.py @@ -169,382 +169,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/video_element.py b/src/html_compose/elements/video_element.py index be9588e..304b1c0 100644 --- a/src/html_compose/elements/video_element.py +++ b/src/html_compose/elements/video_element.py @@ -182,417 +182,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", void_element=False, attrs=attrs, children=children diff --git a/src/html_compose/elements/wbr_element.py b/src/html_compose/elements/wbr_element.py index f83e328..ce4144a 100644 --- a/src/html_compose/elements/wbr_element.py +++ b/src/html_compose/elements/wbr_element.py @@ -169,382 +169,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", void_element=True, attrs=attrs, children=children 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 f3e1dfa..cd9dce2 100644 --- a/tools/generate_elements.py +++ b/tools/generate_elements.py @@ -131,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: @@ -244,7 +244,7 @@ def gen_elements(): extra_attrs = "" attr_assignment = "" attr_docstrings = [ - "`attrs`: ", + "attrs: ", " A list or dictionary of attributes for the element", "", ] @@ -332,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}",', 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 From ea527a647549a1094559cebf489d92a9acb640b3 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Sat, 1 Nov 2025 10:34:08 -0400 Subject: [PATCH 20/34] Improve watchcond docs --- src/html_compose/live/watcher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/html_compose/live/watcher.py b/src/html_compose/live/watcher.py index c844508..fe04677 100644 --- a/src/html_compose/live/watcher.py +++ b/src/html_compose/live/watcher.py @@ -149,6 +149,7 @@ def __init__( :param path_glob: Glob pattern(s) to watch for changes. :param action: Action to run when a change is detected. Shell command or function. + When action is None, no action is run but reloads may still occur. :param ignore_glob: Glob patterns to ignore. :param delay: Delay in seconds before running the action after a change. From 015342f1d0af1ae53dbbb42eb7a12f8da4e5138d Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Sat, 1 Nov 2025 21:08:35 -0400 Subject: [PATCH 21/34] Improve livereload watcher * track completion status * on exceptions, terminate task runner * detect if the daemon has died * send sigkill if exiting is hung and user hits Ctrl C * fix pylance docstring parser bug in watchcond by swapping args --- src/html_compose/live/live_server.py | 24 ++++- src/html_compose/live/watcher.py | 137 +++++++++++++++++++++------ 2 files changed, 129 insertions(+), 32 deletions(-) diff --git a/src/html_compose/live/live_server.py b/src/html_compose/live/live_server.py index ed734bf..a2a9dd3 100644 --- a/src/html_compose/live/live_server.py +++ b/src/html_compose/live/live_server.py @@ -1,4 +1,5 @@ from time import sleep +from time import sleep, time from ..util_funcs import generate_livereload_env from .livereload_server import reload_because, run_server @@ -35,25 +36,34 @@ def live_server( :param daemon: Command to run in the background, typically a Python server :type daemon: ShellCommand + :param daemon_delay: Delay in seconds before restarting the daemon after a change. :type daemon_delay: float + :param conds: List of watch conditions, which are a path and action. - :type conds: + :type conds: list[WatchCond] + :param force_polling: Force slow stat() polling backend - useful if your platform is unable to support OS based watching. :type force_polling: bool + :param host: Host for livereload server websocket to listen on :type host: str + :param port: Port for livereload server websocket to listen on :type port: int + :param print_paths: Enumerate paths being monitored - :type print_paths: + :type print_paths: bool + :param loop_delay: Set delay between checks for changes. Usually unnecessary. :type loop_delay: float + :param livereload_delay: Delay livereload server update until x seconds after daemon update :type livereload_delay: float :param proxy_uri: If websocket is behind a reverse proxy, this is the URI to reach it by. This is useful if you are developing behind SSL. :type proxy_uri: str + :param proxy_host: If websocket is behind a reverse proxy, this is the host to reach it by. This is useful if you are developing behind SSL. :type proxy_host: str @@ -93,6 +103,16 @@ def reload(): browser_update_task = Task(reload, delay=0, sync=False) try: while True: + if tr.cancelled: + print("Task runner has closed. Exiting...") + break + + if daemon_task.has_ended_early(): + status = daemon_task.status_code() + print( + f"Daemon process has exited with code {status}. Exiting..." + ) + break hits = w.changed() if hits: paths_hit = set() diff --git a/src/html_compose/live/watcher.py b/src/html_compose/live/watcher.py index fe04677..861eb28 100644 --- a/src/html_compose/live/watcher.py +++ b/src/html_compose/live/watcher.py @@ -5,7 +5,6 @@ from pathlib import Path from threading import RLock, Thread from time import sleep, time -from traceback import print_exc from typing import Callable from watchfiles._rust_notify import RustNotify @@ -31,21 +30,36 @@ def __init__(self, action: Callable | None, delay: float = 0.0, sync=False): self.delay = delay self.update_count = 0 self.sync = sync + self.exc: Exception | None = None + self.complete: bool | None = None def active_check(self, update_id): return self.update_count == update_id - def _run(self): + def _do_run(self): + try: + if self.action: + self.action() + except Exception as e: + self.exc = e + self.complete = True + + def run(self): """ Execute the task's action. + + If this is not a sync task it runs in a thread. + + self.exc is set if an exception occurred during execution. """ + self.complete = False if not self.action: return if self.sync: - self.action() + self._do_run() else: - Thread(target=self.action, daemon=True).start() + Thread(target=self._do_run, daemon=True).start() def cancel(self): # Implement cancellation logic here @@ -57,23 +71,47 @@ def __init__(self, command: ShellCommand, delay: float = 0.0, sync=False): self.command = command self.process = None super().__init__(self._run_process, delay, sync) + self.canceling = False def _run_process(self): - if self.process: - # Subprocess will skip these steps if the process is already closed - self.process.terminate() - # Wait on the process to actually end - self.process.wait() + self.cancel() # Close existing proc if it is open shell = isinstance(self.command.command, str) self.process = subprocess.Popen( self.command.command, shell=shell, env=self.command.env ) - def cancel(self): + self.canceling = False + + def cancel(self) -> None: if self.process: + self.canceling = True + # Subprocess will skip these steps if the process is already closed self.process.terminate() - self.process.wait() + # Wait on the process to actually end + try: + self.process.wait() + except KeyboardInterrupt: + # This would happen on the main thread + # The user is waiting for us to close but we're waiting on + # a 'graceful' close. + # The user wants us to hurry up, so kill -9 it. + print(f"ProcessTask: sigkill for {self.command.command}.") + self.process.kill() + + def has_ended_early(self) -> bool: + if self.canceling: + return False + + if self.process: + return self.process.poll() is not None + + return False + + def status_code(self) -> int | None: + if self.process: + return self.process.poll() + return None class TaskRunner: @@ -99,34 +137,60 @@ def add_task(self, task: Task): task.update_count += 1 self.tasks.append((task.update_count, time() + task.delay, task)) - def worker(self): - to_remove = [] - to_run = [] + def worker(self) -> None: + to_remove: list[int] = [] + to_run: list[Task] = [] + running: list[Task] = [] + + def _exit(exc: Exception) -> None: + for i in running: + i.cancel() + self.cancel() + raise exc + while not self.cancelled: + # Acquire lock to safely access shared task list. with self.lock: now = time() + # Iterate through all pending tasks. for i, entry in enumerate(self.tasks): update_id, due, task = entry + # Perform "active check" to debounce rapid events. if not task.active_check(update_id): - to_remove.append(i) + to_remove.append(i) # Mark stale task for removal. continue + # If task is not stale and due time has passed, mark for removal and run. if now >= due: to_remove.append(i) to_run.append(task) + + # Remove all marked (stale or due) tasks in reverse to avoid index errors. for i in reversed(to_remove): del self.tasks[i] to_remove.clear() - # Run tasks outside of lock + # Release the lock. + # Execute all tasks to be run outside the lock to avoid blocking. for task in to_run: - try: - task._run() - except Exception: - # User code can fail, don't let it kill our loop - print_exc() + running.append(task) + task.run() + if task.sync: + running.remove(task) + if task.exc: + _exit(exc=task.exc) + + # Check for completed async tasks. + for i in reversed(range(len(running))): + task = running[i] + if task.complete: + del running[i] + if task.exc: + _exit(exc=task.exc) + # Clear the to_run list for the next iteration. to_run.clear() + # Sleep briefly to prevent busy-waiting and high CPU usage. sleep(0.1) @@ -145,18 +209,31 @@ def __init__( reload: bool = True, ): """ - Initialize a WatchCond. + Initializes a WatchCond. + + Args: + path_glob: + Glob pattern(s) to watch for changes. + + action: + Action to run when a change is detected. Shell command or function. + When action is None, no action is run but reloads may still occur. + + ignore_glob: + Glob patterns to ignore. - :param path_glob: Glob pattern(s) to watch for changes. - :param action: Action to run when a change is detected. Shell command or function. - When action is None, no action is run but reloads may still occur. - :param ignore_glob: Glob patterns to ignore. - :param delay: Delay in seconds before running the action after a change. + delay: + Delay in seconds before running the action after a change. + The timer resets after each change to de-duplicate file change events. - The timer resets after each change to de-duplicate file change events. - :param server_reload: If False, do not reload the daemon process after a change - just the browser. - :param reload: If False, neither the browser nor the server will be reloaded. This is useful for triggering js/css builds. + reload: + If False, neither the browser nor the server will be reloaded. + This is useful for triggering js/css builds, which you might + pair with a separate WatchCond on the build output directory + that does the reloading. + server_reload: + If False, do not reload the daemon process after a change; just the browser. """ self.path_glob = path_glob if isinstance(path_glob, str): From 6588f3d75610af04b7d2bed6c48e44470e1d8a32 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Sat, 1 Nov 2025 21:15:03 -0400 Subject: [PATCH 22/34] feature: live reload can now check server port for availability --- src/html_compose/live/live_server.py | 46 +++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/src/html_compose/live/live_server.py b/src/html_compose/live/live_server.py index a2a9dd3..b825ee9 100644 --- a/src/html_compose/live/live_server.py +++ b/src/html_compose/live/live_server.py @@ -1,4 +1,5 @@ -from time import sleep +from socket import create_connection +from socket import timeout as socket_timeout from time import sleep, time from ..util_funcs import generate_livereload_env @@ -13,6 +14,27 @@ ) +def _wait_for_server( + host: str, port: int, timeout: float, daemon_task: ProcessTask +) -> None: + start_time = time() + print(f"Waiting for server at {host}:{port} to come online...") + while time() - start_time < timeout: + try: + with create_connection((host, port), timeout=1): + print(f"{host}:{port} is online.") + return + except (ConnectionRefusedError, socket_timeout): + sleep(0.25) + + daemon_task.cancel() + daemon_task.canceling = False # this is an early term + + raise RuntimeError( + f"Unable to reach {host}:{port} after {int(timeout)} seconds." + ) + + def live_server( daemon: ShellCommand, daemon_delay: float, @@ -23,6 +45,9 @@ def live_server( print_paths=True, loop_delay=1, livereload_delay=0.2, + daemon_host: str | None = None, + daemon_port: int | None = None, + daemon_timeout: float = 30.0, proxy_host: str | None = None, proxy_uri: str | None = None, ) -> None: @@ -60,6 +85,16 @@ def live_server( :param livereload_delay: Delay livereload server update until x seconds after daemon update :type livereload_delay: float + + :param daemon_host: Host the HTTP server daemon listens on. Used to determine when the server is back up. + :type daemon_host: str | None + + :param daemon_port: Port the HTTP server daemon listens on. Used to determine when the server is back up. + :type daemon_port: int | None + + :param daemon_timeout: Timeout in seconds to wait for daemon port to come online after restart. + :type daemon_timeout: int | None + :param proxy_uri: If websocket is behind a reverse proxy, this is the URI to reach it by. This is useful if you are developing behind SSL. :type proxy_uri: str @@ -98,6 +133,15 @@ def live_server( def reload(): changed = list(pending_reload) pending_reload.clear() + if daemon_port is not None: + # If specified, we want to wait for the listening daemon port + # to show up before we tell the browser to reload. + _wait_for_server( + daemon_host or host, + daemon_port, + daemon_timeout, + daemon_task=daemon_task, + ) reload_because(changed) browser_update_task = Task(reload, delay=0, sync=False) From e7d4e03af2397c9e6163e67ac49f5a41ba88f2d0 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Sat, 1 Nov 2025 21:16:13 -0400 Subject: [PATCH 23/34] Fix broken markup --- src/html_compose/resource/css_import.py | 4 +--- src/html_compose/resource/js_import.py | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/html_compose/resource/css_import.py b/src/html_compose/resource/css_import.py index d99937b..48d0716 100644 --- a/src/html_compose/resource/css_import.py +++ b/src/html_compose/resource/css_import.py @@ -29,9 +29,7 @@ class css_import: ) ] - ... - - ... + ``` ## Generated "HTML": diff --git a/src/html_compose/resource/js_import.py b/src/html_compose/resource/js_import.py index 5224b3c..178f012 100644 --- a/src/html_compose/resource/js_import.py +++ b/src/html_compose/resource/js_import.py @@ -55,8 +55,7 @@ class js_import: Alpine.start() ''' ] - - ... + ``` ## Generated "HTML": From 88b6a97a19724b2b2808a27b2cdbd7a8418c77e1 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Sat, 1 Nov 2025 22:39:36 -0400 Subject: [PATCH 24/34] HTML5Document is class wrapping document.py functions This is probably the best extension-forward way to handle this transition --- changelog.txt | 11 +- src/html_compose/__init__.py | 9 +- src/html_compose/document.py | 256 ++++++++++++++++++++--------------- tests/test_element.py | 7 +- tests/test_importer.py | 30 ++-- 5 files changed, 171 insertions(+), 142 deletions(-) diff --git a/changelog.txt b/changelog.txt index 66eec59..fe98fdd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,12 +3,11 @@ js_import, css_import, and font_import helpers * html_compose.document: Add streaming document generators which will produce head element before other content. -* Add html_compose.document document_generator and document_streamer for use - with html_compose.resource imports, acting as the most helpful way to generate - an HTML document -* Importer improvements: Survive round trip for more text. Output single elements - when we identify an attribtue could be a list -* Minor documentation improvements +* Add js/css/font composition along with other changes to html_compose.document +* Change HTML5Document into a class with a .render and .stream function + which wrap other functionality in the module +* HTML converter improvements: Survive round trip for more text. + Output single elements when we identify an attribute could be a list # 0.10.1 diff --git a/src/html_compose/__init__.py b/src/html_compose/__init__.py index 2f595a1..6a785e0 100644 --- a/src/html_compose/__init__.py +++ b/src/html_compose/__init__.py @@ -267,12 +267,9 @@ def doctype(dtype: str = "html"): create_element = CustomElement.create # ruff: noqa: F401, E402 -from .document import ( - HTML5Document, - HTML5Stream, - document_generator, - document_streamer, -) +from .document import HTML5Document as HTML5Document +from .document import document_generator as document_generator +from .document import document_streamer as document_streamer # ruff: noqa: F401, E402 from .elements import ( diff --git a/src/html_compose/document.py b/src/html_compose/document.py index 1e7c4b4..6b811a9 100644 --- a/src/html_compose/document.py +++ b/src/html_compose/document.py @@ -1,102 +1,64 @@ -from typing import Any, Generator, Iterable, Literal +from typing import Any, Generator, Iterable, Literal, TypeAlias from urllib.parse import urlencode from . import base_types, doctype, pretty_print, resource, unsafe_text from . import elements as el from .util_funcs import get_livereload_env +Node: TypeAlias = base_types.Node -def document_streamer( + +def generate_head( title: str | None = None, - lang: str | None = None, js: Iterable[str | resource.js_import] | None = None, css: Iterable[str | resource.css_import] | None = None, fonts: Iterable[resource.font_import_manual | resource.font_import_provider] | None = None, - head_extra: Iterable[base_types.Node] | None = None, - body_content: Iterable[base_types.Node] | el.body | None = None, - stream_mode: Literal["head_only", "full"] = "head_only", -) -> Generator[str, Any, None]: + extra: Iterable[Node] | None = None, + skip_meta: bool = False, +) -> el.head: """ - A convenience function to generate a full HTML5 document. + Generate a head element with common imports and arguments. - This is a higher-level function that wraps around HTML5Document, - allowing you to specify common elements like JavaScript and CSS imports, - as well as additional head content. + By default, this includes a viewport meta tag. - :param title: The title of the document - :param lang: The language of the document. - English is "en", or consult HTML documentation + :param title: HTML document title :param js: A list of javascript imports to include in the head :param css: A list of CSS imports to include in the head - :param head_extra: Additional elements to include in the head - :param body_content: A 'body' element or a list of children to add to the 'body' element - :param stream_mode: If set, return a generator that yields parts of the document. - "head_only" yields the head, then full body, - "full" yields the entire document in parts. - :return: A complete HTML5 document as a string generator - """ - head_elements: list[base_types.Node] = resource.to_elements(js, css, fonts) - if head_extra: - head_elements.extend(head_extra) - return HTML5Stream( - title=title, - lang=lang, - head=head_elements, - body=body_content, - stream_mode=stream_mode, - ) + :param fonts: A list of font imports to include in the head + :param extra: Any extra elements to include at the end of the head + :param skip_meta: Skip the meta viewport tag - -def document_generator( - title: str | None = None, - lang: str | None = None, - js: Iterable[str | resource.js_import] | None = None, - css: Iterable[str | resource.css_import] | None = None, - fonts: Iterable[resource.font_import_manual | resource.font_import_provider] - | None = None, - head_extra: Iterable[base_types.Node] | None = None, - body_content: Iterable[base_types.Node] | el.body | None = None, -) -> str: + :return: A head element with the specified imports and title """ - A convenience function to generate a full HTML5 document. - - This is a higher-level function that wraps around HTML5Document, - allowing you to specify common elements like JavaScript and CSS imports, - as well as additional head content. + head_elements: list[Node] = resource.to_elements( + js=js, css=css, fonts=fonts + ) + if extra: + head_elements.extend(extra) - :param title: The title of the document - :param lang: The language of the document. - English is "en", or consult HTML documentation - :param js: A list of javascript imports to include in the head - :param css: A list of CSS imports to include in the head - :param head_extra: Additional elements to include in the head - :param body_content: A 'body' element or a list of children to add to the 'body' element - :return: A complete HTML5 document as a string - """ - return "".join( - document_streamer( - title=title, - lang=lang, - js=js, - css=css, - fonts=fonts, - head_extra=head_extra, - body_content=body_content, - stream_mode="full", + return el.head()[ + el.meta( + name="viewport", content="width=device-width, initial-scale=1.0" ) - ) + if not skip_meta + else None, + el.title()[title] if title else None, + head_elements, + ] -def HTML5Stream( - title: str | None = None, +def document_streamer( lang: str | None = None, - head: list | None = None, - body: Iterable[base_types.Node] | el.body | None = None, + head: Iterable[Node] | el.head | None = None, + body: Iterable[Node] | el.body | None = None, stream_mode: Literal["head_only", "full"] = "head_only", ) -> Generator[str, Any, None]: """ - A streaming version of HTML5Document. + Return a full HTML5 document as a generator, yielding parts as strings. + + stream_mode controls whether to yield just the head first, then body, + or the full document in parts. tldr: ``` @@ -104,7 +66,7 @@ def HTML5Stream( html(lang=lang)[ head[ meta(name="viewport", content="width=device-width, initial-scale=1.0") - title(title) + ..., ] body[body]] ``` @@ -112,11 +74,11 @@ def HTML5Stream( When using livereload, an environment variable is set which adds livereload-js to the head of the document. - :param title: The title of the document :param lang: The language of the document. English is "en", or consult HTML documentation :param head: Children to add to the element, - which already defines viewport and title + which already defines viewport. + A head element passed directly will be used unmodified. :param body: A 'body' element or a list of children to add to the 'body' element :param stream_mode: If set, return a generator that yields parts of the document. "head_only" yields the head, then full body, @@ -126,49 +88,48 @@ def HTML5Stream( """ # Enable HTML5 and prevent quirks mode header = doctype("html") - - head_el = el.head()[ - el.meta( # enable mobile rendering - name="viewport", content="width=device-width, initial-scale=1.0" - ), - el.title()[title] if title else None, - head if head else None, - ] + if isinstance(head, el.head): + head_el = head + else: + head_el = generate_head(extra=head) # None if disabled live_reload_flags = get_livereload_env() # Feature: Live reloading for development # Fires when HTMLCOMPOSE_LIVERELOAD=1 if live_reload_flags: head_el.append(_livereload_script_tag(live_reload_flags)) + # Produce our HTML element and save its parts html_el = el.html(lang=lang).resolve() html_el_start = next(html_el) html_el_end = next(html_el) + # Yield up until end of the head element yield f"{header}\n{html_el_start}\n{head_el.render()}\n\n" + + # Setup the body element if isinstance(body, el.body): body_el = body else: body_el = el.body()[body] if stream_mode == "full": + # Resolve in pieces for body_part in body_el.resolve(): yield body_part yield "\n" yield html_el_end elif stream_mode == "head_only": + # Resolve all at once yield f"{body_el.render()}\n{html_el_end}" else: raise ValueError("stream_mode must be 'head_only' or 'full'") -def HTML5Document( - title: str | None = None, +def document_generator( lang: str | None = None, - head: list | None = None, - body: Iterable[base_types.Node] | el.body | None = None, - prettify: bool | str = False, -) -> str: + head: el.head | list | None = None, + body: Iterable[Node] | el.body | None = None, +): """ - Return an HTML5 document with the given title and content. - It also defines meta viewport for mobile support. + Return a full HTML5 document as a string. tldr: ``` @@ -184,27 +145,20 @@ def HTML5Document( When using livereload, an environment variable is set which adds livereload-js to the head of the document. - :param title: The title of the document + :param lang: The language of the document. English is "en", or consult HTML documentation :param head: Children to add to the element, - which already defines viewport and title + which already defines viewport. + A head element passed directly will be used unmodified. :param body: A 'body' element or a list of children to add to the 'body' element - :param prettify: If true, prettify HTML output. - If the value is a string, use that parser for BeautifulSoup + + :return: A full HTML5 document as a string + """ - # Enable HTML5 and prevent quirks mode - result = "".join( - HTML5Stream( - title=title, lang=lang, head=head, body=body, stream_mode="full" - ) + return "".join( + document_streamer(lang=lang, head=head, body=body, stream_mode="full") ) - if prettify: - if prettify is True: - return pretty_print(result) - return pretty_print(result, features=prettify) - else: - return result def get_livereload_uri() -> str: @@ -258,3 +212,93 @@ def _livereload_script_tag(live_reload_settings): ) ) ] + + +class HTML5Document: + """ + A convenience class to generate a full HTML5 document. + + Allows you to specify common elements like JavaScript and CSS imports, + as well as additional head content. + + When using livereload, an environment variable is set which adds + livereload-js to the head of the document. + """ + + def __init__( + self, + title: str | None = None, + lang: str | None = None, + js: Iterable[str | resource.js_import] | None = None, + css: Iterable[str | resource.css_import] | None = None, + fonts: Iterable[ + resource.font_import_manual | resource.font_import_provider + ] + | None = None, + head_extra: Iterable[Node] | None = None, + body: Iterable[Node] | el.body | None = None, + ) -> None: + """ + + :param title: The title of the document + :param lang: The language of the document. + English is "en", or consult HTML documentation + :param js: A list of javascript imports to include in the head + :param css: A list of CSS imports to include in the head + :param fonts: A list of font imports to include in the head + :param head_extra: Additional elements to include in the head + :param body: A 'body' element or a list of elements to include in the body + :param stream_mode: If set, return a generator that yields parts of the document. + "head_only" yields the head, then full body, + "full" yields the entire document in parts. + """ + self.title = title + self.lang = lang + self.js = js + self.css = css + self.fonts = fonts + self.head_extra = head_extra + if isinstance(body, el.body): + self.body = body + else: + self.body = el.body()[body] + + def render(self) -> str: + """ + Return the full HTML5 document as a string. + """ + return "".join(self.stream(stream_mode="full")) + + def stream( + self, stream_mode: Literal["head_only", "full"] = "head_only" + ) -> Generator[str, Any, None]: + """ + Return a generator that yields parts of the HTML5 document as strings. + + :param stream_mode: Parts of the document to stream. If "head_only", + we yield the head, then the full body. + If "full", we yield the entire document in parts. + + :return: A generator that yields parts of the HTML5 document as strings. + """ + return document_streamer( + lang=self.lang, + head=generate_head( + title=self.title, + js=self.js, + css=self.css, + fonts=self.fonts, + extra=self.head_extra, + ), + body=self.body, + stream_mode=stream_mode, + ) + + def __html__(self) -> str: + return self.render() + + def __str__(self) -> str: + return self.render() + + def __repr__(self) -> str: + return pretty_print(str(self)) diff --git a/tests/test_element.py b/tests/test_element.py index 91cf7e7..d213001 100644 --- a/tests/test_element.py +++ b/tests/test_element.py @@ -187,10 +187,7 @@ 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( @@ -203,7 +200,7 @@ def test_document(): "", ] ) - assert doc == expected + assert str(doc) == expected def test_noconstructor(): diff --git a/tests/test_importer.py b/tests/test_importer.py index 331230e..9f4a49f 100644 --- a/tests/test_importer.py +++ b/tests/test_importer.py @@ -1,7 +1,7 @@ import pytest import html_compose.elements as el -from html_compose.document import document_streamer +from html_compose.document import HTML5Document from html_compose.resource import ( css_import, font_import_manual, @@ -124,16 +124,13 @@ def test_gen_docs(): print(line) print("---") print( - "".join( - document_streamer( - title="demo", - lang="en", - js=js, - css=css, - fonts=fonts, - body_content=[el.h1()["Hello world"]], - stream_mode="full", - ) + HTML5Document( + title="demo", + lang="en", + js=js, + css=css, + fonts=fonts, + body=[el.h1()["Hello world"]], ) ) assert False @@ -297,14 +294,9 @@ def test_importer(): def test_document_generator(): css = get_css() js = get_js() - result = document_streamer( - title="demo", - lang="en", - js=js, - css=css, - body_content=[el.h1()["Hello world"]], - stream_mode="full", - ) + result = HTML5Document( + title="demo", lang="en", js=js, css=css, body=[el.h1()["Hello world"]] + ).stream("full") expected = [ '\n\ndemo\n\n', "", From eb2ee9469e5cc4fc5c606f8ee7614c8ec36b6c8b Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Sat, 1 Nov 2025 22:40:22 -0400 Subject: [PATCH 25/34] breaking --- changelog.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index fe98fdd..d6a9ffb 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,8 +4,9 @@ * 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 -* Change HTML5Document into a class with a .render and .stream function - which wrap other functionality in the module +* [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 From d8ca8dab04f3931f06f44e6c8d0acb55dcd47b61 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Sun, 2 Nov 2025 00:20:44 -0400 Subject: [PATCH 26/34] py.typed improvements pyright/basedpyright informed. Lots of casts were used and I'm not sorrry. * module exports elements/etc correctly per pyright * __class_getitem__ -> metaclass impl of h1['text'] / constructor skip. informed by type hinters believing the former returned type[h1] instead of instance of h1. * For metaclass, the _HasHtml protocol inheritence was dropped. protocols are runtime detected without interfaces anyway and we implement __html__. --- src/html_compose/__init__.py | 259 +++++++++++++------------- src/html_compose/base_element.py | 95 +++++++--- src/html_compose/base_types.py | 4 +- src/html_compose/elements/__init__.py | 226 +++++++++++----------- src/html_compose/util_funcs.py | 2 +- tools/generate_elements.py | 2 +- 6 files changed, 312 insertions(+), 276 deletions(-) diff --git a/src/html_compose/__init__.py b/src/html_compose/__init__.py index 6a785e0..0fc6d3e 100644 --- a/src/html_compose/__init__.py +++ b/src/html_compose/__init__.py @@ -260,138 +260,139 @@ def doctype(dtype: str = "html"): return unsafe_text(f"") -from .base_attribute import BaseAttribute -from .base_element import BaseElement -from .custom_element import CustomElement +# The imports are organized to avoid circular dependencies +# The import x as x pattern is interpreted by some tools as "public export" -create_element = CustomElement.create +# ruff: noqa: E402 + +# Library primitives +from .base_attribute import BaseAttribute as BaseAttribute +from .base_element import BaseElement as BaseElement +from .custom_element import CustomElement as CustomElement -# ruff: noqa: F401, E402 +create_element = CustomElement.create +# Document features from .document import HTML5Document as HTML5Document from .document import document_generator as document_generator from .document import document_streamer as document_streamer -# ruff: noqa: F401, E402 -from .elements import ( - a, - abbr, - address, - area, - article, - aside, - audio, - b, - base, - bdi, - bdo, - blockquote, - body, - br, - button, - canvas, - caption, - cite, - code, - col, - colgroup, - data, - datalist, - dd, - del_, - details, - dfn, - dialog, - div, - dl, - dt, - em, - embed, - fieldset, - figcaption, - figure, - footer, - form, - h1, - h2, - h3, - h4, - h5, - h6, - head, - header, - hgroup, - hr, - html, - i, - iframe, - img, - input, - ins, - kbd, - label, - legend, - li, - link, - main, - map, - mark, - menu, - meta, - meter, - nav, - noscript, - object, - ol, - optgroup, - option, - output, - p, - picture, - pre, - progress, - q, - rp, - rt, - ruby, - s, - samp, - script, - search, - section, - select, - slot, - small, - source, - span, - strong, - style, - sub, - summary, - sup, - svg, - table, - tbody, - td, - template, - textarea, - tfoot, - th, - thead, - time, - title, - tr, - track, - u, - ul, - var, - video, - wbr, -) - -# ruff: noqa: F401, E402 -from .resource import ( - css_import, - font_import_manual, - font_import_provider, - js_import, -) +# Elements +from .elements import a as a +from .elements import abbr as abbr +from .elements import address as address +from .elements import area as area +from .elements import article as article +from .elements import aside as aside +from .elements import audio as audio +from .elements import b as b +from .elements import base as base +from .elements import bdi as bdi +from .elements import bdo as bdo +from .elements import blockquote as blockquote +from .elements import body as body +from .elements import br as br +from .elements import button as button +from .elements import canvas as canvas +from .elements import caption as caption +from .elements import cite as cite +from .elements import code as code +from .elements import col as col +from .elements import colgroup as colgroup +from .elements import data as data +from .elements import datalist as datalist +from .elements import dd as dd +from .elements import del_ as del_ +from .elements import details as details +from .elements import dfn as dfn +from .elements import dialog as dialog +from .elements import div as div +from .elements import dl as dl +from .elements import dt as dt +from .elements import em as em +from .elements import embed as embed +from .elements import fieldset as fieldset +from .elements import figcaption as figcaption +from .elements import figure as figure +from .elements import footer as footer +from .elements import form as form +from .elements import h1 as h1 +from .elements import h2 as h2 +from .elements import h3 as h3 +from .elements import h4 as h4 +from .elements import h5 as h5 +from .elements import h6 as h6 +from .elements import head as head +from .elements import header as header +from .elements import hgroup as hgroup +from .elements import hr as hr +from .elements import html as html +from .elements import i as i +from .elements import iframe as iframe +from .elements import img as img +from .elements import input as input +from .elements import ins as ins +from .elements import kbd as kbd +from .elements import label as label +from .elements import legend as legend +from .elements import li as li +from .elements import link as link +from .elements import main as main +from .elements import map as map +from .elements import mark as mark +from .elements import menu as menu +from .elements import meta as meta +from .elements import meter as meter +from .elements import nav as nav +from .elements import noscript as noscript +from .elements import object as object +from .elements import ol as ol +from .elements import optgroup as optgroup +from .elements import option as option +from .elements import output as output +from .elements import p as p +from .elements import picture as picture +from .elements import pre as pre +from .elements import progress as progress +from .elements import q as q +from .elements import rp as rp +from .elements import rt as rt +from .elements import ruby as ruby +from .elements import s as s +from .elements import samp as samp +from .elements import script as script +from .elements import search as search +from .elements import section as section +from .elements import select as select +from .elements import slot as slot +from .elements import small as small +from .elements import source as source +from .elements import span as span +from .elements import strong as strong +from .elements import style as style +from .elements import sub as sub +from .elements import summary as summary +from .elements import sup as sup +from .elements import svg as svg +from .elements import table as table +from .elements import tbody as tbody +from .elements import td as td +from .elements import template as template +from .elements import textarea as textarea +from .elements import tfoot as tfoot +from .elements import th as th +from .elements import thead as thead +from .elements import time as time +from .elements import title as title +from .elements import tr as tr +from .elements import track as track +from .elements import u as u +from .elements import ul as ul +from .elements import var as var +from .elements import video as video +from .elements import wbr as wbr + +# Resource features +from .resource import css_import as css_import +from .resource import font_import_manual as font_import_manual +from .resource import font_import_provider as font_import_provider +from .resource import js_import as js_import diff --git a/src/html_compose/base_element.py b/src/html_compose/base_element.py index 74270e7..37cb03c 100644 --- a/src/html_compose/base_element.py +++ b/src/html_compose/base_element.py @@ -1,4 +1,5 @@ -from typing import Callable, Generator, Iterable, Mapping +from abc import ABCMeta +from typing import Any, Callable, Generator, Iterable, Mapping, TypeVar, cast from . import escape_text, unsafe_text, util_funcs from .attributes import BaseAttribute, GlobalAttrs @@ -7,24 +8,35 @@ SPECIAL_ATTRS = {"class": GlobalAttrs.class_, "style": GlobalAttrs.style} -class BaseElement(ElementBase): - """ - Base HTML element +T = TypeVar("T", bound="BaseElement") - All elements derive from this class - """ - __slots__ = ("tag", "attrs", "_children", "is_void_element") +class ElementMeta(ABCMeta): + """ + The metaclass for all HTML elements to hack the base class interface + """ - @classmethod - def __class_getitem__(cls, key): + # We aggressively hack the type checker here + def __getitem__(cls: type[T], key: Node) -> T: # type: ignore # pyright: ignore[reportGeneralTypeIssues] """ This implements a shortcut to the constructor for a given element. Example: If the user passes `h1["Demo"]` the user likely expects h1()["Demo"] """ - return cls()[key] # pyright: ignore[reportCallIssue] + inst = cls() # type: ignore # pyright: ignore[reportCallIssue] + inst.append(key) + return inst + + +class BaseElement(ElementBase, metaclass=ElementMeta): + """ + Base HTML element + + All elements derive from this class + """ + + __slots__ = ("tag", "attrs", "_children", "is_void_element") def __getitem__(self, key): """ @@ -71,13 +83,13 @@ def __init__( Defaults to None. children: A list of child elements. Defaults to None. """ - self.tag = tag - self.attrs = self._resolve_attrs(attrs) + self.tag: str = tag + self.attrs: dict[str, str] = self._resolve_attrs(attrs) - self._children = children if children else [] - self.is_void_element = void_element + self._children: list[Node] = children if children else [] + self.is_void_element: bool = void_element - def __eq__(self, other): + def __eq__(self, other: Any): """Compare rendered HTML instead of class data""" if isinstance(other, self.__class__): return self.render() == other.render() @@ -128,14 +140,22 @@ def _process_attr( else: self.attrs[attr_name] = resolved_value - def _resolve_attrs(self, attrs) -> dict[str, str]: + def _resolve_attrs( + self, + attrs: Iterable[BaseAttribute] + | Mapping[str, Resolvable] + | Iterable[ + BaseAttribute | Iterable[BaseAttribute] | Mapping[str, Resolvable] + ] + | None, + ) -> dict[str, str]: """ Resolve attributes into key/value pairs """ if not attrs: return {} - attr_dict = {} + attr_dict: dict[str, str] = {} # These are sent to us in format: # key, value (unescaped) if isinstance(attrs, (list, tuple)): @@ -147,13 +167,19 @@ def _resolve_attrs(self, attrs) -> dict[str, str]: key, value = result attr_dict[key] = value elif isinstance(item, tuple) and len(item) == 2: - attr = BaseAttribute(item[0], item[1]).evaluate() + # no runtime checking here, but hint the type checker + item = cast(tuple[str, Resolvable], item) + + attr = BaseAttribute(name=item[0], data=item[1]).evaluate() if not attr: continue a_name, a_value = attr attr_dict[a_name] = a_value - elif isinstance(item, dict): + elif isinstance(item, Mapping): + # no runtime checking here, but hint the type checker + item = cast(Mapping[str, Resolvable], item) + for key, value in item.items(): attr = BaseAttribute(key, value).evaluate() if not attr: @@ -166,6 +192,9 @@ def _resolve_attrs(self, attrs) -> dict[str, str]: ) elif isinstance(attrs, dict): + # hint the type checker + attrs = cast(Mapping[str, Resolvable], attrs) + for key, value in attrs.items(): attr = BaseAttribute(key, value).evaluate() if attr: @@ -177,7 +206,9 @@ def _resolve_attrs(self, attrs) -> dict[str, str]: return attr_dict - def _call_callable(self, func, parent): + def _call_callable( + self, func: Callable, parent: ElementBase | None + ) -> Node: """ Executor for callable elements @@ -204,11 +235,11 @@ def _call_callable(self, func, parent): raise ValueError( "Lambda received has too many parameters to process" ) - - return result + # assume the result is a Node, including None + return cast(Node, result) def _resolve_child( - self, child: Node, call_callables, parent + self, child: Node, call_callables: bool, parent: ElementBase | None ) -> Generator[str, None, None]: """ Child resolver for elements @@ -271,15 +302,15 @@ def _resolve_child( else: result = child while callable(result): - result = self._call_callable(child, parent) + result = self._call_callable(child, parent) # type: ignore[assignment] yield from self._resolve_child(result, call_callables, parent) else: raise ValueError(f"Unknown child type: {type(child)}") def _resolve_tree( - self, parent=None - ) -> Generator[str | Callable, None, None]: + self, parent: ElementBase | None = None + ) -> Generator[str | Callable[..., Node], None, None]: """ Walk html element tree and yield all resolved children @@ -336,7 +367,9 @@ def append(self, *child_or_childs: Node): # Applies to iterables, callables, literal elements self._children.append(args) - def deferred_resolve(self, parent) -> Generator[str, None, None]: + def deferred_resolve( + self, parent: ElementBase | None = None + ) -> Generator[str, None, None]: """ Resolve all attributes and children of the HTML element, except for callable children. @@ -389,10 +422,12 @@ def deferred_resolve(self, parent) -> Generator[str, None, None]: else: yield f"<{self.tag}>" - yield from children # type: ignore[misc] + yield from children # type: ignore[misc] # pyright: ignore[reportReturnType,reportOptionalIterable] yield f"" - def resolve(self, parent=None) -> Generator[str, None, None]: + def resolve( + self, parent: ElementBase | None = None + ) -> Generator[str, None, None]: """ Generate the flat HTML [string] iterator for the HTML element """ @@ -406,7 +441,7 @@ def resolve(self, parent=None) -> Generator[str, None, None]: else: yield element - def render(self, parent=None) -> str: + def render(self, parent: ElementBase | None = None) -> str: """ Render the HTML element """ diff --git a/src/html_compose/base_types.py b/src/html_compose/base_types.py index 9477f0f..2060867 100644 --- a/src/html_compose/base_types.py +++ b/src/html_compose/base_types.py @@ -14,13 +14,13 @@ def __html__(self) -> str: ... -class ElementBase(_HasHtml): +class ElementBase: """ Base class for all HTML elements Defined here to avoid circular imports for Node definition - Implementers define: __init__, render, context, __html__ + Implementers define: __init__, render, __html__ See: BaseElement """ diff --git a/src/html_compose/elements/__init__.py b/src/html_compose/elements/__init__.py index 8b2def6..7445393 100644 --- a/src/html_compose/elements/__init__.py +++ b/src/html_compose/elements/__init__.py @@ -102,119 +102,119 @@ def get(value: str) -> BaseAttribute: """ -from .a_element import a -from .abbr_element import abbr -from .address_element import address -from .area_element import area -from .article_element import article -from .aside_element import aside -from .audio_element import audio -from .b_element import b -from .base_element import base -from .bdi_element import bdi -from .bdo_element import bdo -from .blockquote_element import blockquote -from .body_element import body -from .br_element import br -from .button_element import button -from .canvas_element import canvas -from .caption_element import caption -from .cite_element import cite -from .code_element import code -from .col_element import col -from .colgroup_element import colgroup -from .data_element import data -from .datalist_element import datalist -from .dd_element import dd -from .del__element import del_ -from .details_element import details -from .dfn_element import dfn -from .dialog_element import dialog -from .div_element import div -from .dl_element import dl -from .dt_element import dt -from .em_element import em -from .embed_element import embed -from .fieldset_element import fieldset -from .figcaption_element import figcaption -from .figure_element import figure -from .footer_element import footer -from .form_element import form -from .h1_element import h1 -from .h2_element import h2 -from .h3_element import h3 -from .h4_element import h4 -from .h5_element import h5 -from .h6_element import h6 -from .head_element import head -from .header_element import header -from .hgroup_element import hgroup -from .hr_element import hr -from .html_element import html -from .i_element import i -from .iframe_element import iframe -from .img_element import img -from .input_element import input -from .ins_element import ins -from .kbd_element import kbd -from .label_element import label -from .legend_element import legend -from .li_element import li -from .link_element import link -from .main_element import main -from .map_element import map -from .mark_element import mark -from .menu_element import menu -from .meta_element import meta -from .meter_element import meter -from .nav_element import nav -from .noscript_element import noscript -from .object_element import object -from .ol_element import ol -from .optgroup_element import optgroup -from .option_element import option -from .output_element import output -from .p_element import p -from .picture_element import picture -from .pre_element import pre -from .progress_element import progress -from .q_element import q -from .rp_element import rp -from .rt_element import rt -from .ruby_element import ruby -from .s_element import s -from .samp_element import samp -from .script_element import script -from .search_element import search -from .section_element import section -from .select_element import select -from .slot_element import slot -from .small_element import small -from .source_element import source -from .span_element import span -from .strong_element import strong -from .style_element import style -from .sub_element import sub -from .summary_element import summary -from .sup_element import sup -from .svg_element import svg -from .table_element import table -from .tbody_element import tbody -from .td_element import td -from .template_element import template -from .textarea_element import textarea -from .tfoot_element import tfoot -from .th_element import th -from .thead_element import thead -from .time_element import time -from .title_element import title -from .tr_element import tr -from .track_element import track -from .u_element import u -from .ul_element import ul -from .var_element import var -from .video_element import video -from .wbr_element import wbr +from .a_element import a as a +from .abbr_element import abbr as abbr +from .address_element import address as address +from .area_element import area as area +from .article_element import article as article +from .aside_element import aside as aside +from .audio_element import audio as audio +from .b_element import b as b +from .base_element import base as base +from .bdi_element import bdi as bdi +from .bdo_element import bdo as bdo +from .blockquote_element import blockquote as blockquote +from .body_element import body as body +from .br_element import br as br +from .button_element import button as button +from .canvas_element import canvas as canvas +from .caption_element import caption as caption +from .cite_element import cite as cite +from .code_element import code as code +from .col_element import col as col +from .colgroup_element import colgroup as colgroup +from .data_element import data as data +from .datalist_element import datalist as datalist +from .dd_element import dd as dd +from .del__element import del_ as del_ +from .details_element import details as details +from .dfn_element import dfn as dfn +from .dialog_element import dialog as dialog +from .div_element import div as div +from .dl_element import dl as dl +from .dt_element import dt as dt +from .em_element import em as em +from .embed_element import embed as embed +from .fieldset_element import fieldset as fieldset +from .figcaption_element import figcaption as figcaption +from .figure_element import figure as figure +from .footer_element import footer as footer +from .form_element import form as form +from .h1_element import h1 as h1 +from .h2_element import h2 as h2 +from .h3_element import h3 as h3 +from .h4_element import h4 as h4 +from .h5_element import h5 as h5 +from .h6_element import h6 as h6 +from .head_element import head as head +from .header_element import header as header +from .hgroup_element import hgroup as hgroup +from .hr_element import hr as hr +from .html_element import html as html +from .i_element import i as i +from .iframe_element import iframe as iframe +from .img_element import img as img +from .input_element import input as input +from .ins_element import ins as ins +from .kbd_element import kbd as kbd +from .label_element import label as label +from .legend_element import legend as legend +from .li_element import li as li +from .link_element import link as link +from .main_element import main as main +from .map_element import map as map +from .mark_element import mark as mark +from .menu_element import menu as menu +from .meta_element import meta as meta +from .meter_element import meter as meter +from .nav_element import nav as nav +from .noscript_element import noscript as noscript +from .object_element import object as object +from .ol_element import ol as ol +from .optgroup_element import optgroup as optgroup +from .option_element import option as option +from .output_element import output as output +from .p_element import p as p +from .picture_element import picture as picture +from .pre_element import pre as pre +from .progress_element import progress as progress +from .q_element import q as q +from .rp_element import rp as rp +from .rt_element import rt as rt +from .ruby_element import ruby as ruby +from .s_element import s as s +from .samp_element import samp as samp +from .script_element import script as script +from .search_element import search as search +from .section_element import section as section +from .select_element import select as select +from .slot_element import slot as slot +from .small_element import small as small +from .source_element import source as source +from .span_element import span as span +from .strong_element import strong as strong +from .style_element import style as style +from .sub_element import sub as sub +from .summary_element import summary as summary +from .sup_element import sup as sup +from .svg_element import svg as svg +from .table_element import table as table +from .tbody_element import tbody as tbody +from .td_element import td as td +from .template_element import template as template +from .textarea_element import textarea as textarea +from .tfoot_element import tfoot as tfoot +from .th_element import th as th +from .thead_element import thead as thead +from .time_element import time as time +from .title_element import title as title +from .tr_element import tr as tr +from .track_element import track as track +from .u_element import u as u +from .ul_element import ul as ul +from .var_element import var as var +from .video_element import video as video +from .wbr_element import wbr as wbr import os diff --git a/src/html_compose/util_funcs.py b/src/html_compose/util_funcs.py index f60f0c7..6d9d56e 100644 --- a/src/html_compose/util_funcs.py +++ b/src/html_compose/util_funcs.py @@ -19,7 +19,7 @@ def join_attrs(k, value_trusted): return f'{k}="{value_trusted}"' -def is_iterable_but_not_str(input_iterable): +def is_iterable_but_not_str(input_iterable: Any) -> bool: """ Check if an iterable is not a string or bytes. Which prevents some bugs. diff --git a/tools/generate_elements.py b/tools/generate_elements.py index cd9dce2..8984504 100644 --- a/tools/generate_elements.py +++ b/tools/generate_elements.py @@ -389,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( From 7e644705197dd39be451eab665706d297e885126 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Sun, 2 Nov 2025 00:21:14 -0400 Subject: [PATCH 27/34] bugfix: compare element to str --- src/html_compose/base_element.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/html_compose/base_element.py b/src/html_compose/base_element.py index 37cb03c..366e7ad 100644 --- a/src/html_compose/base_element.py +++ b/src/html_compose/base_element.py @@ -94,6 +94,9 @@ def __eq__(self, other: Any): if isinstance(other, self.__class__): return self.render() == other.render() + if isinstance(other, str): + return self.render() == other + return False def _process_attr( From 4b3e32a7131551ee4f891f925d1ff36f5d563168 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Thu, 6 Nov 2025 19:40:20 -0500 Subject: [PATCH 28/34] You can now pass elements uninstantiated and we instantiate This means you can p[ 'text', br, 'new line text' } --- src/html_compose/base_element.py | 6 +++++- tests/test_element.py | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/html_compose/base_element.py b/src/html_compose/base_element.py index 366e7ad..de759ff 100644 --- a/src/html_compose/base_element.py +++ b/src/html_compose/base_element.py @@ -264,8 +264,12 @@ def _resolve_child( # Recursively resolve the element tree yield from child.resolve(self) + elif isinstance(child, ElementMeta) and not hasattr(child, "__self__"): + # This is an uninstantiated class-based element like elements.br + inst: BaseElement = child() + yield from inst.resolve() + elif isinstance(child, _HasHtml): - # Fetch raw HTML from object yield unsafe_text(child.__html__()) elif isinstance(child, str): diff --git a/tests/test_element.py b/tests/test_element.py index d213001..3c818ff 100644 --- a/tests/test_element.py +++ b/tests/test_element.py @@ -251,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

" From 596b5e6a601fd95554287e1981f0a38b42b4f4da Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Thu, 6 Nov 2025 19:43:07 -0500 Subject: [PATCH 29/34] Notebook render now accepts hashtml --- src/html_compose/notebook.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/html_compose/notebook.py b/src/html_compose/notebook.py index 72bd1d4..2d4da5b 100644 --- a/src/html_compose/notebook.py +++ b/src/html_compose/notebook.py @@ -1,13 +1,17 @@ +from html_compose.base_types import _HasHtml + """ Jupyter notebook helpers """ -def render(html_string: str): +def render(html_string: str | _HasHtml): """ Renders the given HTML string as an IPython HTML object. This is used by Jupyter notebooks to display HTML content. """ from IPython.core.display import HTML + if isinstance(html_string, _HasHtml): + html_string = html_string.__html__() return HTML(html_string) From 3059aeb46adb78906815e01bb3eb17dde1f06f50 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Thu, 6 Nov 2025 19:44:04 -0500 Subject: [PATCH 30/34] Do not yield None --- src/html_compose/base_element.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/html_compose/base_element.py b/src/html_compose/base_element.py index de759ff..4284231 100644 --- a/src/html_compose/base_element.py +++ b/src/html_compose/base_element.py @@ -428,8 +428,8 @@ def deferred_resolve( yield f"<{self.tag} {attr_string}>" else: yield f"<{self.tag}>" - - yield from children # type: ignore[misc] # pyright: ignore[reportReturnType,reportOptionalIterable] + if children is not None: + yield from children yield f"" def resolve( From c311d4dc39f8241ad3f21b7c00ab5f837b902d96 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Thu, 6 Nov 2025 19:44:17 -0500 Subject: [PATCH 31/34] Fix deferred_resolve return type hint --- src/html_compose/base_element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html_compose/base_element.py b/src/html_compose/base_element.py index 4284231..55bedcf 100644 --- a/src/html_compose/base_element.py +++ b/src/html_compose/base_element.py @@ -376,7 +376,7 @@ def append(self, *child_or_childs: Node): def deferred_resolve( self, parent: ElementBase | None = None - ) -> Generator[str, None, None]: + ) -> Generator[Node, None, None]: """ Resolve all attributes and children of the HTML element, except for callable children. From e33546c4c346d56dc7d5aebd64e89a5f7d86c8fc Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Thu, 6 Nov 2025 19:49:41 -0500 Subject: [PATCH 32/34] Inform type checker we expect a string --- src/html_compose/base_element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html_compose/base_element.py b/src/html_compose/base_element.py index 55bedcf..3f7e443 100644 --- a/src/html_compose/base_element.py +++ b/src/html_compose/base_element.py @@ -446,7 +446,7 @@ def resolve( element, call_callables=True, parent=parent ) else: - yield element + yield cast(str, element) def render(self, parent: ElementBase | None = None) -> str: """ From 57bfd01ee86f313686de85cae180719c3d72e708 Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Mon, 10 Nov 2025 13:56:37 -0500 Subject: [PATCH 33/34] Prepare for release --- changelog.txt | 11 ++++++++++- pyproject.toml | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index d6a9ffb..fa6fc40 100644 --- a/changelog.txt +++ b/changelog.txt @@ -9,7 +9,16 @@ 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 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" } From d0fa08385fd9224f4f79b8f1ccebb17cd31bd1ad Mon Sep 17 00:00:00 2001 From: jealouscloud Date: Mon, 10 Nov 2025 14:06:57 -0500 Subject: [PATCH 34/34] mute mypy misreporting an assignment error src/html_compose/base_element.py:186: error: Incompatible types in assignment (expression has type "str | float | int | bool | Iterable[str | float | int | bool] | Mapping[str | float | int | bool, bool] | None", variable has type "str") [assignment] src/html_compose/base_element.py:201: error: Incompatible types in assignment (expression has type "str | float | int | bool | Iterable[str | float | int | bool] | Mapping[str | float | int | bool, bool] | None", variable has type "str") [assignment] --- src/html_compose/base_element.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/html_compose/base_element.py b/src/html_compose/base_element.py index 3f7e443..c01c2ad 100644 --- a/src/html_compose/base_element.py +++ b/src/html_compose/base_element.py @@ -183,7 +183,7 @@ def _resolve_attrs( # no runtime checking here, but hint the type checker item = cast(Mapping[str, Resolvable], item) - for key, value in item.items(): + for key, value in item.items(): # type: ignore[assignment] attr = BaseAttribute(key, value).evaluate() if not attr: continue @@ -198,7 +198,7 @@ def _resolve_attrs( # hint the type checker attrs = cast(Mapping[str, Resolvable], attrs) - for key, value in attrs.items(): + for key, value in attrs.items(): # type: ignore[assignment] attr = BaseAttribute(key, value).evaluate() if attr: a_name, a_value = attr