html_compose.elements.embed_element

  1from typing import Literal, Iterable, Mapping
  2
  3from ..attributes import GlobalAttrs, EmbedAttrs
  4from ..base_attribute import BaseAttribute
  5from ..base_element import BaseElement
  6from ..base_types import Resolvable, StrLike
  7
  8# This file is generated by tools/generate_elements.py
  9
 10
 11class embed(BaseElement):
 12    """
 13    The 'embed' element.  
 14    Description: Plugin  
 15    Categories: flow phrasing embedded interactive palpable  
 16    Parents: phrasing  
 17    Children: empty  
 18    Interface: HTMLEmbedElement  
 19    Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed  
 20    """  # fmt: skip
 21
 22    tag = "embed"
 23    categories = ["flow", "phrasing", "embedded", "interactive", "palpable"]
 24
 25    class hint(GlobalAttrs, EmbedAttrs):
 26        """
 27        Type hints for "embed" attrs  
 28        This class holds functions which return BaseAttributes  
 29        Which you can add to your element attrs  
 30        """  # fmt: skip
 31
 32        pass
 33
 34    _ = hint
 35
 36    def __init__(
 37        self,
 38        attrs: Iterable[BaseAttribute]
 39        | Mapping[str, Resolvable]
 40        | Iterable[
 41            BaseAttribute | Iterable[BaseAttribute] | Mapping[str, Resolvable]
 42        ]
 43        | None = None,
 44        id: StrLike | None = None,
 45        class_: Resolvable | None = None,
 46        height: int | StrLike | None = None,
 47        src: StrLike | None = None,
 48        type: StrLike | None = None,
 49        width: int | StrLike | None = None,
 50        accesskey: Resolvable | StrLike | None = None,
 51        autocapitalize: Literal[
 52            "on", "off", "none", "sentences", "words", "characters"
 53        ]
 54        | StrLike
 55        | None = None,
 56        autocorrect: Literal["on", "off"] | StrLike | None = None,
 57        autofocus: bool | StrLike | None = None,
 58        contenteditable: Literal["true", "plaintext-only", "false"]
 59        | StrLike
 60        | None = None,
 61        dir: Literal["ltr", "rtl", "auto"] | StrLike | None = None,
 62        draggable: Literal["true", "false"] | StrLike | None = None,
 63        enterkeyhint: Literal[
 64            "enter", "done", "go", "next", "previous", "search", "send"
 65        ]
 66        | StrLike
 67        | None = None,
 68        hidden: Literal["until-found", "hidden", ""] | StrLike | None = None,
 69        inert: bool | StrLike | None = None,
 70        inputmode: Literal[
 71            "none",
 72            "text",
 73            "tel",
 74            "email",
 75            "url",
 76            "numeric",
 77            "decimal",
 78            "search",
 79        ]
 80        | StrLike
 81        | None = None,
 82        is_: StrLike | None = None,
 83        itemid: StrLike | None = None,
 84        itemprop: Resolvable | StrLike | None = None,
 85        itemref: Resolvable | StrLike | None = None,
 86        itemscope: bool | StrLike | None = None,
 87        itemtype: Resolvable | StrLike | None = None,
 88        lang: StrLike | None = None,
 89        nonce: StrLike | None = None,
 90        onauxclick: StrLike | None = None,
 91        onbeforeinput: StrLike | None = None,
 92        onbeforematch: StrLike | None = None,
 93        onbeforetoggle: StrLike | None = None,
 94        onblur: StrLike | None = None,
 95        oncancel: StrLike | None = None,
 96        oncanplay: StrLike | None = None,
 97        oncanplaythrough: StrLike | None = None,
 98        onchange: StrLike | None = None,
 99        onclick: StrLike | None = None,
100        onclose: StrLike | None = None,
101        oncontextlost: StrLike | None = None,
102        oncontextmenu: StrLike | None = None,
103        oncontextrestored: StrLike | None = None,
104        oncopy: StrLike | None = None,
105        oncuechange: StrLike | None = None,
106        oncut: StrLike | None = None,
107        ondblclick: StrLike | None = None,
108        ondrag: StrLike | None = None,
109        ondragend: StrLike | None = None,
110        ondragenter: StrLike | None = None,
111        ondragleave: StrLike | None = None,
112        ondragover: StrLike | None = None,
113        ondragstart: StrLike | None = None,
114        ondrop: StrLike | None = None,
115        ondurationchange: StrLike | None = None,
116        onemptied: StrLike | None = None,
117        onended: StrLike | None = None,
118        onerror: StrLike | None = None,
119        onfocus: StrLike | None = None,
120        onformdata: StrLike | None = None,
121        oninput: StrLike | None = None,
122        oninvalid: StrLike | None = None,
123        onkeydown: StrLike | None = None,
124        onkeypress: StrLike | None = None,
125        onkeyup: StrLike | None = None,
126        onload: StrLike | None = None,
127        onloadeddata: StrLike | None = None,
128        onloadedmetadata: StrLike | None = None,
129        onloadstart: StrLike | None = None,
130        onmousedown: StrLike | None = None,
131        onmouseenter: StrLike | None = None,
132        onmouseleave: StrLike | None = None,
133        onmousemove: StrLike | None = None,
134        onmouseout: StrLike | None = None,
135        onmouseover: StrLike | None = None,
136        onmouseup: StrLike | None = None,
137        onpaste: StrLike | None = None,
138        onpause: StrLike | None = None,
139        onplay: StrLike | None = None,
140        onplaying: StrLike | None = None,
141        onprogress: StrLike | None = None,
142        onratechange: StrLike | None = None,
143        onreset: StrLike | None = None,
144        onresize: StrLike | None = None,
145        onscroll: StrLike | None = None,
146        onscrollend: StrLike | None = None,
147        onsecuritypolicyviolation: StrLike | None = None,
148        onseeked: StrLike | None = None,
149        onseeking: StrLike | None = None,
150        onselect: StrLike | None = None,
151        onslotchange: StrLike | None = None,
152        onstalled: StrLike | None = None,
153        onsubmit: StrLike | None = None,
154        onsuspend: StrLike | None = None,
155        ontimeupdate: StrLike | None = None,
156        ontoggle: StrLike | None = None,
157        onvolumechange: StrLike | None = None,
158        onwaiting: StrLike | None = None,
159        onwheel: StrLike | None = None,
160        popover: Literal["auto", "manual"] | StrLike | None = None,
161        slot: StrLike | None = None,
162        spellcheck: Literal["true", "false", ""] | StrLike | None = None,
163        style: Resolvable | Mapping[StrLike, StrLike] | None = None,
164        tabindex: int | StrLike | None = None,
165        title: StrLike | None = None,
166        translate: Literal["yes", "no"] | StrLike | None = None,
167        writingsuggestions: Literal["true", "false", ""]
168        | StrLike
169        | None = None,
170        children: list | None = None,
171    ) -> None:
172        """
173        Initialize 'embed' (Plugin) element.  
174        Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed
175
176        Args:
177            attrs: 
178                A list or dictionary of attributes for the element
179            
180            id:
181                The element's ID
182            
183            class_:
184                Classes to which the element belongs
185            
186            height:
187                Vertical dimension
188            
189            src:
190                Address of the resource.  
191                Value hint: Valid non-empty URL potentially surrounded by spaces
192            
193            type:
194                Type of embedded resource.  
195                Value hint: Valid MIME type string
196            
197            width:
198                Horizontal dimension
199            
200            accesskey:
201                Keyboard shortcut to activate or focus element
202            
203            autocapitalize:
204                Recommended autocapitalization behavior (for supported input methods)
205            
206            autocorrect:
207                Recommended autocorrection behavior (for supported input methods)
208            
209            autofocus:
210                Automatically focus the element when the page is loaded
211            
212            contenteditable:
213                Whether the element is editable
214            
215            dir:
216                The text directionality of the element
217            
218            draggable:
219                Whether the element is draggable
220            
221            enterkeyhint:
222                Hint for selecting an enter key action
223            
224            hidden:
225                Whether the element is relevant
226            
227            inert:
228                Whether the element is inert.
229            
230            inputmode:
231                Hint for selecting an input modality
232            
233            is_:
234                Creates a customized built-in element.  
235                Value hint: Valid custom element name of a defined customized built-in element
236            
237            itemid:
238                Global identifier for a microdata item.  
239                Value hint: Valid URL potentially surrounded by spaces
240            
241            itemprop:
242                Property names of a microdata item
243            
244            itemref:
245                Referenced elements
246            
247            itemscope:
248                Introduces a microdata item
249            
250            itemtype:
251                Item types of a microdata item
252            
253            lang:
254                Language of the element.  
255                Value hint: Valid BCP 47 language tag or the empty string
256            
257            nonce:
258                Cryptographic nonce used in Content Security Policy checks [CSP]
259            
260            onauxclick:
261                auxclick event handler.  
262                Value hint: Event handler content attribute
263            
264            onbeforeinput:
265                beforeinput event handler.  
266                Value hint: Event handler content attribute
267            
268            onbeforematch:
269                beforematch event handler.  
270                Value hint: Event handler content attribute
271            
272            onbeforetoggle:
273                beforetoggle event handler.  
274                Value hint: Event handler content attribute
275            
276            onblur:
277                blur event handler.  
278                Value hint: Event handler content attribute
279            
280            oncancel:
281                cancel event handler.  
282                Value hint: Event handler content attribute
283            
284            oncanplay:
285                canplay event handler.  
286                Value hint: Event handler content attribute
287            
288            oncanplaythrough:
289                canplaythrough event handler.  
290                Value hint: Event handler content attribute
291            
292            onchange:
293                change event handler.  
294                Value hint: Event handler content attribute
295            
296            onclick:
297                click event handler.  
298                Value hint: Event handler content attribute
299            
300            onclose:
301                close event handler.  
302                Value hint: Event handler content attribute
303            
304            oncontextlost:
305                contextlost event handler.  
306                Value hint: Event handler content attribute
307            
308            oncontextmenu:
309                contextmenu event handler.  
310                Value hint: Event handler content attribute
311            
312            oncontextrestored:
313                contextrestored event handler.  
314                Value hint: Event handler content attribute
315            
316            oncopy:
317                copy event handler.  
318                Value hint: Event handler content attribute
319            
320            oncuechange:
321                cuechange event handler.  
322                Value hint: Event handler content attribute
323            
324            oncut:
325                cut event handler.  
326                Value hint: Event handler content attribute
327            
328            ondblclick:
329                dblclick event handler.  
330                Value hint: Event handler content attribute
331            
332            ondrag:
333                drag event handler.  
334                Value hint: Event handler content attribute
335            
336            ondragend:
337                dragend event handler.  
338                Value hint: Event handler content attribute
339            
340            ondragenter:
341                dragenter event handler.  
342                Value hint: Event handler content attribute
343            
344            ondragleave:
345                dragleave event handler.  
346                Value hint: Event handler content attribute
347            
348            ondragover:
349                dragover event handler.  
350                Value hint: Event handler content attribute
351            
352            ondragstart:
353                dragstart event handler.  
354                Value hint: Event handler content attribute
355            
356            ondrop:
357                drop event handler.  
358                Value hint: Event handler content attribute
359            
360            ondurationchange:
361                durationchange event handler.  
362                Value hint: Event handler content attribute
363            
364            onemptied:
365                emptied event handler.  
366                Value hint: Event handler content attribute
367            
368            onended:
369                ended event handler.  
370                Value hint: Event handler content attribute
371            
372            onerror:
373                error event handler.  
374                Value hint: Event handler content attribute
375            
376            onfocus:
377                focus event handler.  
378                Value hint: Event handler content attribute
379            
380            onformdata:
381                formdata event handler.  
382                Value hint: Event handler content attribute
383            
384            oninput:
385                input event handler.  
386                Value hint: Event handler content attribute
387            
388            oninvalid:
389                invalid event handler.  
390                Value hint: Event handler content attribute
391            
392            onkeydown:
393                keydown event handler.  
394                Value hint: Event handler content attribute
395            
396            onkeypress:
397                keypress event handler.  
398                Value hint: Event handler content attribute
399            
400            onkeyup:
401                keyup event handler.  
402                Value hint: Event handler content attribute
403            
404            onload:
405                load event handler.  
406                Value hint: Event handler content attribute
407            
408            onloadeddata:
409                loadeddata event handler.  
410                Value hint: Event handler content attribute
411            
412            onloadedmetadata:
413                loadedmetadata event handler.  
414                Value hint: Event handler content attribute
415            
416            onloadstart:
417                loadstart event handler.  
418                Value hint: Event handler content attribute
419            
420            onmousedown:
421                mousedown event handler.  
422                Value hint: Event handler content attribute
423            
424            onmouseenter:
425                mouseenter event handler.  
426                Value hint: Event handler content attribute
427            
428            onmouseleave:
429                mouseleave event handler.  
430                Value hint: Event handler content attribute
431            
432            onmousemove:
433                mousemove event handler.  
434                Value hint: Event handler content attribute
435            
436            onmouseout:
437                mouseout event handler.  
438                Value hint: Event handler content attribute
439            
440            onmouseover:
441                mouseover event handler.  
442                Value hint: Event handler content attribute
443            
444            onmouseup:
445                mouseup event handler.  
446                Value hint: Event handler content attribute
447            
448            onpaste:
449                paste event handler.  
450                Value hint: Event handler content attribute
451            
452            onpause:
453                pause event handler.  
454                Value hint: Event handler content attribute
455            
456            onplay:
457                play event handler.  
458                Value hint: Event handler content attribute
459            
460            onplaying:
461                playing event handler.  
462                Value hint: Event handler content attribute
463            
464            onprogress:
465                progress event handler.  
466                Value hint: Event handler content attribute
467            
468            onratechange:
469                ratechange event handler.  
470                Value hint: Event handler content attribute
471            
472            onreset:
473                reset event handler.  
474                Value hint: Event handler content attribute
475            
476            onresize:
477                resize event handler.  
478                Value hint: Event handler content attribute
479            
480            onscroll:
481                scroll event handler.  
482                Value hint: Event handler content attribute
483            
484            onscrollend:
485                scrollend event handler.  
486                Value hint: Event handler content attribute
487            
488            onsecuritypolicyviolation:
489                securitypolicyviolation event handler.  
490                Value hint: Event handler content attribute
491            
492            onseeked:
493                seeked event handler.  
494                Value hint: Event handler content attribute
495            
496            onseeking:
497                seeking event handler.  
498                Value hint: Event handler content attribute
499            
500            onselect:
501                select event handler.  
502                Value hint: Event handler content attribute
503            
504            onslotchange:
505                slotchange event handler.  
506                Value hint: Event handler content attribute
507            
508            onstalled:
509                stalled event handler.  
510                Value hint: Event handler content attribute
511            
512            onsubmit:
513                submit event handler.  
514                Value hint: Event handler content attribute
515            
516            onsuspend:
517                suspend event handler.  
518                Value hint: Event handler content attribute
519            
520            ontimeupdate:
521                timeupdate event handler.  
522                Value hint: Event handler content attribute
523            
524            ontoggle:
525                toggle event handler.  
526                Value hint: Event handler content attribute
527            
528            onvolumechange:
529                volumechange event handler.  
530                Value hint: Event handler content attribute
531            
532            onwaiting:
533                waiting event handler.  
534                Value hint: Event handler content attribute
535            
536            onwheel:
537                wheel event handler.  
538                Value hint: Event handler content attribute
539            
540            popover:
541                Makes the element a popover element
542            
543            slot:
544                The element's desired slot
545            
546            spellcheck:
547                Whether the element is to have its spelling and grammar checked
548            
549            style:
550                Presentational and formatting instructions.  
551                Value hint: CSS declarations*
552            
553            tabindex:
554                Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation
555            
556            title:
557                Advisory information for the element
558            
559            translate:
560                Whether the element is to be translated when the page is localized
561            
562            writingsuggestions:
563                Whether the element can offer writing suggestions or not.
564            
565        """  # fmt: skip
566        super().__init__(
567            "embed", void_element=True, attrs=attrs, children=children
568        )
569        if not (id is None or id is False):
570            self._process_attr("id", id)
571        if not (class_ is None or class_ is False):
572            self._process_attr("class", class_)
573        if not (height is None or height is False):
574            self._process_attr("height", height)
575        if not (src is None or src is False):
576            self._process_attr("src", src)
577        if not (type is None or type is False):
578            self._process_attr("type", type)
579        if not (width is None or width is False):
580            self._process_attr("width", width)
581        if not (accesskey is None or accesskey is False):
582            self._process_attr("accesskey", accesskey)
583        if not (autocapitalize is None or autocapitalize is False):
584            self._process_attr("autocapitalize", autocapitalize)
585        if not (autocorrect is None or autocorrect is False):
586            self._process_attr("autocorrect", autocorrect)
587        if not (autofocus is None or autofocus is False):
588            self._process_attr("autofocus", autofocus)
589        if not (contenteditable is None or contenteditable is False):
590            self._process_attr("contenteditable", contenteditable)
591        if not (dir is None or dir is False):
592            self._process_attr("dir", dir)
593        if not (draggable is None or draggable is False):
594            self._process_attr("draggable", draggable)
595        if not (enterkeyhint is None or enterkeyhint is False):
596            self._process_attr("enterkeyhint", enterkeyhint)
597        if not (hidden is None or hidden is False):
598            self._process_attr("hidden", hidden)
599        if not (inert is None or inert is False):
600            self._process_attr("inert", inert)
601        if not (inputmode is None or inputmode is False):
602            self._process_attr("inputmode", inputmode)
603        if not (is_ is None or is_ is False):
604            self._process_attr("is", is_)
605        if not (itemid is None or itemid is False):
606            self._process_attr("itemid", itemid)
607        if not (itemprop is None or itemprop is False):
608            self._process_attr("itemprop", itemprop)
609        if not (itemref is None or itemref is False):
610            self._process_attr("itemref", itemref)
611        if not (itemscope is None or itemscope is False):
612            self._process_attr("itemscope", itemscope)
613        if not (itemtype is None or itemtype is False):
614            self._process_attr("itemtype", itemtype)
615        if not (lang is None or lang is False):
616            self._process_attr("lang", lang)
617        if not (nonce is None or nonce is False):
618            self._process_attr("nonce", nonce)
619        if not (onauxclick is None or onauxclick is False):
620            self._process_attr("onauxclick", onauxclick)
621        if not (onbeforeinput is None or onbeforeinput is False):
622            self._process_attr("onbeforeinput", onbeforeinput)
623        if not (onbeforematch is None or onbeforematch is False):
624            self._process_attr("onbeforematch", onbeforematch)
625        if not (onbeforetoggle is None or onbeforetoggle is False):
626            self._process_attr("onbeforetoggle", onbeforetoggle)
627        if not (onblur is None or onblur is False):
628            self._process_attr("onblur", onblur)
629        if not (oncancel is None or oncancel is False):
630            self._process_attr("oncancel", oncancel)
631        if not (oncanplay is None or oncanplay is False):
632            self._process_attr("oncanplay", oncanplay)
633        if not (oncanplaythrough is None or oncanplaythrough is False):
634            self._process_attr("oncanplaythrough", oncanplaythrough)
635        if not (onchange is None or onchange is False):
636            self._process_attr("onchange", onchange)
637        if not (onclick is None or onclick is False):
638            self._process_attr("onclick", onclick)
639        if not (onclose is None or onclose is False):
640            self._process_attr("onclose", onclose)
641        if not (oncontextlost is None or oncontextlost is False):
642            self._process_attr("oncontextlost", oncontextlost)
643        if not (oncontextmenu is None or oncontextmenu is False):
644            self._process_attr("oncontextmenu", oncontextmenu)
645        if not (oncontextrestored is None or oncontextrestored is False):
646            self._process_attr("oncontextrestored", oncontextrestored)
647        if not (oncopy is None or oncopy is False):
648            self._process_attr("oncopy", oncopy)
649        if not (oncuechange is None or oncuechange is False):
650            self._process_attr("oncuechange", oncuechange)
651        if not (oncut is None or oncut is False):
652            self._process_attr("oncut", oncut)
653        if not (ondblclick is None or ondblclick is False):
654            self._process_attr("ondblclick", ondblclick)
655        if not (ondrag is None or ondrag is False):
656            self._process_attr("ondrag", ondrag)
657        if not (ondragend is None or ondragend is False):
658            self._process_attr("ondragend", ondragend)
659        if not (ondragenter is None or ondragenter is False):
660            self._process_attr("ondragenter", ondragenter)
661        if not (ondragleave is None or ondragleave is False):
662            self._process_attr("ondragleave", ondragleave)
663        if not (ondragover is None or ondragover is False):
664            self._process_attr("ondragover", ondragover)
665        if not (ondragstart is None or ondragstart is False):
666            self._process_attr("ondragstart", ondragstart)
667        if not (ondrop is None or ondrop is False):
668            self._process_attr("ondrop", ondrop)
669        if not (ondurationchange is None or ondurationchange is False):
670            self._process_attr("ondurationchange", ondurationchange)
671        if not (onemptied is None or onemptied is False):
672            self._process_attr("onemptied", onemptied)
673        if not (onended is None or onended is False):
674            self._process_attr("onended", onended)
675        if not (onerror is None or onerror is False):
676            self._process_attr("onerror", onerror)
677        if not (onfocus is None or onfocus is False):
678            self._process_attr("onfocus", onfocus)
679        if not (onformdata is None or onformdata is False):
680            self._process_attr("onformdata", onformdata)
681        if not (oninput is None or oninput is False):
682            self._process_attr("oninput", oninput)
683        if not (oninvalid is None or oninvalid is False):
684            self._process_attr("oninvalid", oninvalid)
685        if not (onkeydown is None or onkeydown is False):
686            self._process_attr("onkeydown", onkeydown)
687        if not (onkeypress is None or onkeypress is False):
688            self._process_attr("onkeypress", onkeypress)
689        if not (onkeyup is None or onkeyup is False):
690            self._process_attr("onkeyup", onkeyup)
691        if not (onload is None or onload is False):
692            self._process_attr("onload", onload)
693        if not (onloadeddata is None or onloadeddata is False):
694            self._process_attr("onloadeddata", onloadeddata)
695        if not (onloadedmetadata is None or onloadedmetadata is False):
696            self._process_attr("onloadedmetadata", onloadedmetadata)
697        if not (onloadstart is None or onloadstart is False):
698            self._process_attr("onloadstart", onloadstart)
699        if not (onmousedown is None or onmousedown is False):
700            self._process_attr("onmousedown", onmousedown)
701        if not (onmouseenter is None or onmouseenter is False):
702            self._process_attr("onmouseenter", onmouseenter)
703        if not (onmouseleave is None or onmouseleave is False):
704            self._process_attr("onmouseleave", onmouseleave)
705        if not (onmousemove is None or onmousemove is False):
706            self._process_attr("onmousemove", onmousemove)
707        if not (onmouseout is None or onmouseout is False):
708            self._process_attr("onmouseout", onmouseout)
709        if not (onmouseover is None or onmouseover is False):
710            self._process_attr("onmouseover", onmouseover)
711        if not (onmouseup is None or onmouseup is False):
712            self._process_attr("onmouseup", onmouseup)
713        if not (onpaste is None or onpaste is False):
714            self._process_attr("onpaste", onpaste)
715        if not (onpause is None or onpause is False):
716            self._process_attr("onpause", onpause)
717        if not (onplay is None or onplay is False):
718            self._process_attr("onplay", onplay)
719        if not (onplaying is None or onplaying is False):
720            self._process_attr("onplaying", onplaying)
721        if not (onprogress is None or onprogress is False):
722            self._process_attr("onprogress", onprogress)
723        if not (onratechange is None or onratechange is False):
724            self._process_attr("onratechange", onratechange)
725        if not (onreset is None or onreset is False):
726            self._process_attr("onreset", onreset)
727        if not (onresize is None or onresize is False):
728            self._process_attr("onresize", onresize)
729        if not (onscroll is None or onscroll is False):
730            self._process_attr("onscroll", onscroll)
731        if not (onscrollend is None or onscrollend is False):
732            self._process_attr("onscrollend", onscrollend)
733        if not (
734            onsecuritypolicyviolation is None
735            or onsecuritypolicyviolation is False
736        ):
737            self._process_attr(
738                "onsecuritypolicyviolation", onsecuritypolicyviolation
739            )
740        if not (onseeked is None or onseeked is False):
741            self._process_attr("onseeked", onseeked)
742        if not (onseeking is None or onseeking is False):
743            self._process_attr("onseeking", onseeking)
744        if not (onselect is None or onselect is False):
745            self._process_attr("onselect", onselect)
746        if not (onslotchange is None or onslotchange is False):
747            self._process_attr("onslotchange", onslotchange)
748        if not (onstalled is None or onstalled is False):
749            self._process_attr("onstalled", onstalled)
750        if not (onsubmit is None or onsubmit is False):
751            self._process_attr("onsubmit", onsubmit)
752        if not (onsuspend is None or onsuspend is False):
753            self._process_attr("onsuspend", onsuspend)
754        if not (ontimeupdate is None or ontimeupdate is False):
755            self._process_attr("ontimeupdate", ontimeupdate)
756        if not (ontoggle is None or ontoggle is False):
757            self._process_attr("ontoggle", ontoggle)
758        if not (onvolumechange is None or onvolumechange is False):
759            self._process_attr("onvolumechange", onvolumechange)
760        if not (onwaiting is None or onwaiting is False):
761            self._process_attr("onwaiting", onwaiting)
762        if not (onwheel is None or onwheel is False):
763            self._process_attr("onwheel", onwheel)
764        if not (popover is None or popover is False):
765            self._process_attr("popover", popover)
766        if not (slot is None or slot is False):
767            self._process_attr("slot", slot)
768        if not (spellcheck is None or spellcheck is False):
769            self._process_attr("spellcheck", spellcheck)
770        if not (style is None or style is False):
771            self._process_attr("style", style)
772        if not (tabindex is None or tabindex is False):
773            self._process_attr("tabindex", tabindex)
774        if not (title is None or title is False):
775            self._process_attr("title", title)
776        if not (translate is None or translate is False):
777            self._process_attr("translate", translate)
778        if not (writingsuggestions is None or writingsuggestions is False):
779            self._process_attr("writingsuggestions", writingsuggestions)
class embed(html_compose.base_element.BaseElement):
 12class embed(BaseElement):
 13    """
 14    The 'embed' element.  
 15    Description: Plugin  
 16    Categories: flow phrasing embedded interactive palpable  
 17    Parents: phrasing  
 18    Children: empty  
 19    Interface: HTMLEmbedElement  
 20    Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed  
 21    """  # fmt: skip
 22
 23    tag = "embed"
 24    categories = ["flow", "phrasing", "embedded", "interactive", "palpable"]
 25
 26    class hint(GlobalAttrs, EmbedAttrs):
 27        """
 28        Type hints for "embed" attrs  
 29        This class holds functions which return BaseAttributes  
 30        Which you can add to your element attrs  
 31        """  # fmt: skip
 32
 33        pass
 34
 35    _ = hint
 36
 37    def __init__(
 38        self,
 39        attrs: Iterable[BaseAttribute]
 40        | Mapping[str, Resolvable]
 41        | Iterable[
 42            BaseAttribute | Iterable[BaseAttribute] | Mapping[str, Resolvable]
 43        ]
 44        | None = None,
 45        id: StrLike | None = None,
 46        class_: Resolvable | None = None,
 47        height: int | StrLike | None = None,
 48        src: StrLike | None = None,
 49        type: StrLike | None = None,
 50        width: int | StrLike | None = None,
 51        accesskey: Resolvable | StrLike | None = None,
 52        autocapitalize: Literal[
 53            "on", "off", "none", "sentences", "words", "characters"
 54        ]
 55        | StrLike
 56        | None = None,
 57        autocorrect: Literal["on", "off"] | StrLike | None = None,
 58        autofocus: bool | StrLike | None = None,
 59        contenteditable: Literal["true", "plaintext-only", "false"]
 60        | StrLike
 61        | None = None,
 62        dir: Literal["ltr", "rtl", "auto"] | StrLike | None = None,
 63        draggable: Literal["true", "false"] | StrLike | None = None,
 64        enterkeyhint: Literal[
 65            "enter", "done", "go", "next", "previous", "search", "send"
 66        ]
 67        | StrLike
 68        | None = None,
 69        hidden: Literal["until-found", "hidden", ""] | StrLike | None = None,
 70        inert: bool | StrLike | None = None,
 71        inputmode: Literal[
 72            "none",
 73            "text",
 74            "tel",
 75            "email",
 76            "url",
 77            "numeric",
 78            "decimal",
 79            "search",
 80        ]
 81        | StrLike
 82        | None = None,
 83        is_: StrLike | None = None,
 84        itemid: StrLike | None = None,
 85        itemprop: Resolvable | StrLike | None = None,
 86        itemref: Resolvable | StrLike | None = None,
 87        itemscope: bool | StrLike | None = None,
 88        itemtype: Resolvable | StrLike | None = None,
 89        lang: StrLike | None = None,
 90        nonce: StrLike | None = None,
 91        onauxclick: StrLike | None = None,
 92        onbeforeinput: StrLike | None = None,
 93        onbeforematch: StrLike | None = None,
 94        onbeforetoggle: StrLike | None = None,
 95        onblur: StrLike | None = None,
 96        oncancel: StrLike | None = None,
 97        oncanplay: StrLike | None = None,
 98        oncanplaythrough: StrLike | None = None,
 99        onchange: StrLike | None = None,
100        onclick: StrLike | None = None,
101        onclose: StrLike | None = None,
102        oncontextlost: StrLike | None = None,
103        oncontextmenu: StrLike | None = None,
104        oncontextrestored: StrLike | None = None,
105        oncopy: StrLike | None = None,
106        oncuechange: StrLike | None = None,
107        oncut: StrLike | None = None,
108        ondblclick: StrLike | None = None,
109        ondrag: StrLike | None = None,
110        ondragend: StrLike | None = None,
111        ondragenter: StrLike | None = None,
112        ondragleave: StrLike | None = None,
113        ondragover: StrLike | None = None,
114        ondragstart: StrLike | None = None,
115        ondrop: StrLike | None = None,
116        ondurationchange: StrLike | None = None,
117        onemptied: StrLike | None = None,
118        onended: StrLike | None = None,
119        onerror: StrLike | None = None,
120        onfocus: StrLike | None = None,
121        onformdata: StrLike | None = None,
122        oninput: StrLike | None = None,
123        oninvalid: StrLike | None = None,
124        onkeydown: StrLike | None = None,
125        onkeypress: StrLike | None = None,
126        onkeyup: StrLike | None = None,
127        onload: StrLike | None = None,
128        onloadeddata: StrLike | None = None,
129        onloadedmetadata: StrLike | None = None,
130        onloadstart: StrLike | None = None,
131        onmousedown: StrLike | None = None,
132        onmouseenter: StrLike | None = None,
133        onmouseleave: StrLike | None = None,
134        onmousemove: StrLike | None = None,
135        onmouseout: StrLike | None = None,
136        onmouseover: StrLike | None = None,
137        onmouseup: StrLike | None = None,
138        onpaste: StrLike | None = None,
139        onpause: StrLike | None = None,
140        onplay: StrLike | None = None,
141        onplaying: StrLike | None = None,
142        onprogress: StrLike | None = None,
143        onratechange: StrLike | None = None,
144        onreset: StrLike | None = None,
145        onresize: StrLike | None = None,
146        onscroll: StrLike | None = None,
147        onscrollend: StrLike | None = None,
148        onsecuritypolicyviolation: StrLike | None = None,
149        onseeked: StrLike | None = None,
150        onseeking: StrLike | None = None,
151        onselect: StrLike | None = None,
152        onslotchange: StrLike | None = None,
153        onstalled: StrLike | None = None,
154        onsubmit: StrLike | None = None,
155        onsuspend: StrLike | None = None,
156        ontimeupdate: StrLike | None = None,
157        ontoggle: StrLike | None = None,
158        onvolumechange: StrLike | None = None,
159        onwaiting: StrLike | None = None,
160        onwheel: StrLike | None = None,
161        popover: Literal["auto", "manual"] | StrLike | None = None,
162        slot: StrLike | None = None,
163        spellcheck: Literal["true", "false", ""] | StrLike | None = None,
164        style: Resolvable | Mapping[StrLike, StrLike] | None = None,
165        tabindex: int | StrLike | None = None,
166        title: StrLike | None = None,
167        translate: Literal["yes", "no"] | StrLike | None = None,
168        writingsuggestions: Literal["true", "false", ""]
169        | StrLike
170        | None = None,
171        children: list | None = None,
172    ) -> None:
173        """
174        Initialize 'embed' (Plugin) element.  
175        Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed
176
177        Args:
178            attrs: 
179                A list or dictionary of attributes for the element
180            
181            id:
182                The element's ID
183            
184            class_:
185                Classes to which the element belongs
186            
187            height:
188                Vertical dimension
189            
190            src:
191                Address of the resource.  
192                Value hint: Valid non-empty URL potentially surrounded by spaces
193            
194            type:
195                Type of embedded resource.  
196                Value hint: Valid MIME type string
197            
198            width:
199                Horizontal dimension
200            
201            accesskey:
202                Keyboard shortcut to activate or focus element
203            
204            autocapitalize:
205                Recommended autocapitalization behavior (for supported input methods)
206            
207            autocorrect:
208                Recommended autocorrection behavior (for supported input methods)
209            
210            autofocus:
211                Automatically focus the element when the page is loaded
212            
213            contenteditable:
214                Whether the element is editable
215            
216            dir:
217                The text directionality of the element
218            
219            draggable:
220                Whether the element is draggable
221            
222            enterkeyhint:
223                Hint for selecting an enter key action
224            
225            hidden:
226                Whether the element is relevant
227            
228            inert:
229                Whether the element is inert.
230            
231            inputmode:
232                Hint for selecting an input modality
233            
234            is_:
235                Creates a customized built-in element.  
236                Value hint: Valid custom element name of a defined customized built-in element
237            
238            itemid:
239                Global identifier for a microdata item.  
240                Value hint: Valid URL potentially surrounded by spaces
241            
242            itemprop:
243                Property names of a microdata item
244            
245            itemref:
246                Referenced elements
247            
248            itemscope:
249                Introduces a microdata item
250            
251            itemtype:
252                Item types of a microdata item
253            
254            lang:
255                Language of the element.  
256                Value hint: Valid BCP 47 language tag or the empty string
257            
258            nonce:
259                Cryptographic nonce used in Content Security Policy checks [CSP]
260            
261            onauxclick:
262                auxclick event handler.  
263                Value hint: Event handler content attribute
264            
265            onbeforeinput:
266                beforeinput event handler.  
267                Value hint: Event handler content attribute
268            
269            onbeforematch:
270                beforematch event handler.  
271                Value hint: Event handler content attribute
272            
273            onbeforetoggle:
274                beforetoggle event handler.  
275                Value hint: Event handler content attribute
276            
277            onblur:
278                blur event handler.  
279                Value hint: Event handler content attribute
280            
281            oncancel:
282                cancel event handler.  
283                Value hint: Event handler content attribute
284            
285            oncanplay:
286                canplay event handler.  
287                Value hint: Event handler content attribute
288            
289            oncanplaythrough:
290                canplaythrough event handler.  
291                Value hint: Event handler content attribute
292            
293            onchange:
294                change event handler.  
295                Value hint: Event handler content attribute
296            
297            onclick:
298                click event handler.  
299                Value hint: Event handler content attribute
300            
301            onclose:
302                close event handler.  
303                Value hint: Event handler content attribute
304            
305            oncontextlost:
306                contextlost event handler.  
307                Value hint: Event handler content attribute
308            
309            oncontextmenu:
310                contextmenu event handler.  
311                Value hint: Event handler content attribute
312            
313            oncontextrestored:
314                contextrestored event handler.  
315                Value hint: Event handler content attribute
316            
317            oncopy:
318                copy event handler.  
319                Value hint: Event handler content attribute
320            
321            oncuechange:
322                cuechange event handler.  
323                Value hint: Event handler content attribute
324            
325            oncut:
326                cut event handler.  
327                Value hint: Event handler content attribute
328            
329            ondblclick:
330                dblclick event handler.  
331                Value hint: Event handler content attribute
332            
333            ondrag:
334                drag event handler.  
335                Value hint: Event handler content attribute
336            
337            ondragend:
338                dragend event handler.  
339                Value hint: Event handler content attribute
340            
341            ondragenter:
342                dragenter event handler.  
343                Value hint: Event handler content attribute
344            
345            ondragleave:
346                dragleave event handler.  
347                Value hint: Event handler content attribute
348            
349            ondragover:
350                dragover event handler.  
351                Value hint: Event handler content attribute
352            
353            ondragstart:
354                dragstart event handler.  
355                Value hint: Event handler content attribute
356            
357            ondrop:
358                drop event handler.  
359                Value hint: Event handler content attribute
360            
361            ondurationchange:
362                durationchange event handler.  
363                Value hint: Event handler content attribute
364            
365            onemptied:
366                emptied event handler.  
367                Value hint: Event handler content attribute
368            
369            onended:
370                ended event handler.  
371                Value hint: Event handler content attribute
372            
373            onerror:
374                error event handler.  
375                Value hint: Event handler content attribute
376            
377            onfocus:
378                focus event handler.  
379                Value hint: Event handler content attribute
380            
381            onformdata:
382                formdata event handler.  
383                Value hint: Event handler content attribute
384            
385            oninput:
386                input event handler.  
387                Value hint: Event handler content attribute
388            
389            oninvalid:
390                invalid event handler.  
391                Value hint: Event handler content attribute
392            
393            onkeydown:
394                keydown event handler.  
395                Value hint: Event handler content attribute
396            
397            onkeypress:
398                keypress event handler.  
399                Value hint: Event handler content attribute
400            
401            onkeyup:
402                keyup event handler.  
403                Value hint: Event handler content attribute
404            
405            onload:
406                load event handler.  
407                Value hint: Event handler content attribute
408            
409            onloadeddata:
410                loadeddata event handler.  
411                Value hint: Event handler content attribute
412            
413            onloadedmetadata:
414                loadedmetadata event handler.  
415                Value hint: Event handler content attribute
416            
417            onloadstart:
418                loadstart event handler.  
419                Value hint: Event handler content attribute
420            
421            onmousedown:
422                mousedown event handler.  
423                Value hint: Event handler content attribute
424            
425            onmouseenter:
426                mouseenter event handler.  
427                Value hint: Event handler content attribute
428            
429            onmouseleave:
430                mouseleave event handler.  
431                Value hint: Event handler content attribute
432            
433            onmousemove:
434                mousemove event handler.  
435                Value hint: Event handler content attribute
436            
437            onmouseout:
438                mouseout event handler.  
439                Value hint: Event handler content attribute
440            
441            onmouseover:
442                mouseover event handler.  
443                Value hint: Event handler content attribute
444            
445            onmouseup:
446                mouseup event handler.  
447                Value hint: Event handler content attribute
448            
449            onpaste:
450                paste event handler.  
451                Value hint: Event handler content attribute
452            
453            onpause:
454                pause event handler.  
455                Value hint: Event handler content attribute
456            
457            onplay:
458                play event handler.  
459                Value hint: Event handler content attribute
460            
461            onplaying:
462                playing event handler.  
463                Value hint: Event handler content attribute
464            
465            onprogress:
466                progress event handler.  
467                Value hint: Event handler content attribute
468            
469            onratechange:
470                ratechange event handler.  
471                Value hint: Event handler content attribute
472            
473            onreset:
474                reset event handler.  
475                Value hint: Event handler content attribute
476            
477            onresize:
478                resize event handler.  
479                Value hint: Event handler content attribute
480            
481            onscroll:
482                scroll event handler.  
483                Value hint: Event handler content attribute
484            
485            onscrollend:
486                scrollend event handler.  
487                Value hint: Event handler content attribute
488            
489            onsecuritypolicyviolation:
490                securitypolicyviolation event handler.  
491                Value hint: Event handler content attribute
492            
493            onseeked:
494                seeked event handler.  
495                Value hint: Event handler content attribute
496            
497            onseeking:
498                seeking event handler.  
499                Value hint: Event handler content attribute
500            
501            onselect:
502                select event handler.  
503                Value hint: Event handler content attribute
504            
505            onslotchange:
506                slotchange event handler.  
507                Value hint: Event handler content attribute
508            
509            onstalled:
510                stalled event handler.  
511                Value hint: Event handler content attribute
512            
513            onsubmit:
514                submit event handler.  
515                Value hint: Event handler content attribute
516            
517            onsuspend:
518                suspend event handler.  
519                Value hint: Event handler content attribute
520            
521            ontimeupdate:
522                timeupdate event handler.  
523                Value hint: Event handler content attribute
524            
525            ontoggle:
526                toggle event handler.  
527                Value hint: Event handler content attribute
528            
529            onvolumechange:
530                volumechange event handler.  
531                Value hint: Event handler content attribute
532            
533            onwaiting:
534                waiting event handler.  
535                Value hint: Event handler content attribute
536            
537            onwheel:
538                wheel event handler.  
539                Value hint: Event handler content attribute
540            
541            popover:
542                Makes the element a popover element
543            
544            slot:
545                The element's desired slot
546            
547            spellcheck:
548                Whether the element is to have its spelling and grammar checked
549            
550            style:
551                Presentational and formatting instructions.  
552                Value hint: CSS declarations*
553            
554            tabindex:
555                Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation
556            
557            title:
558                Advisory information for the element
559            
560            translate:
561                Whether the element is to be translated when the page is localized
562            
563            writingsuggestions:
564                Whether the element can offer writing suggestions or not.
565            
566        """  # fmt: skip
567        super().__init__(
568            "embed", void_element=True, attrs=attrs, children=children
569        )
570        if not (id is None or id is False):
571            self._process_attr("id", id)
572        if not (class_ is None or class_ is False):
573            self._process_attr("class", class_)
574        if not (height is None or height is False):
575            self._process_attr("height", height)
576        if not (src is None or src is False):
577            self._process_attr("src", src)
578        if not (type is None or type is False):
579            self._process_attr("type", type)
580        if not (width is None or width is False):
581            self._process_attr("width", width)
582        if not (accesskey is None or accesskey is False):
583            self._process_attr("accesskey", accesskey)
584        if not (autocapitalize is None or autocapitalize is False):
585            self._process_attr("autocapitalize", autocapitalize)
586        if not (autocorrect is None or autocorrect is False):
587            self._process_attr("autocorrect", autocorrect)
588        if not (autofocus is None or autofocus is False):
589            self._process_attr("autofocus", autofocus)
590        if not (contenteditable is None or contenteditable is False):
591            self._process_attr("contenteditable", contenteditable)
592        if not (dir is None or dir is False):
593            self._process_attr("dir", dir)
594        if not (draggable is None or draggable is False):
595            self._process_attr("draggable", draggable)
596        if not (enterkeyhint is None or enterkeyhint is False):
597            self._process_attr("enterkeyhint", enterkeyhint)
598        if not (hidden is None or hidden is False):
599            self._process_attr("hidden", hidden)
600        if not (inert is None or inert is False):
601            self._process_attr("inert", inert)
602        if not (inputmode is None or inputmode is False):
603            self._process_attr("inputmode", inputmode)
604        if not (is_ is None or is_ is False):
605            self._process_attr("is", is_)
606        if not (itemid is None or itemid is False):
607            self._process_attr("itemid", itemid)
608        if not (itemprop is None or itemprop is False):
609            self._process_attr("itemprop", itemprop)
610        if not (itemref is None or itemref is False):
611            self._process_attr("itemref", itemref)
612        if not (itemscope is None or itemscope is False):
613            self._process_attr("itemscope", itemscope)
614        if not (itemtype is None or itemtype is False):
615            self._process_attr("itemtype", itemtype)
616        if not (lang is None or lang is False):
617            self._process_attr("lang", lang)
618        if not (nonce is None or nonce is False):
619            self._process_attr("nonce", nonce)
620        if not (onauxclick is None or onauxclick is False):
621            self._process_attr("onauxclick", onauxclick)
622        if not (onbeforeinput is None or onbeforeinput is False):
623            self._process_attr("onbeforeinput", onbeforeinput)
624        if not (onbeforematch is None or onbeforematch is False):
625            self._process_attr("onbeforematch", onbeforematch)
626        if not (onbeforetoggle is None or onbeforetoggle is False):
627            self._process_attr("onbeforetoggle", onbeforetoggle)
628        if not (onblur is None or onblur is False):
629            self._process_attr("onblur", onblur)
630        if not (oncancel is None or oncancel is False):
631            self._process_attr("oncancel", oncancel)
632        if not (oncanplay is None or oncanplay is False):
633            self._process_attr("oncanplay", oncanplay)
634        if not (oncanplaythrough is None or oncanplaythrough is False):
635            self._process_attr("oncanplaythrough", oncanplaythrough)
636        if not (onchange is None or onchange is False):
637            self._process_attr("onchange", onchange)
638        if not (onclick is None or onclick is False):
639            self._process_attr("onclick", onclick)
640        if not (onclose is None or onclose is False):
641            self._process_attr("onclose", onclose)
642        if not (oncontextlost is None or oncontextlost is False):
643            self._process_attr("oncontextlost", oncontextlost)
644        if not (oncontextmenu is None or oncontextmenu is False):
645            self._process_attr("oncontextmenu", oncontextmenu)
646        if not (oncontextrestored is None or oncontextrestored is False):
647            self._process_attr("oncontextrestored", oncontextrestored)
648        if not (oncopy is None or oncopy is False):
649            self._process_attr("oncopy", oncopy)
650        if not (oncuechange is None or oncuechange is False):
651            self._process_attr("oncuechange", oncuechange)
652        if not (oncut is None or oncut is False):
653            self._process_attr("oncut", oncut)
654        if not (ondblclick is None or ondblclick is False):
655            self._process_attr("ondblclick", ondblclick)
656        if not (ondrag is None or ondrag is False):
657            self._process_attr("ondrag", ondrag)
658        if not (ondragend is None or ondragend is False):
659            self._process_attr("ondragend", ondragend)
660        if not (ondragenter is None or ondragenter is False):
661            self._process_attr("ondragenter", ondragenter)
662        if not (ondragleave is None or ondragleave is False):
663            self._process_attr("ondragleave", ondragleave)
664        if not (ondragover is None or ondragover is False):
665            self._process_attr("ondragover", ondragover)
666        if not (ondragstart is None or ondragstart is False):
667            self._process_attr("ondragstart", ondragstart)
668        if not (ondrop is None or ondrop is False):
669            self._process_attr("ondrop", ondrop)
670        if not (ondurationchange is None or ondurationchange is False):
671            self._process_attr("ondurationchange", ondurationchange)
672        if not (onemptied is None or onemptied is False):
673            self._process_attr("onemptied", onemptied)
674        if not (onended is None or onended is False):
675            self._process_attr("onended", onended)
676        if not (onerror is None or onerror is False):
677            self._process_attr("onerror", onerror)
678        if not (onfocus is None or onfocus is False):
679            self._process_attr("onfocus", onfocus)
680        if not (onformdata is None or onformdata is False):
681            self._process_attr("onformdata", onformdata)
682        if not (oninput is None or oninput is False):
683            self._process_attr("oninput", oninput)
684        if not (oninvalid is None or oninvalid is False):
685            self._process_attr("oninvalid", oninvalid)
686        if not (onkeydown is None or onkeydown is False):
687            self._process_attr("onkeydown", onkeydown)
688        if not (onkeypress is None or onkeypress is False):
689            self._process_attr("onkeypress", onkeypress)
690        if not (onkeyup is None or onkeyup is False):
691            self._process_attr("onkeyup", onkeyup)
692        if not (onload is None or onload is False):
693            self._process_attr("onload", onload)
694        if not (onloadeddata is None or onloadeddata is False):
695            self._process_attr("onloadeddata", onloadeddata)
696        if not (onloadedmetadata is None or onloadedmetadata is False):
697            self._process_attr("onloadedmetadata", onloadedmetadata)
698        if not (onloadstart is None or onloadstart is False):
699            self._process_attr("onloadstart", onloadstart)
700        if not (onmousedown is None or onmousedown is False):
701            self._process_attr("onmousedown", onmousedown)
702        if not (onmouseenter is None or onmouseenter is False):
703            self._process_attr("onmouseenter", onmouseenter)
704        if not (onmouseleave is None or onmouseleave is False):
705            self._process_attr("onmouseleave", onmouseleave)
706        if not (onmousemove is None or onmousemove is False):
707            self._process_attr("onmousemove", onmousemove)
708        if not (onmouseout is None or onmouseout is False):
709            self._process_attr("onmouseout", onmouseout)
710        if not (onmouseover is None or onmouseover is False):
711            self._process_attr("onmouseover", onmouseover)
712        if not (onmouseup is None or onmouseup is False):
713            self._process_attr("onmouseup", onmouseup)
714        if not (onpaste is None or onpaste is False):
715            self._process_attr("onpaste", onpaste)
716        if not (onpause is None or onpause is False):
717            self._process_attr("onpause", onpause)
718        if not (onplay is None or onplay is False):
719            self._process_attr("onplay", onplay)
720        if not (onplaying is None or onplaying is False):
721            self._process_attr("onplaying", onplaying)
722        if not (onprogress is None or onprogress is False):
723            self._process_attr("onprogress", onprogress)
724        if not (onratechange is None or onratechange is False):
725            self._process_attr("onratechange", onratechange)
726        if not (onreset is None or onreset is False):
727            self._process_attr("onreset", onreset)
728        if not (onresize is None or onresize is False):
729            self._process_attr("onresize", onresize)
730        if not (onscroll is None or onscroll is False):
731            self._process_attr("onscroll", onscroll)
732        if not (onscrollend is None or onscrollend is False):
733            self._process_attr("onscrollend", onscrollend)
734        if not (
735            onsecuritypolicyviolation is None
736            or onsecuritypolicyviolation is False
737        ):
738            self._process_attr(
739                "onsecuritypolicyviolation", onsecuritypolicyviolation
740            )
741        if not (onseeked is None or onseeked is False):
742            self._process_attr("onseeked", onseeked)
743        if not (onseeking is None or onseeking is False):
744            self._process_attr("onseeking", onseeking)
745        if not (onselect is None or onselect is False):
746            self._process_attr("onselect", onselect)
747        if not (onslotchange is None or onslotchange is False):
748            self._process_attr("onslotchange", onslotchange)
749        if not (onstalled is None or onstalled is False):
750            self._process_attr("onstalled", onstalled)
751        if not (onsubmit is None or onsubmit is False):
752            self._process_attr("onsubmit", onsubmit)
753        if not (onsuspend is None or onsuspend is False):
754            self._process_attr("onsuspend", onsuspend)
755        if not (ontimeupdate is None or ontimeupdate is False):
756            self._process_attr("ontimeupdate", ontimeupdate)
757        if not (ontoggle is None or ontoggle is False):
758            self._process_attr("ontoggle", ontoggle)
759        if not (onvolumechange is None or onvolumechange is False):
760            self._process_attr("onvolumechange", onvolumechange)
761        if not (onwaiting is None or onwaiting is False):
762            self._process_attr("onwaiting", onwaiting)
763        if not (onwheel is None or onwheel is False):
764            self._process_attr("onwheel", onwheel)
765        if not (popover is None or popover is False):
766            self._process_attr("popover", popover)
767        if not (slot is None or slot is False):
768            self._process_attr("slot", slot)
769        if not (spellcheck is None or spellcheck is False):
770            self._process_attr("spellcheck", spellcheck)
771        if not (style is None or style is False):
772            self._process_attr("style", style)
773        if not (tabindex is None or tabindex is False):
774            self._process_attr("tabindex", tabindex)
775        if not (title is None or title is False):
776            self._process_attr("title", title)
777        if not (translate is None or translate is False):
778            self._process_attr("translate", translate)
779        if not (writingsuggestions is None or writingsuggestions is False):
780            self._process_attr("writingsuggestions", writingsuggestions)

The 'embed' element.
Description: Plugin
Categories: flow phrasing embedded interactive palpable
Parents: phrasing
Children: empty
Interface: HTMLEmbedElement
Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed

embed( attrs: Union[Iterable[html_compose.base_attribute.BaseAttribute], Mapping[str, Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]]], Iterable[Union[html_compose.base_attribute.BaseAttribute, Iterable[html_compose.base_attribute.BaseAttribute], Mapping[str, Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]]]]], NoneType] = None, id: str | float | int | bool | None = None, class_: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]] = None, height: int | str | float | bool | None = None, src: str | float | int | bool | None = None, type: str | float | int | bool | None = None, width: int | str | float | bool | None = None, accesskey: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]] = None, autocapitalize: Union[Literal['on', 'off', 'none', 'sentences', 'words', 'characters'], str, float, int, bool, NoneType] = None, autocorrect: Union[Literal['on', 'off'], str, float, int, bool, NoneType] = None, autofocus: bool | str | float | int | None = None, contenteditable: Union[Literal['true', 'plaintext-only', 'false'], str, float, int, bool, NoneType] = None, dir: Union[Literal['ltr', 'rtl', 'auto'], str, float, int, bool, NoneType] = None, draggable: Union[Literal['true', 'false'], str, float, int, bool, NoneType] = None, enterkeyhint: Union[Literal['enter', 'done', 'go', 'next', 'previous', 'search', 'send'], str, float, int, bool, NoneType] = None, hidden: Union[Literal['until-found', 'hidden', ''], str, float, int, bool, NoneType] = None, inert: bool | str | float | int | None = None, inputmode: Union[Literal['none', 'text', 'tel', 'email', 'url', 'numeric', 'decimal', 'search'], str, float, int, bool, NoneType] = None, is_: str | float | int | bool | None = None, itemid: str | float | int | bool | None = None, itemprop: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]] = None, itemref: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]] = None, itemscope: bool | str | float | int | None = None, itemtype: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]] = None, lang: str | float | int | bool | None = None, nonce: str | float | int | bool | None = None, onauxclick: str | float | int | bool | None = None, onbeforeinput: str | float | int | bool | None = None, onbeforematch: str | float | int | bool | None = None, onbeforetoggle: str | float | int | bool | None = None, onblur: str | float | int | bool | None = None, oncancel: str | float | int | bool | None = None, oncanplay: str | float | int | bool | None = None, oncanplaythrough: str | float | int | bool | None = None, onchange: str | float | int | bool | None = None, onclick: str | float | int | bool | None = None, onclose: str | float | int | bool | None = None, oncontextlost: str | float | int | bool | None = None, oncontextmenu: str | float | int | bool | None = None, oncontextrestored: str | float | int | bool | None = None, oncopy: str | float | int | bool | None = None, oncuechange: str | float | int | bool | None = None, oncut: str | float | int | bool | None = None, ondblclick: str | float | int | bool | None = None, ondrag: str | float | int | bool | None = None, ondragend: str | float | int | bool | None = None, ondragenter: str | float | int | bool | None = None, ondragleave: str | float | int | bool | None = None, ondragover: str | float | int | bool | None = None, ondragstart: str | float | int | bool | None = None, ondrop: str | float | int | bool | None = None, ondurationchange: str | float | int | bool | None = None, onemptied: str | float | int | bool | None = None, onended: str | float | int | bool | None = None, onerror: str | float | int | bool | None = None, onfocus: str | float | int | bool | None = None, onformdata: str | float | int | bool | None = None, oninput: str | float | int | bool | None = None, oninvalid: str | float | int | bool | None = None, onkeydown: str | float | int | bool | None = None, onkeypress: str | float | int | bool | None = None, onkeyup: str | float | int | bool | None = None, onload: str | float | int | bool | None = None, onloadeddata: str | float | int | bool | None = None, onloadedmetadata: str | float | int | bool | None = None, onloadstart: str | float | int | bool | None = None, onmousedown: str | float | int | bool | None = None, onmouseenter: str | float | int | bool | None = None, onmouseleave: str | float | int | bool | None = None, onmousemove: str | float | int | bool | None = None, onmouseout: str | float | int | bool | None = None, onmouseover: str | float | int | bool | None = None, onmouseup: str | float | int | bool | None = None, onpaste: str | float | int | bool | None = None, onpause: str | float | int | bool | None = None, onplay: str | float | int | bool | None = None, onplaying: str | float | int | bool | None = None, onprogress: str | float | int | bool | None = None, onratechange: str | float | int | bool | None = None, onreset: str | float | int | bool | None = None, onresize: str | float | int | bool | None = None, onscroll: str | float | int | bool | None = None, onscrollend: str | float | int | bool | None = None, onsecuritypolicyviolation: str | float | int | bool | None = None, onseeked: str | float | int | bool | None = None, onseeking: str | float | int | bool | None = None, onselect: str | float | int | bool | None = None, onslotchange: str | float | int | bool | None = None, onstalled: str | float | int | bool | None = None, onsubmit: str | float | int | bool | None = None, onsuspend: str | float | int | bool | None = None, ontimeupdate: str | float | int | bool | None = None, ontoggle: str | float | int | bool | None = None, onvolumechange: str | float | int | bool | None = None, onwaiting: str | float | int | bool | None = None, onwheel: str | float | int | bool | None = None, popover: Union[Literal['auto', 'manual'], str, float, int, bool, NoneType] = None, slot: str | float | int | bool | None = None, spellcheck: Union[Literal['true', 'false', ''], str, float, int, bool, NoneType] = None, style: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool], Mapping[str | float | int | bool, str | float | int | bool]] = None, tabindex: int | str | float | bool | None = None, title: str | float | int | bool | None = None, translate: Union[Literal['yes', 'no'], str, float, int, bool, NoneType] = None, writingsuggestions: Union[Literal['true', 'false', ''], str, float, int, bool, NoneType] = None, children: list | None = None)
 37    def __init__(
 38        self,
 39        attrs: Iterable[BaseAttribute]
 40        | Mapping[str, Resolvable]
 41        | Iterable[
 42            BaseAttribute | Iterable[BaseAttribute] | Mapping[str, Resolvable]
 43        ]
 44        | None = None,
 45        id: StrLike | None = None,
 46        class_: Resolvable | None = None,
 47        height: int | StrLike | None = None,
 48        src: StrLike | None = None,
 49        type: StrLike | None = None,
 50        width: int | StrLike | None = None,
 51        accesskey: Resolvable | StrLike | None = None,
 52        autocapitalize: Literal[
 53            "on", "off", "none", "sentences", "words", "characters"
 54        ]
 55        | StrLike
 56        | None = None,
 57        autocorrect: Literal["on", "off"] | StrLike | None = None,
 58        autofocus: bool | StrLike | None = None,
 59        contenteditable: Literal["true", "plaintext-only", "false"]
 60        | StrLike
 61        | None = None,
 62        dir: Literal["ltr", "rtl", "auto"] | StrLike | None = None,
 63        draggable: Literal["true", "false"] | StrLike | None = None,
 64        enterkeyhint: Literal[
 65            "enter", "done", "go", "next", "previous", "search", "send"
 66        ]
 67        | StrLike
 68        | None = None,
 69        hidden: Literal["until-found", "hidden", ""] | StrLike | None = None,
 70        inert: bool | StrLike | None = None,
 71        inputmode: Literal[
 72            "none",
 73            "text",
 74            "tel",
 75            "email",
 76            "url",
 77            "numeric",
 78            "decimal",
 79            "search",
 80        ]
 81        | StrLike
 82        | None = None,
 83        is_: StrLike | None = None,
 84        itemid: StrLike | None = None,
 85        itemprop: Resolvable | StrLike | None = None,
 86        itemref: Resolvable | StrLike | None = None,
 87        itemscope: bool | StrLike | None = None,
 88        itemtype: Resolvable | StrLike | None = None,
 89        lang: StrLike | None = None,
 90        nonce: StrLike | None = None,
 91        onauxclick: StrLike | None = None,
 92        onbeforeinput: StrLike | None = None,
 93        onbeforematch: StrLike | None = None,
 94        onbeforetoggle: StrLike | None = None,
 95        onblur: StrLike | None = None,
 96        oncancel: StrLike | None = None,
 97        oncanplay: StrLike | None = None,
 98        oncanplaythrough: StrLike | None = None,
 99        onchange: StrLike | None = None,
100        onclick: StrLike | None = None,
101        onclose: StrLike | None = None,
102        oncontextlost: StrLike | None = None,
103        oncontextmenu: StrLike | None = None,
104        oncontextrestored: StrLike | None = None,
105        oncopy: StrLike | None = None,
106        oncuechange: StrLike | None = None,
107        oncut: StrLike | None = None,
108        ondblclick: StrLike | None = None,
109        ondrag: StrLike | None = None,
110        ondragend: StrLike | None = None,
111        ondragenter: StrLike | None = None,
112        ondragleave: StrLike | None = None,
113        ondragover: StrLike | None = None,
114        ondragstart: StrLike | None = None,
115        ondrop: StrLike | None = None,
116        ondurationchange: StrLike | None = None,
117        onemptied: StrLike | None = None,
118        onended: StrLike | None = None,
119        onerror: StrLike | None = None,
120        onfocus: StrLike | None = None,
121        onformdata: StrLike | None = None,
122        oninput: StrLike | None = None,
123        oninvalid: StrLike | None = None,
124        onkeydown: StrLike | None = None,
125        onkeypress: StrLike | None = None,
126        onkeyup: StrLike | None = None,
127        onload: StrLike | None = None,
128        onloadeddata: StrLike | None = None,
129        onloadedmetadata: StrLike | None = None,
130        onloadstart: StrLike | None = None,
131        onmousedown: StrLike | None = None,
132        onmouseenter: StrLike | None = None,
133        onmouseleave: StrLike | None = None,
134        onmousemove: StrLike | None = None,
135        onmouseout: StrLike | None = None,
136        onmouseover: StrLike | None = None,
137        onmouseup: StrLike | None = None,
138        onpaste: StrLike | None = None,
139        onpause: StrLike | None = None,
140        onplay: StrLike | None = None,
141        onplaying: StrLike | None = None,
142        onprogress: StrLike | None = None,
143        onratechange: StrLike | None = None,
144        onreset: StrLike | None = None,
145        onresize: StrLike | None = None,
146        onscroll: StrLike | None = None,
147        onscrollend: StrLike | None = None,
148        onsecuritypolicyviolation: StrLike | None = None,
149        onseeked: StrLike | None = None,
150        onseeking: StrLike | None = None,
151        onselect: StrLike | None = None,
152        onslotchange: StrLike | None = None,
153        onstalled: StrLike | None = None,
154        onsubmit: StrLike | None = None,
155        onsuspend: StrLike | None = None,
156        ontimeupdate: StrLike | None = None,
157        ontoggle: StrLike | None = None,
158        onvolumechange: StrLike | None = None,
159        onwaiting: StrLike | None = None,
160        onwheel: StrLike | None = None,
161        popover: Literal["auto", "manual"] | StrLike | None = None,
162        slot: StrLike | None = None,
163        spellcheck: Literal["true", "false", ""] | StrLike | None = None,
164        style: Resolvable | Mapping[StrLike, StrLike] | None = None,
165        tabindex: int | StrLike | None = None,
166        title: StrLike | None = None,
167        translate: Literal["yes", "no"] | StrLike | None = None,
168        writingsuggestions: Literal["true", "false", ""]
169        | StrLike
170        | None = None,
171        children: list | None = None,
172    ) -> None:
173        """
174        Initialize 'embed' (Plugin) element.  
175        Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed
176
177        Args:
178            attrs: 
179                A list or dictionary of attributes for the element
180            
181            id:
182                The element's ID
183            
184            class_:
185                Classes to which the element belongs
186            
187            height:
188                Vertical dimension
189            
190            src:
191                Address of the resource.  
192                Value hint: Valid non-empty URL potentially surrounded by spaces
193            
194            type:
195                Type of embedded resource.  
196                Value hint: Valid MIME type string
197            
198            width:
199                Horizontal dimension
200            
201            accesskey:
202                Keyboard shortcut to activate or focus element
203            
204            autocapitalize:
205                Recommended autocapitalization behavior (for supported input methods)
206            
207            autocorrect:
208                Recommended autocorrection behavior (for supported input methods)
209            
210            autofocus:
211                Automatically focus the element when the page is loaded
212            
213            contenteditable:
214                Whether the element is editable
215            
216            dir:
217                The text directionality of the element
218            
219            draggable:
220                Whether the element is draggable
221            
222            enterkeyhint:
223                Hint for selecting an enter key action
224            
225            hidden:
226                Whether the element is relevant
227            
228            inert:
229                Whether the element is inert.
230            
231            inputmode:
232                Hint for selecting an input modality
233            
234            is_:
235                Creates a customized built-in element.  
236                Value hint: Valid custom element name of a defined customized built-in element
237            
238            itemid:
239                Global identifier for a microdata item.  
240                Value hint: Valid URL potentially surrounded by spaces
241            
242            itemprop:
243                Property names of a microdata item
244            
245            itemref:
246                Referenced elements
247            
248            itemscope:
249                Introduces a microdata item
250            
251            itemtype:
252                Item types of a microdata item
253            
254            lang:
255                Language of the element.  
256                Value hint: Valid BCP 47 language tag or the empty string
257            
258            nonce:
259                Cryptographic nonce used in Content Security Policy checks [CSP]
260            
261            onauxclick:
262                auxclick event handler.  
263                Value hint: Event handler content attribute
264            
265            onbeforeinput:
266                beforeinput event handler.  
267                Value hint: Event handler content attribute
268            
269            onbeforematch:
270                beforematch event handler.  
271                Value hint: Event handler content attribute
272            
273            onbeforetoggle:
274                beforetoggle event handler.  
275                Value hint: Event handler content attribute
276            
277            onblur:
278                blur event handler.  
279                Value hint: Event handler content attribute
280            
281            oncancel:
282                cancel event handler.  
283                Value hint: Event handler content attribute
284            
285            oncanplay:
286                canplay event handler.  
287                Value hint: Event handler content attribute
288            
289            oncanplaythrough:
290                canplaythrough event handler.  
291                Value hint: Event handler content attribute
292            
293            onchange:
294                change event handler.  
295                Value hint: Event handler content attribute
296            
297            onclick:
298                click event handler.  
299                Value hint: Event handler content attribute
300            
301            onclose:
302                close event handler.  
303                Value hint: Event handler content attribute
304            
305            oncontextlost:
306                contextlost event handler.  
307                Value hint: Event handler content attribute
308            
309            oncontextmenu:
310                contextmenu event handler.  
311                Value hint: Event handler content attribute
312            
313            oncontextrestored:
314                contextrestored event handler.  
315                Value hint: Event handler content attribute
316            
317            oncopy:
318                copy event handler.  
319                Value hint: Event handler content attribute
320            
321            oncuechange:
322                cuechange event handler.  
323                Value hint: Event handler content attribute
324            
325            oncut:
326                cut event handler.  
327                Value hint: Event handler content attribute
328            
329            ondblclick:
330                dblclick event handler.  
331                Value hint: Event handler content attribute
332            
333            ondrag:
334                drag event handler.  
335                Value hint: Event handler content attribute
336            
337            ondragend:
338                dragend event handler.  
339                Value hint: Event handler content attribute
340            
341            ondragenter:
342                dragenter event handler.  
343                Value hint: Event handler content attribute
344            
345            ondragleave:
346                dragleave event handler.  
347                Value hint: Event handler content attribute
348            
349            ondragover:
350                dragover event handler.  
351                Value hint: Event handler content attribute
352            
353            ondragstart:
354                dragstart event handler.  
355                Value hint: Event handler content attribute
356            
357            ondrop:
358                drop event handler.  
359                Value hint: Event handler content attribute
360            
361            ondurationchange:
362                durationchange event handler.  
363                Value hint: Event handler content attribute
364            
365            onemptied:
366                emptied event handler.  
367                Value hint: Event handler content attribute
368            
369            onended:
370                ended event handler.  
371                Value hint: Event handler content attribute
372            
373            onerror:
374                error event handler.  
375                Value hint: Event handler content attribute
376            
377            onfocus:
378                focus event handler.  
379                Value hint: Event handler content attribute
380            
381            onformdata:
382                formdata event handler.  
383                Value hint: Event handler content attribute
384            
385            oninput:
386                input event handler.  
387                Value hint: Event handler content attribute
388            
389            oninvalid:
390                invalid event handler.  
391                Value hint: Event handler content attribute
392            
393            onkeydown:
394                keydown event handler.  
395                Value hint: Event handler content attribute
396            
397            onkeypress:
398                keypress event handler.  
399                Value hint: Event handler content attribute
400            
401            onkeyup:
402                keyup event handler.  
403                Value hint: Event handler content attribute
404            
405            onload:
406                load event handler.  
407                Value hint: Event handler content attribute
408            
409            onloadeddata:
410                loadeddata event handler.  
411                Value hint: Event handler content attribute
412            
413            onloadedmetadata:
414                loadedmetadata event handler.  
415                Value hint: Event handler content attribute
416            
417            onloadstart:
418                loadstart event handler.  
419                Value hint: Event handler content attribute
420            
421            onmousedown:
422                mousedown event handler.  
423                Value hint: Event handler content attribute
424            
425            onmouseenter:
426                mouseenter event handler.  
427                Value hint: Event handler content attribute
428            
429            onmouseleave:
430                mouseleave event handler.  
431                Value hint: Event handler content attribute
432            
433            onmousemove:
434                mousemove event handler.  
435                Value hint: Event handler content attribute
436            
437            onmouseout:
438                mouseout event handler.  
439                Value hint: Event handler content attribute
440            
441            onmouseover:
442                mouseover event handler.  
443                Value hint: Event handler content attribute
444            
445            onmouseup:
446                mouseup event handler.  
447                Value hint: Event handler content attribute
448            
449            onpaste:
450                paste event handler.  
451                Value hint: Event handler content attribute
452            
453            onpause:
454                pause event handler.  
455                Value hint: Event handler content attribute
456            
457            onplay:
458                play event handler.  
459                Value hint: Event handler content attribute
460            
461            onplaying:
462                playing event handler.  
463                Value hint: Event handler content attribute
464            
465            onprogress:
466                progress event handler.  
467                Value hint: Event handler content attribute
468            
469            onratechange:
470                ratechange event handler.  
471                Value hint: Event handler content attribute
472            
473            onreset:
474                reset event handler.  
475                Value hint: Event handler content attribute
476            
477            onresize:
478                resize event handler.  
479                Value hint: Event handler content attribute
480            
481            onscroll:
482                scroll event handler.  
483                Value hint: Event handler content attribute
484            
485            onscrollend:
486                scrollend event handler.  
487                Value hint: Event handler content attribute
488            
489            onsecuritypolicyviolation:
490                securitypolicyviolation event handler.  
491                Value hint: Event handler content attribute
492            
493            onseeked:
494                seeked event handler.  
495                Value hint: Event handler content attribute
496            
497            onseeking:
498                seeking event handler.  
499                Value hint: Event handler content attribute
500            
501            onselect:
502                select event handler.  
503                Value hint: Event handler content attribute
504            
505            onslotchange:
506                slotchange event handler.  
507                Value hint: Event handler content attribute
508            
509            onstalled:
510                stalled event handler.  
511                Value hint: Event handler content attribute
512            
513            onsubmit:
514                submit event handler.  
515                Value hint: Event handler content attribute
516            
517            onsuspend:
518                suspend event handler.  
519                Value hint: Event handler content attribute
520            
521            ontimeupdate:
522                timeupdate event handler.  
523                Value hint: Event handler content attribute
524            
525            ontoggle:
526                toggle event handler.  
527                Value hint: Event handler content attribute
528            
529            onvolumechange:
530                volumechange event handler.  
531                Value hint: Event handler content attribute
532            
533            onwaiting:
534                waiting event handler.  
535                Value hint: Event handler content attribute
536            
537            onwheel:
538                wheel event handler.  
539                Value hint: Event handler content attribute
540            
541            popover:
542                Makes the element a popover element
543            
544            slot:
545                The element's desired slot
546            
547            spellcheck:
548                Whether the element is to have its spelling and grammar checked
549            
550            style:
551                Presentational and formatting instructions.  
552                Value hint: CSS declarations*
553            
554            tabindex:
555                Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation
556            
557            title:
558                Advisory information for the element
559            
560            translate:
561                Whether the element is to be translated when the page is localized
562            
563            writingsuggestions:
564                Whether the element can offer writing suggestions or not.
565            
566        """  # fmt: skip
567        super().__init__(
568            "embed", void_element=True, attrs=attrs, children=children
569        )
570        if not (id is None or id is False):
571            self._process_attr("id", id)
572        if not (class_ is None or class_ is False):
573            self._process_attr("class", class_)
574        if not (height is None or height is False):
575            self._process_attr("height", height)
576        if not (src is None or src is False):
577            self._process_attr("src", src)
578        if not (type is None or type is False):
579            self._process_attr("type", type)
580        if not (width is None or width is False):
581            self._process_attr("width", width)
582        if not (accesskey is None or accesskey is False):
583            self._process_attr("accesskey", accesskey)
584        if not (autocapitalize is None or autocapitalize is False):
585            self._process_attr("autocapitalize", autocapitalize)
586        if not (autocorrect is None or autocorrect is False):
587            self._process_attr("autocorrect", autocorrect)
588        if not (autofocus is None or autofocus is False):
589            self._process_attr("autofocus", autofocus)
590        if not (contenteditable is None or contenteditable is False):
591            self._process_attr("contenteditable", contenteditable)
592        if not (dir is None or dir is False):
593            self._process_attr("dir", dir)
594        if not (draggable is None or draggable is False):
595            self._process_attr("draggable", draggable)
596        if not (enterkeyhint is None or enterkeyhint is False):
597            self._process_attr("enterkeyhint", enterkeyhint)
598        if not (hidden is None or hidden is False):
599            self._process_attr("hidden", hidden)
600        if not (inert is None or inert is False):
601            self._process_attr("inert", inert)
602        if not (inputmode is None or inputmode is False):
603            self._process_attr("inputmode", inputmode)
604        if not (is_ is None or is_ is False):
605            self._process_attr("is", is_)
606        if not (itemid is None or itemid is False):
607            self._process_attr("itemid", itemid)
608        if not (itemprop is None or itemprop is False):
609            self._process_attr("itemprop", itemprop)
610        if not (itemref is None or itemref is False):
611            self._process_attr("itemref", itemref)
612        if not (itemscope is None or itemscope is False):
613            self._process_attr("itemscope", itemscope)
614        if not (itemtype is None or itemtype is False):
615            self._process_attr("itemtype", itemtype)
616        if not (lang is None or lang is False):
617            self._process_attr("lang", lang)
618        if not (nonce is None or nonce is False):
619            self._process_attr("nonce", nonce)
620        if not (onauxclick is None or onauxclick is False):
621            self._process_attr("onauxclick", onauxclick)
622        if not (onbeforeinput is None or onbeforeinput is False):
623            self._process_attr("onbeforeinput", onbeforeinput)
624        if not (onbeforematch is None or onbeforematch is False):
625            self._process_attr("onbeforematch", onbeforematch)
626        if not (onbeforetoggle is None or onbeforetoggle is False):
627            self._process_attr("onbeforetoggle", onbeforetoggle)
628        if not (onblur is None or onblur is False):
629            self._process_attr("onblur", onblur)
630        if not (oncancel is None or oncancel is False):
631            self._process_attr("oncancel", oncancel)
632        if not (oncanplay is None or oncanplay is False):
633            self._process_attr("oncanplay", oncanplay)
634        if not (oncanplaythrough is None or oncanplaythrough is False):
635            self._process_attr("oncanplaythrough", oncanplaythrough)
636        if not (onchange is None or onchange is False):
637            self._process_attr("onchange", onchange)
638        if not (onclick is None or onclick is False):
639            self._process_attr("onclick", onclick)
640        if not (onclose is None or onclose is False):
641            self._process_attr("onclose", onclose)
642        if not (oncontextlost is None or oncontextlost is False):
643            self._process_attr("oncontextlost", oncontextlost)
644        if not (oncontextmenu is None or oncontextmenu is False):
645            self._process_attr("oncontextmenu", oncontextmenu)
646        if not (oncontextrestored is None or oncontextrestored is False):
647            self._process_attr("oncontextrestored", oncontextrestored)
648        if not (oncopy is None or oncopy is False):
649            self._process_attr("oncopy", oncopy)
650        if not (oncuechange is None or oncuechange is False):
651            self._process_attr("oncuechange", oncuechange)
652        if not (oncut is None or oncut is False):
653            self._process_attr("oncut", oncut)
654        if not (ondblclick is None or ondblclick is False):
655            self._process_attr("ondblclick", ondblclick)
656        if not (ondrag is None or ondrag is False):
657            self._process_attr("ondrag", ondrag)
658        if not (ondragend is None or ondragend is False):
659            self._process_attr("ondragend", ondragend)
660        if not (ondragenter is None or ondragenter is False):
661            self._process_attr("ondragenter", ondragenter)
662        if not (ondragleave is None or ondragleave is False):
663            self._process_attr("ondragleave", ondragleave)
664        if not (ondragover is None or ondragover is False):
665            self._process_attr("ondragover", ondragover)
666        if not (ondragstart is None or ondragstart is False):
667            self._process_attr("ondragstart", ondragstart)
668        if not (ondrop is None or ondrop is False):
669            self._process_attr("ondrop", ondrop)
670        if not (ondurationchange is None or ondurationchange is False):
671            self._process_attr("ondurationchange", ondurationchange)
672        if not (onemptied is None or onemptied is False):
673            self._process_attr("onemptied", onemptied)
674        if not (onended is None or onended is False):
675            self._process_attr("onended", onended)
676        if not (onerror is None or onerror is False):
677            self._process_attr("onerror", onerror)
678        if not (onfocus is None or onfocus is False):
679            self._process_attr("onfocus", onfocus)
680        if not (onformdata is None or onformdata is False):
681            self._process_attr("onformdata", onformdata)
682        if not (oninput is None or oninput is False):
683            self._process_attr("oninput", oninput)
684        if not (oninvalid is None or oninvalid is False):
685            self._process_attr("oninvalid", oninvalid)
686        if not (onkeydown is None or onkeydown is False):
687            self._process_attr("onkeydown", onkeydown)
688        if not (onkeypress is None or onkeypress is False):
689            self._process_attr("onkeypress", onkeypress)
690        if not (onkeyup is None or onkeyup is False):
691            self._process_attr("onkeyup", onkeyup)
692        if not (onload is None or onload is False):
693            self._process_attr("onload", onload)
694        if not (onloadeddata is None or onloadeddata is False):
695            self._process_attr("onloadeddata", onloadeddata)
696        if not (onloadedmetadata is None or onloadedmetadata is False):
697            self._process_attr("onloadedmetadata", onloadedmetadata)
698        if not (onloadstart is None or onloadstart is False):
699            self._process_attr("onloadstart", onloadstart)
700        if not (onmousedown is None or onmousedown is False):
701            self._process_attr("onmousedown", onmousedown)
702        if not (onmouseenter is None or onmouseenter is False):
703            self._process_attr("onmouseenter", onmouseenter)
704        if not (onmouseleave is None or onmouseleave is False):
705            self._process_attr("onmouseleave", onmouseleave)
706        if not (onmousemove is None or onmousemove is False):
707            self._process_attr("onmousemove", onmousemove)
708        if not (onmouseout is None or onmouseout is False):
709            self._process_attr("onmouseout", onmouseout)
710        if not (onmouseover is None or onmouseover is False):
711            self._process_attr("onmouseover", onmouseover)
712        if not (onmouseup is None or onmouseup is False):
713            self._process_attr("onmouseup", onmouseup)
714        if not (onpaste is None or onpaste is False):
715            self._process_attr("onpaste", onpaste)
716        if not (onpause is None or onpause is False):
717            self._process_attr("onpause", onpause)
718        if not (onplay is None or onplay is False):
719            self._process_attr("onplay", onplay)
720        if not (onplaying is None or onplaying is False):
721            self._process_attr("onplaying", onplaying)
722        if not (onprogress is None or onprogress is False):
723            self._process_attr("onprogress", onprogress)
724        if not (onratechange is None or onratechange is False):
725            self._process_attr("onratechange", onratechange)
726        if not (onreset is None or onreset is False):
727            self._process_attr("onreset", onreset)
728        if not (onresize is None or onresize is False):
729            self._process_attr("onresize", onresize)
730        if not (onscroll is None or onscroll is False):
731            self._process_attr("onscroll", onscroll)
732        if not (onscrollend is None or onscrollend is False):
733            self._process_attr("onscrollend", onscrollend)
734        if not (
735            onsecuritypolicyviolation is None
736            or onsecuritypolicyviolation is False
737        ):
738            self._process_attr(
739                "onsecuritypolicyviolation", onsecuritypolicyviolation
740            )
741        if not (onseeked is None or onseeked is False):
742            self._process_attr("onseeked", onseeked)
743        if not (onseeking is None or onseeking is False):
744            self._process_attr("onseeking", onseeking)
745        if not (onselect is None or onselect is False):
746            self._process_attr("onselect", onselect)
747        if not (onslotchange is None or onslotchange is False):
748            self._process_attr("onslotchange", onslotchange)
749        if not (onstalled is None or onstalled is False):
750            self._process_attr("onstalled", onstalled)
751        if not (onsubmit is None or onsubmit is False):
752            self._process_attr("onsubmit", onsubmit)
753        if not (onsuspend is None or onsuspend is False):
754            self._process_attr("onsuspend", onsuspend)
755        if not (ontimeupdate is None or ontimeupdate is False):
756            self._process_attr("ontimeupdate", ontimeupdate)
757        if not (ontoggle is None or ontoggle is False):
758            self._process_attr("ontoggle", ontoggle)
759        if not (onvolumechange is None or onvolumechange is False):
760            self._process_attr("onvolumechange", onvolumechange)
761        if not (onwaiting is None or onwaiting is False):
762            self._process_attr("onwaiting", onwaiting)
763        if not (onwheel is None or onwheel is False):
764            self._process_attr("onwheel", onwheel)
765        if not (popover is None or popover is False):
766            self._process_attr("popover", popover)
767        if not (slot is None or slot is False):
768            self._process_attr("slot", slot)
769        if not (spellcheck is None or spellcheck is False):
770            self._process_attr("spellcheck", spellcheck)
771        if not (style is None or style is False):
772            self._process_attr("style", style)
773        if not (tabindex is None or tabindex is False):
774            self._process_attr("tabindex", tabindex)
775        if not (title is None or title is False):
776            self._process_attr("title", title)
777        if not (translate is None or translate is False):
778            self._process_attr("translate", translate)
779        if not (writingsuggestions is None or writingsuggestions is False):
780            self._process_attr("writingsuggestions", writingsuggestions)

Initialize 'embed' (Plugin) element.
Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed

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.
tag = 'embed'
categories = ['flow', 'phrasing', 'embedded', 'interactive', 'palpable']
26    class hint(GlobalAttrs, EmbedAttrs):
27        """
28        Type hints for "embed" attrs  
29        This class holds functions which return BaseAttributes  
30        Which you can add to your element attrs  
31        """  # fmt: skip
32
33        pass

Type hints for "embed" attrs
This class holds functions which return BaseAttributes
Which you can add to your element attrs