html_compose.elements.map_element

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

The 'map' element.
Description: Image map
Categories: flow phrasing* palpable
Parents: phrasing
Children: transparent area*
Interface: HTMLMapElement
Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map

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

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

Args: attrs: A list or dictionary of attributes for the element

id:
    The element's ID

class_:
    Classes to which the element belongs

name:
    Name of image map to reference from the usemap attribute

accesskey:
    Keyboard shortcut to activate or focus element

autocapitalize:
    Recommended autocapitalization behavior (for supported input methods)

autocorrect:
    Recommended autocorrection behavior (for supported input methods)

autofocus:
    Automatically focus the element when the page is loaded

contenteditable:
    Whether the element is editable

dir:
    The text directionality of the element

draggable:
    Whether the element is draggable

enterkeyhint:
    Hint for selecting an enter key action

hidden:
    Whether the element is relevant

inert:
    Whether the element is inert.

inputmode:
    Hint for selecting an input modality

is_:
    Creates a customized built-in element.  
    Value hint: Valid custom element name of a defined customized built-in element

itemid:
    Global identifier for a microdata item.  
    Value hint: Valid URL potentially surrounded by spaces

itemprop:
    Property names of a microdata item

itemref:
    Referenced elements

itemscope:
    Introduces a microdata item

itemtype:
    Item types of a microdata item

lang:
    Language of the element.  
    Value hint: Valid BCP 47 language tag or the empty string

nonce:
    Cryptographic nonce used in Content Security Policy checks [CSP]

onauxclick:
    auxclick event handler.  
    Value hint: Event handler content attribute

onbeforeinput:
    beforeinput event handler.  
    Value hint: Event handler content attribute

onbeforematch:
    beforematch event handler.  
    Value hint: Event handler content attribute

onbeforetoggle:
    beforetoggle event handler.  
    Value hint: Event handler content attribute

onblur:
    blur event handler.  
    Value hint: Event handler content attribute

oncancel:
    cancel event handler.  
    Value hint: Event handler content attribute

oncanplay:
    canplay event handler.  
    Value hint: Event handler content attribute

oncanplaythrough:
    canplaythrough event handler.  
    Value hint: Event handler content attribute

onchange:
    change event handler.  
    Value hint: Event handler content attribute

onclick:
    click event handler.  
    Value hint: Event handler content attribute

onclose:
    close event handler.  
    Value hint: Event handler content attribute

oncontextlost:
    contextlost event handler.  
    Value hint: Event handler content attribute

oncontextmenu:
    contextmenu event handler.  
    Value hint: Event handler content attribute

oncontextrestored:
    contextrestored event handler.  
    Value hint: Event handler content attribute

oncopy:
    copy event handler.  
    Value hint: Event handler content attribute

oncuechange:
    cuechange event handler.  
    Value hint: Event handler content attribute

oncut:
    cut event handler.  
    Value hint: Event handler content attribute

ondblclick:
    dblclick event handler.  
    Value hint: Event handler content attribute

ondrag:
    drag event handler.  
    Value hint: Event handler content attribute

ondragend:
    dragend event handler.  
    Value hint: Event handler content attribute

ondragenter:
    dragenter event handler.  
    Value hint: Event handler content attribute

ondragleave:
    dragleave event handler.  
    Value hint: Event handler content attribute

ondragover:
    dragover event handler.  
    Value hint: Event handler content attribute

ondragstart:
    dragstart event handler.  
    Value hint: Event handler content attribute

ondrop:
    drop event handler.  
    Value hint: Event handler content attribute

ondurationchange:
    durationchange event handler.  
    Value hint: Event handler content attribute

onemptied:
    emptied event handler.  
    Value hint: Event handler content attribute

onended:
    ended event handler.  
    Value hint: Event handler content attribute

onerror:
    error event handler.  
    Value hint: Event handler content attribute

onfocus:
    focus event handler.  
    Value hint: Event handler content attribute

onformdata:
    formdata event handler.  
    Value hint: Event handler content attribute

oninput:
    input event handler.  
    Value hint: Event handler content attribute

oninvalid:
    invalid event handler.  
    Value hint: Event handler content attribute

onkeydown:
    keydown event handler.  
    Value hint: Event handler content attribute

onkeypress:
    keypress event handler.  
    Value hint: Event handler content attribute

onkeyup:
    keyup event handler.  
    Value hint: Event handler content attribute

onload:
    load event handler.  
    Value hint: Event handler content attribute

onloadeddata:
    loadeddata event handler.  
    Value hint: Event handler content attribute

onloadedmetadata:
    loadedmetadata event handler.  
    Value hint: Event handler content attribute

onloadstart:
    loadstart event handler.  
    Value hint: Event handler content attribute

onmousedown:
    mousedown event handler.  
    Value hint: Event handler content attribute

onmouseenter:
    mouseenter event handler.  
    Value hint: Event handler content attribute

onmouseleave:
    mouseleave event handler.  
    Value hint: Event handler content attribute

onmousemove:
    mousemove event handler.  
    Value hint: Event handler content attribute

onmouseout:
    mouseout event handler.  
    Value hint: Event handler content attribute

onmouseover:
    mouseover event handler.  
    Value hint: Event handler content attribute

onmouseup:
    mouseup event handler.  
    Value hint: Event handler content attribute

onpaste:
    paste event handler.  
    Value hint: Event handler content attribute

onpause:
    pause event handler.  
    Value hint: Event handler content attribute

onplay:
    play event handler.  
    Value hint: Event handler content attribute

onplaying:
    playing event handler.  
    Value hint: Event handler content attribute

onprogress:
    progress event handler.  
    Value hint: Event handler content attribute

onratechange:
    ratechange event handler.  
    Value hint: Event handler content attribute

onreset:
    reset event handler.  
    Value hint: Event handler content attribute

onresize:
    resize event handler.  
    Value hint: Event handler content attribute

onscroll:
    scroll event handler.  
    Value hint: Event handler content attribute

onscrollend:
    scrollend event handler.  
    Value hint: Event handler content attribute

onsecuritypolicyviolation:
    securitypolicyviolation event handler.  
    Value hint: Event handler content attribute

onseeked:
    seeked event handler.  
    Value hint: Event handler content attribute

onseeking:
    seeking event handler.  
    Value hint: Event handler content attribute

onselect:
    select event handler.  
    Value hint: Event handler content attribute

onslotchange:
    slotchange event handler.  
    Value hint: Event handler content attribute

onstalled:
    stalled event handler.  
    Value hint: Event handler content attribute

onsubmit:
    submit event handler.  
    Value hint: Event handler content attribute

onsuspend:
    suspend event handler.  
    Value hint: Event handler content attribute

ontimeupdate:
    timeupdate event handler.  
    Value hint: Event handler content attribute

ontoggle:
    toggle event handler.  
    Value hint: Event handler content attribute

onvolumechange:
    volumechange event handler.  
    Value hint: Event handler content attribute

onwaiting:
    waiting event handler.  
    Value hint: Event handler content attribute

onwheel:
    wheel event handler.  
    Value hint: Event handler content attribute

popover:
    Makes the element a popover element

slot:
    The element's desired slot

spellcheck:
    Whether the element is to have its spelling and grammar checked

style:
    Presentational and formatting instructions.  
    Value hint: CSS declarations*

tabindex:
    Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation

title:
    Advisory information for the element

translate:
    Whether the element is to be translated when the page is localized

writingsuggestions:
    Whether the element can offer writing suggestions or not.
tag = 'map'
categories = ['flow', 'phrasing*', 'palpable']
26    class hint(GlobalAttrs, MapAttrs):
27        """
28        Type hints for "map" 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 "map" attrs
This class holds functions which return BaseAttributes
Which you can add to your element attrs