html_compose.elements.link_element

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