html_compose.attributes.global_attrs

   1from . import BaseAttribute
   2from typing import Literal, Iterable, Mapping
   3from ..base_types import Resolvable, StrLike
   4
   5
   6class GlobalAttrs:
   7    """
   8    This module contains classes for all global attributes.
   9    Elements can inherit it so the element can be a reference to our attributes
  10    """
  11
  12    @staticmethod
  13    def accesskey(value: Resolvable) -> BaseAttribute:
  14        """
  15        "global" attribute: accesskey
  16        Keyboard shortcut to activate or focus element
  17
  18        Args:
  19            value:
  20                Ordered set of unique space-separated tokens, none of which are identical to another, each consisting of one code point in length
  21
  22        Returns:
  23            An accesskey attribute to be added to your element
  24
  25        """
  26
  27        return BaseAttribute("accesskey", value)
  28
  29    @staticmethod
  30    def autocapitalize(
  31        value: Literal["on", "off", "none", "sentences", "words", "characters"],
  32    ) -> BaseAttribute:
  33        """
  34        "global" attribute: autocapitalize
  35        Recommended autocapitalization behavior (for supported input methods)
  36
  37        Args:
  38            value:
  39                ['on', 'off', 'none', 'sentences', 'words', 'characters']
  40
  41        Returns:
  42            An autocapitalize attribute to be added to your element
  43
  44        """
  45
  46        return BaseAttribute("autocapitalize", value)
  47
  48    @staticmethod
  49    def autocorrect(value: Literal["on", "off"]) -> BaseAttribute:
  50        """
  51        "global" attribute: autocorrect
  52        Recommended autocorrection behavior (for supported input methods)
  53
  54        Args:
  55            value:
  56                ['on', 'off']
  57
  58        Returns:
  59            An autocorrect attribute to be added to your element
  60
  61        """
  62
  63        return BaseAttribute("autocorrect", value)
  64
  65    @staticmethod
  66    def autofocus(value: bool) -> BaseAttribute:
  67        """
  68        "global" attribute: autofocus
  69        Automatically focus the element when the page is loaded
  70
  71        Args:
  72            value:
  73                Boolean attribute
  74
  75        Returns:
  76            An autofocus attribute to be added to your element
  77
  78        """
  79
  80        return BaseAttribute("autofocus", value)
  81
  82    @staticmethod
  83    def class_(value: StrLike | Iterable[StrLike]) -> BaseAttribute:
  84        """
  85        "global" attribute: class
  86        Classes to which the element belongs
  87
  88        Args:
  89            value:
  90                Set of space-separated tokens
  91
  92        Returns:
  93            An class attribute to be added to your element
  94
  95        """
  96
  97        return BaseAttribute("class", value)
  98
  99    @staticmethod
 100    def contenteditable(
 101        value: Literal["true", "plaintext-only", "false"],
 102    ) -> BaseAttribute:
 103        """
 104        "global" attribute: contenteditable
 105        Whether the element is editable
 106
 107        Args:
 108            value:
 109                ['true', 'plaintext-only', 'false']
 110
 111        Returns:
 112            An contenteditable attribute to be added to your element
 113
 114        """
 115
 116        return BaseAttribute("contenteditable", value)
 117
 118    @staticmethod
 119    def dir(value: Literal["ltr", "rtl", "auto"]) -> BaseAttribute:
 120        """
 121        "global" attribute: dir
 122        The text directionality of the element
 123
 124        Args:
 125            value:
 126                ['ltr', 'rtl', 'auto']
 127
 128        Returns:
 129            An dir attribute to be added to your element
 130
 131        """
 132
 133        return BaseAttribute("dir", value)
 134
 135    @staticmethod
 136    def draggable(value: Literal["true", "false"]) -> BaseAttribute:
 137        """
 138        "global" attribute: draggable
 139        Whether the element is draggable
 140
 141        Args:
 142            value:
 143                ['true', 'false']
 144
 145        Returns:
 146            An draggable attribute to be added to your element
 147
 148        """
 149
 150        return BaseAttribute("draggable", value)
 151
 152    @staticmethod
 153    def enterkeyhint(
 154        value: Literal[
 155            "enter", "done", "go", "next", "previous", "search", "send"
 156        ],
 157    ) -> BaseAttribute:
 158        """
 159        "global" attribute: enterkeyhint
 160        Hint for selecting an enter key action
 161
 162        Args:
 163            value:
 164                ['enter', 'done', 'go', 'next', 'previous', 'search', 'send']
 165
 166        Returns:
 167            An enterkeyhint attribute to be added to your element
 168
 169        """
 170
 171        return BaseAttribute("enterkeyhint", value)
 172
 173    @staticmethod
 174    def hidden(value: Literal["until-found", "hidden", ""]) -> BaseAttribute:
 175        """
 176        "global" attribute: hidden
 177        Whether the element is relevant
 178
 179        Args:
 180            value:
 181                ['until-found', 'hidden', '']
 182
 183        Returns:
 184            An hidden attribute to be added to your element
 185
 186        """
 187
 188        return BaseAttribute("hidden", value)
 189
 190    @staticmethod
 191    def id(value: StrLike) -> BaseAttribute:
 192        """
 193        "global" attribute: id
 194        The element's ID
 195
 196        Args:
 197            value:
 198                Text*
 199
 200        Returns:
 201            An id attribute to be added to your element
 202
 203        """
 204
 205        return BaseAttribute("id", value)
 206
 207    @staticmethod
 208    def inert(value: bool) -> BaseAttribute:
 209        """
 210        "global" attribute: inert
 211        Whether the element is inert.
 212
 213        Args:
 214            value:
 215                Boolean attribute
 216
 217        Returns:
 218            An inert attribute to be added to your element
 219
 220        """
 221
 222        return BaseAttribute("inert", value)
 223
 224    @staticmethod
 225    def inputmode(
 226        value: Literal[
 227            "none",
 228            "text",
 229            "tel",
 230            "email",
 231            "url",
 232            "numeric",
 233            "decimal",
 234            "search",
 235        ],
 236    ) -> BaseAttribute:
 237        """
 238        "global" attribute: inputmode
 239        Hint for selecting an input modality
 240
 241        Args:
 242            value:
 243                ['none', 'text', 'tel', 'email', 'url', 'numeric', 'decimal', 'search']
 244
 245        Returns:
 246            An inputmode attribute to be added to your element
 247
 248        """
 249
 250        return BaseAttribute("inputmode", value)
 251
 252    @staticmethod
 253    def is_(value) -> BaseAttribute:
 254        """
 255        "global" attribute: is
 256        Creates a customized built-in element
 257
 258        Args:
 259            value:
 260                Valid custom element name of a defined customized built-in element
 261
 262        Returns:
 263            An is attribute to be added to your element
 264
 265        """
 266
 267        return BaseAttribute("is", value)
 268
 269    @staticmethod
 270    def itemid(value) -> BaseAttribute:
 271        """
 272        "global" attribute: itemid
 273        Global identifier for a microdata item
 274
 275        Args:
 276            value:
 277                Valid URL potentially surrounded by spaces
 278
 279        Returns:
 280            An itemid attribute to be added to your element
 281
 282        """
 283
 284        return BaseAttribute("itemid", value)
 285
 286    @staticmethod
 287    def itemprop(value: Resolvable) -> BaseAttribute:
 288        """
 289        "global" attribute: itemprop
 290        Property names of a microdata item
 291
 292        Args:
 293            value:
 294                Unordered set of unique space-separated tokens consisting of valid absolute URLs, defined property names, or text*
 295
 296        Returns:
 297            An itemprop attribute to be added to your element
 298
 299        """
 300
 301        return BaseAttribute("itemprop", value)
 302
 303    @staticmethod
 304    def itemref(value: Resolvable) -> BaseAttribute:
 305        """
 306        "global" attribute: itemref
 307        Referenced elements
 308
 309        Args:
 310            value:
 311                Unordered set of unique space-separated tokens consisting of IDs*
 312
 313        Returns:
 314            An itemref attribute to be added to your element
 315
 316        """
 317
 318        return BaseAttribute("itemref", value)
 319
 320    @staticmethod
 321    def itemscope(value: bool) -> BaseAttribute:
 322        """
 323        "global" attribute: itemscope
 324        Introduces a microdata item
 325
 326        Args:
 327            value:
 328                Boolean attribute
 329
 330        Returns:
 331            An itemscope attribute to be added to your element
 332
 333        """
 334
 335        return BaseAttribute("itemscope", value)
 336
 337    @staticmethod
 338    def itemtype(value: Resolvable) -> BaseAttribute:
 339        """
 340        "global" attribute: itemtype
 341        Item types of a microdata item
 342
 343        Args:
 344            value:
 345                Unordered set of unique space-separated tokens consisting of valid absolute URLs*
 346
 347        Returns:
 348            An itemtype attribute to be added to your element
 349
 350        """
 351
 352        return BaseAttribute("itemtype", value)
 353
 354    @staticmethod
 355    def lang(value) -> BaseAttribute:
 356        """
 357        "global" attribute: lang
 358        Language of the element
 359
 360        Args:
 361            value:
 362                Valid BCP 47 language tag or the empty string
 363
 364        Returns:
 365            An lang attribute to be added to your element
 366
 367        """
 368
 369        return BaseAttribute("lang", value)
 370
 371    @staticmethod
 372    def nonce(value: StrLike) -> BaseAttribute:
 373        """
 374        "global" attribute: nonce
 375        Cryptographic nonce used in Content Security Policy checks [CSP]
 376
 377        Args:
 378            value:
 379                Text
 380
 381        Returns:
 382            An nonce attribute to be added to your element
 383
 384        """
 385
 386        return BaseAttribute("nonce", value)
 387
 388    @staticmethod
 389    def popover(value: Literal["auto", "manual"]) -> BaseAttribute:
 390        """
 391        "global" attribute: popover
 392        Makes the element a popover element
 393
 394        Args:
 395            value:
 396                ['auto', 'manual']
 397
 398        Returns:
 399            An popover attribute to be added to your element
 400
 401        """
 402
 403        return BaseAttribute("popover", value)
 404
 405    @staticmethod
 406    def slot(value: StrLike) -> BaseAttribute:
 407        """
 408        "global" attribute: slot
 409        The element's desired slot
 410
 411        Args:
 412            value:
 413                Text
 414
 415        Returns:
 416            An slot attribute to be added to your element
 417
 418        """
 419
 420        return BaseAttribute("slot", value)
 421
 422    @staticmethod
 423    def spellcheck(value: Literal["true", "false", ""]) -> BaseAttribute:
 424        """
 425        "global" attribute: spellcheck
 426        Whether the element is to have its spelling and grammar checked
 427
 428        Args:
 429            value:
 430                ['true', 'false', '']
 431
 432        Returns:
 433            An spellcheck attribute to be added to your element
 434
 435        """
 436
 437        return BaseAttribute("spellcheck", value)
 438
 439    @staticmethod
 440    def style(value: Resolvable | Mapping[StrLike, StrLike]) -> BaseAttribute:
 441        """
 442        "global" attribute: style
 443        Presentational and formatting instructions
 444
 445        Args:
 446            value:
 447                CSS declarations*
 448
 449        Returns:
 450            An style attribute to be added to your element
 451
 452        """
 453
 454        return BaseAttribute("style", value, delimiter="; ")
 455
 456    @staticmethod
 457    def tabindex(value: int) -> BaseAttribute:
 458        """
 459        "global" attribute: tabindex
 460        Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation
 461
 462        Args:
 463            value:
 464                Valid integer
 465
 466        Returns:
 467            An tabindex attribute to be added to your element
 468
 469        """
 470
 471        return BaseAttribute("tabindex", value)
 472
 473    @staticmethod
 474    def title(value: StrLike) -> BaseAttribute:
 475        """
 476        "global" attribute: title
 477        Advisory information for the element
 478
 479        Args:
 480            value:
 481                Text
 482
 483        Returns:
 484            An title attribute to be added to your element
 485
 486        """
 487
 488        return BaseAttribute("title", value)
 489
 490    @staticmethod
 491    def translate(value: Literal["yes", "no"]) -> BaseAttribute:
 492        """
 493        "global" attribute: translate
 494        Whether the element is to be translated when the page is localized
 495
 496        Args:
 497            value:
 498                ['yes', 'no']
 499
 500        Returns:
 501            An translate attribute to be added to your element
 502
 503        """
 504
 505        return BaseAttribute("translate", value)
 506
 507    @staticmethod
 508    def writingsuggestions(
 509        value: Literal["true", "false", ""],
 510    ) -> BaseAttribute:
 511        """
 512        "global" attribute: writingsuggestions
 513        Whether the element can offer writing suggestions or not.
 514
 515        Args:
 516            value:
 517                ['true', 'false', '']
 518
 519        Returns:
 520            An writingsuggestions attribute to be added to your element
 521
 522        """
 523
 524        return BaseAttribute("writingsuggestions", value)
 525
 526    @staticmethod
 527    def onauxclick(value) -> BaseAttribute:
 528        """
 529        "global" attribute: onauxclick
 530        auxclick event handler
 531
 532        Args:
 533            value:
 534                Event handler content attribute
 535
 536        Returns:
 537            An onauxclick attribute to be added to your element
 538
 539        """
 540
 541        return BaseAttribute("onauxclick", value)
 542
 543    @staticmethod
 544    def onbeforeinput(value) -> BaseAttribute:
 545        """
 546        "global" attribute: onbeforeinput
 547        beforeinput event handler
 548
 549        Args:
 550            value:
 551                Event handler content attribute
 552
 553        Returns:
 554            An onbeforeinput attribute to be added to your element
 555
 556        """
 557
 558        return BaseAttribute("onbeforeinput", value)
 559
 560    @staticmethod
 561    def onbeforematch(value) -> BaseAttribute:
 562        """
 563        "global" attribute: onbeforematch
 564        beforematch event handler
 565
 566        Args:
 567            value:
 568                Event handler content attribute
 569
 570        Returns:
 571            An onbeforematch attribute to be added to your element
 572
 573        """
 574
 575        return BaseAttribute("onbeforematch", value)
 576
 577    @staticmethod
 578    def onbeforetoggle(value) -> BaseAttribute:
 579        """
 580        "global" attribute: onbeforetoggle
 581        beforetoggle event handler
 582
 583        Args:
 584            value:
 585                Event handler content attribute
 586
 587        Returns:
 588            An onbeforetoggle attribute to be added to your element
 589
 590        """
 591
 592        return BaseAttribute("onbeforetoggle", value)
 593
 594    @staticmethod
 595    def onblur(value) -> BaseAttribute:
 596        """
 597        "global" attribute: onblur
 598        blur event handler
 599
 600        Args:
 601            value:
 602                Event handler content attribute
 603
 604        Returns:
 605            An onblur attribute to be added to your element
 606
 607        """
 608
 609        return BaseAttribute("onblur", value)
 610
 611    @staticmethod
 612    def oncancel(value) -> BaseAttribute:
 613        """
 614        "global" attribute: oncancel
 615        cancel event handler
 616
 617        Args:
 618            value:
 619                Event handler content attribute
 620
 621        Returns:
 622            An oncancel attribute to be added to your element
 623
 624        """
 625
 626        return BaseAttribute("oncancel", value)
 627
 628    @staticmethod
 629    def oncanplay(value) -> BaseAttribute:
 630        """
 631        "global" attribute: oncanplay
 632        canplay event handler
 633
 634        Args:
 635            value:
 636                Event handler content attribute
 637
 638        Returns:
 639            An oncanplay attribute to be added to your element
 640
 641        """
 642
 643        return BaseAttribute("oncanplay", value)
 644
 645    @staticmethod
 646    def oncanplaythrough(value) -> BaseAttribute:
 647        """
 648        "global" attribute: oncanplaythrough
 649        canplaythrough event handler
 650
 651        Args:
 652            value:
 653                Event handler content attribute
 654
 655        Returns:
 656            An oncanplaythrough attribute to be added to your element
 657
 658        """
 659
 660        return BaseAttribute("oncanplaythrough", value)
 661
 662    @staticmethod
 663    def onchange(value) -> BaseAttribute:
 664        """
 665        "global" attribute: onchange
 666        change event handler
 667
 668        Args:
 669            value:
 670                Event handler content attribute
 671
 672        Returns:
 673            An onchange attribute to be added to your element
 674
 675        """
 676
 677        return BaseAttribute("onchange", value)
 678
 679    @staticmethod
 680    def onclick(value) -> BaseAttribute:
 681        """
 682        "global" attribute: onclick
 683        click event handler
 684
 685        Args:
 686            value:
 687                Event handler content attribute
 688
 689        Returns:
 690            An onclick attribute to be added to your element
 691
 692        """
 693
 694        return BaseAttribute("onclick", value)
 695
 696    @staticmethod
 697    def onclose(value) -> BaseAttribute:
 698        """
 699        "global" attribute: onclose
 700        close event handler
 701
 702        Args:
 703            value:
 704                Event handler content attribute
 705
 706        Returns:
 707            An onclose attribute to be added to your element
 708
 709        """
 710
 711        return BaseAttribute("onclose", value)
 712
 713    @staticmethod
 714    def oncontextlost(value) -> BaseAttribute:
 715        """
 716        "global" attribute: oncontextlost
 717        contextlost event handler
 718
 719        Args:
 720            value:
 721                Event handler content attribute
 722
 723        Returns:
 724            An oncontextlost attribute to be added to your element
 725
 726        """
 727
 728        return BaseAttribute("oncontextlost", value)
 729
 730    @staticmethod
 731    def oncontextmenu(value) -> BaseAttribute:
 732        """
 733        "global" attribute: oncontextmenu
 734        contextmenu event handler
 735
 736        Args:
 737            value:
 738                Event handler content attribute
 739
 740        Returns:
 741            An oncontextmenu attribute to be added to your element
 742
 743        """
 744
 745        return BaseAttribute("oncontextmenu", value)
 746
 747    @staticmethod
 748    def oncontextrestored(value) -> BaseAttribute:
 749        """
 750        "global" attribute: oncontextrestored
 751        contextrestored event handler
 752
 753        Args:
 754            value:
 755                Event handler content attribute
 756
 757        Returns:
 758            An oncontextrestored attribute to be added to your element
 759
 760        """
 761
 762        return BaseAttribute("oncontextrestored", value)
 763
 764    @staticmethod
 765    def oncopy(value) -> BaseAttribute:
 766        """
 767        "global" attribute: oncopy
 768        copy event handler
 769
 770        Args:
 771            value:
 772                Event handler content attribute
 773
 774        Returns:
 775            An oncopy attribute to be added to your element
 776
 777        """
 778
 779        return BaseAttribute("oncopy", value)
 780
 781    @staticmethod
 782    def oncuechange(value) -> BaseAttribute:
 783        """
 784        "global" attribute: oncuechange
 785        cuechange event handler
 786
 787        Args:
 788            value:
 789                Event handler content attribute
 790
 791        Returns:
 792            An oncuechange attribute to be added to your element
 793
 794        """
 795
 796        return BaseAttribute("oncuechange", value)
 797
 798    @staticmethod
 799    def oncut(value) -> BaseAttribute:
 800        """
 801        "global" attribute: oncut
 802        cut event handler
 803
 804        Args:
 805            value:
 806                Event handler content attribute
 807
 808        Returns:
 809            An oncut attribute to be added to your element
 810
 811        """
 812
 813        return BaseAttribute("oncut", value)
 814
 815    @staticmethod
 816    def ondblclick(value) -> BaseAttribute:
 817        """
 818        "global" attribute: ondblclick
 819        dblclick event handler
 820
 821        Args:
 822            value:
 823                Event handler content attribute
 824
 825        Returns:
 826            An ondblclick attribute to be added to your element
 827
 828        """
 829
 830        return BaseAttribute("ondblclick", value)
 831
 832    @staticmethod
 833    def ondrag(value) -> BaseAttribute:
 834        """
 835        "global" attribute: ondrag
 836        drag event handler
 837
 838        Args:
 839            value:
 840                Event handler content attribute
 841
 842        Returns:
 843            An ondrag attribute to be added to your element
 844
 845        """
 846
 847        return BaseAttribute("ondrag", value)
 848
 849    @staticmethod
 850    def ondragend(value) -> BaseAttribute:
 851        """
 852        "global" attribute: ondragend
 853        dragend event handler
 854
 855        Args:
 856            value:
 857                Event handler content attribute
 858
 859        Returns:
 860            An ondragend attribute to be added to your element
 861
 862        """
 863
 864        return BaseAttribute("ondragend", value)
 865
 866    @staticmethod
 867    def ondragenter(value) -> BaseAttribute:
 868        """
 869        "global" attribute: ondragenter
 870        dragenter event handler
 871
 872        Args:
 873            value:
 874                Event handler content attribute
 875
 876        Returns:
 877            An ondragenter attribute to be added to your element
 878
 879        """
 880
 881        return BaseAttribute("ondragenter", value)
 882
 883    @staticmethod
 884    def ondragleave(value) -> BaseAttribute:
 885        """
 886        "global" attribute: ondragleave
 887        dragleave event handler
 888
 889        Args:
 890            value:
 891                Event handler content attribute
 892
 893        Returns:
 894            An ondragleave attribute to be added to your element
 895
 896        """
 897
 898        return BaseAttribute("ondragleave", value)
 899
 900    @staticmethod
 901    def ondragover(value) -> BaseAttribute:
 902        """
 903        "global" attribute: ondragover
 904        dragover event handler
 905
 906        Args:
 907            value:
 908                Event handler content attribute
 909
 910        Returns:
 911            An ondragover attribute to be added to your element
 912
 913        """
 914
 915        return BaseAttribute("ondragover", value)
 916
 917    @staticmethod
 918    def ondragstart(value) -> BaseAttribute:
 919        """
 920        "global" attribute: ondragstart
 921        dragstart event handler
 922
 923        Args:
 924            value:
 925                Event handler content attribute
 926
 927        Returns:
 928            An ondragstart attribute to be added to your element
 929
 930        """
 931
 932        return BaseAttribute("ondragstart", value)
 933
 934    @staticmethod
 935    def ondrop(value) -> BaseAttribute:
 936        """
 937        "global" attribute: ondrop
 938        drop event handler
 939
 940        Args:
 941            value:
 942                Event handler content attribute
 943
 944        Returns:
 945            An ondrop attribute to be added to your element
 946
 947        """
 948
 949        return BaseAttribute("ondrop", value)
 950
 951    @staticmethod
 952    def ondurationchange(value) -> BaseAttribute:
 953        """
 954        "global" attribute: ondurationchange
 955        durationchange event handler
 956
 957        Args:
 958            value:
 959                Event handler content attribute
 960
 961        Returns:
 962            An ondurationchange attribute to be added to your element
 963
 964        """
 965
 966        return BaseAttribute("ondurationchange", value)
 967
 968    @staticmethod
 969    def onemptied(value) -> BaseAttribute:
 970        """
 971        "global" attribute: onemptied
 972        emptied event handler
 973
 974        Args:
 975            value:
 976                Event handler content attribute
 977
 978        Returns:
 979            An onemptied attribute to be added to your element
 980
 981        """
 982
 983        return BaseAttribute("onemptied", value)
 984
 985    @staticmethod
 986    def onended(value) -> BaseAttribute:
 987        """
 988        "global" attribute: onended
 989        ended event handler
 990
 991        Args:
 992            value:
 993                Event handler content attribute
 994
 995        Returns:
 996            An onended attribute to be added to your element
 997
 998        """
 999
1000        return BaseAttribute("onended", value)
1001
1002    @staticmethod
1003    def onerror(value) -> BaseAttribute:
1004        """
1005        "global" attribute: onerror
1006        error event handler
1007
1008        Args:
1009            value:
1010                Event handler content attribute
1011
1012        Returns:
1013            An onerror attribute to be added to your element
1014
1015        """
1016
1017        return BaseAttribute("onerror", value)
1018
1019    @staticmethod
1020    def onfocus(value) -> BaseAttribute:
1021        """
1022        "global" attribute: onfocus
1023        focus event handler
1024
1025        Args:
1026            value:
1027                Event handler content attribute
1028
1029        Returns:
1030            An onfocus attribute to be added to your element
1031
1032        """
1033
1034        return BaseAttribute("onfocus", value)
1035
1036    @staticmethod
1037    def onformdata(value) -> BaseAttribute:
1038        """
1039        "global" attribute: onformdata
1040        formdata event handler
1041
1042        Args:
1043            value:
1044                Event handler content attribute
1045
1046        Returns:
1047            An onformdata attribute to be added to your element
1048
1049        """
1050
1051        return BaseAttribute("onformdata", value)
1052
1053    @staticmethod
1054    def oninput(value) -> BaseAttribute:
1055        """
1056        "global" attribute: oninput
1057        input event handler
1058
1059        Args:
1060            value:
1061                Event handler content attribute
1062
1063        Returns:
1064            An oninput attribute to be added to your element
1065
1066        """
1067
1068        return BaseAttribute("oninput", value)
1069
1070    @staticmethod
1071    def oninvalid(value) -> BaseAttribute:
1072        """
1073        "global" attribute: oninvalid
1074        invalid event handler
1075
1076        Args:
1077            value:
1078                Event handler content attribute
1079
1080        Returns:
1081            An oninvalid attribute to be added to your element
1082
1083        """
1084
1085        return BaseAttribute("oninvalid", value)
1086
1087    @staticmethod
1088    def onkeydown(value) -> BaseAttribute:
1089        """
1090        "global" attribute: onkeydown
1091        keydown event handler
1092
1093        Args:
1094            value:
1095                Event handler content attribute
1096
1097        Returns:
1098            An onkeydown attribute to be added to your element
1099
1100        """
1101
1102        return BaseAttribute("onkeydown", value)
1103
1104    @staticmethod
1105    def onkeypress(value) -> BaseAttribute:
1106        """
1107        "global" attribute: onkeypress
1108        keypress event handler
1109
1110        Args:
1111            value:
1112                Event handler content attribute
1113
1114        Returns:
1115            An onkeypress attribute to be added to your element
1116
1117        """
1118
1119        return BaseAttribute("onkeypress", value)
1120
1121    @staticmethod
1122    def onkeyup(value) -> BaseAttribute:
1123        """
1124        "global" attribute: onkeyup
1125        keyup event handler
1126
1127        Args:
1128            value:
1129                Event handler content attribute
1130
1131        Returns:
1132            An onkeyup attribute to be added to your element
1133
1134        """
1135
1136        return BaseAttribute("onkeyup", value)
1137
1138    @staticmethod
1139    def onload(value) -> BaseAttribute:
1140        """
1141        "global" attribute: onload
1142        load event handler
1143
1144        Args:
1145            value:
1146                Event handler content attribute
1147
1148        Returns:
1149            An onload attribute to be added to your element
1150
1151        """
1152
1153        return BaseAttribute("onload", value)
1154
1155    @staticmethod
1156    def onloadeddata(value) -> BaseAttribute:
1157        """
1158        "global" attribute: onloadeddata
1159        loadeddata event handler
1160
1161        Args:
1162            value:
1163                Event handler content attribute
1164
1165        Returns:
1166            An onloadeddata attribute to be added to your element
1167
1168        """
1169
1170        return BaseAttribute("onloadeddata", value)
1171
1172    @staticmethod
1173    def onloadedmetadata(value) -> BaseAttribute:
1174        """
1175        "global" attribute: onloadedmetadata
1176        loadedmetadata event handler
1177
1178        Args:
1179            value:
1180                Event handler content attribute
1181
1182        Returns:
1183            An onloadedmetadata attribute to be added to your element
1184
1185        """
1186
1187        return BaseAttribute("onloadedmetadata", value)
1188
1189    @staticmethod
1190    def onloadstart(value) -> BaseAttribute:
1191        """
1192        "global" attribute: onloadstart
1193        loadstart event handler
1194
1195        Args:
1196            value:
1197                Event handler content attribute
1198
1199        Returns:
1200            An onloadstart attribute to be added to your element
1201
1202        """
1203
1204        return BaseAttribute("onloadstart", value)
1205
1206    @staticmethod
1207    def onmousedown(value) -> BaseAttribute:
1208        """
1209        "global" attribute: onmousedown
1210        mousedown event handler
1211
1212        Args:
1213            value:
1214                Event handler content attribute
1215
1216        Returns:
1217            An onmousedown attribute to be added to your element
1218
1219        """
1220
1221        return BaseAttribute("onmousedown", value)
1222
1223    @staticmethod
1224    def onmouseenter(value) -> BaseAttribute:
1225        """
1226        "global" attribute: onmouseenter
1227        mouseenter event handler
1228
1229        Args:
1230            value:
1231                Event handler content attribute
1232
1233        Returns:
1234            An onmouseenter attribute to be added to your element
1235
1236        """
1237
1238        return BaseAttribute("onmouseenter", value)
1239
1240    @staticmethod
1241    def onmouseleave(value) -> BaseAttribute:
1242        """
1243        "global" attribute: onmouseleave
1244        mouseleave event handler
1245
1246        Args:
1247            value:
1248                Event handler content attribute
1249
1250        Returns:
1251            An onmouseleave attribute to be added to your element
1252
1253        """
1254
1255        return BaseAttribute("onmouseleave", value)
1256
1257    @staticmethod
1258    def onmousemove(value) -> BaseAttribute:
1259        """
1260        "global" attribute: onmousemove
1261        mousemove event handler
1262
1263        Args:
1264            value:
1265                Event handler content attribute
1266
1267        Returns:
1268            An onmousemove attribute to be added to your element
1269
1270        """
1271
1272        return BaseAttribute("onmousemove", value)
1273
1274    @staticmethod
1275    def onmouseout(value) -> BaseAttribute:
1276        """
1277        "global" attribute: onmouseout
1278        mouseout event handler
1279
1280        Args:
1281            value:
1282                Event handler content attribute
1283
1284        Returns:
1285            An onmouseout attribute to be added to your element
1286
1287        """
1288
1289        return BaseAttribute("onmouseout", value)
1290
1291    @staticmethod
1292    def onmouseover(value) -> BaseAttribute:
1293        """
1294        "global" attribute: onmouseover
1295        mouseover event handler
1296
1297        Args:
1298            value:
1299                Event handler content attribute
1300
1301        Returns:
1302            An onmouseover attribute to be added to your element
1303
1304        """
1305
1306        return BaseAttribute("onmouseover", value)
1307
1308    @staticmethod
1309    def onmouseup(value) -> BaseAttribute:
1310        """
1311        "global" attribute: onmouseup
1312        mouseup event handler
1313
1314        Args:
1315            value:
1316                Event handler content attribute
1317
1318        Returns:
1319            An onmouseup attribute to be added to your element
1320
1321        """
1322
1323        return BaseAttribute("onmouseup", value)
1324
1325    @staticmethod
1326    def onpaste(value) -> BaseAttribute:
1327        """
1328        "global" attribute: onpaste
1329        paste event handler
1330
1331        Args:
1332            value:
1333                Event handler content attribute
1334
1335        Returns:
1336            An onpaste attribute to be added to your element
1337
1338        """
1339
1340        return BaseAttribute("onpaste", value)
1341
1342    @staticmethod
1343    def onpause(value) -> BaseAttribute:
1344        """
1345        "global" attribute: onpause
1346        pause event handler
1347
1348        Args:
1349            value:
1350                Event handler content attribute
1351
1352        Returns:
1353            An onpause attribute to be added to your element
1354
1355        """
1356
1357        return BaseAttribute("onpause", value)
1358
1359    @staticmethod
1360    def onplay(value) -> BaseAttribute:
1361        """
1362        "global" attribute: onplay
1363        play event handler
1364
1365        Args:
1366            value:
1367                Event handler content attribute
1368
1369        Returns:
1370            An onplay attribute to be added to your element
1371
1372        """
1373
1374        return BaseAttribute("onplay", value)
1375
1376    @staticmethod
1377    def onplaying(value) -> BaseAttribute:
1378        """
1379        "global" attribute: onplaying
1380        playing event handler
1381
1382        Args:
1383            value:
1384                Event handler content attribute
1385
1386        Returns:
1387            An onplaying attribute to be added to your element
1388
1389        """
1390
1391        return BaseAttribute("onplaying", value)
1392
1393    @staticmethod
1394    def onprogress(value) -> BaseAttribute:
1395        """
1396        "global" attribute: onprogress
1397        progress event handler
1398
1399        Args:
1400            value:
1401                Event handler content attribute
1402
1403        Returns:
1404            An onprogress attribute to be added to your element
1405
1406        """
1407
1408        return BaseAttribute("onprogress", value)
1409
1410    @staticmethod
1411    def onratechange(value) -> BaseAttribute:
1412        """
1413        "global" attribute: onratechange
1414        ratechange event handler
1415
1416        Args:
1417            value:
1418                Event handler content attribute
1419
1420        Returns:
1421            An onratechange attribute to be added to your element
1422
1423        """
1424
1425        return BaseAttribute("onratechange", value)
1426
1427    @staticmethod
1428    def onreset(value) -> BaseAttribute:
1429        """
1430        "global" attribute: onreset
1431        reset event handler
1432
1433        Args:
1434            value:
1435                Event handler content attribute
1436
1437        Returns:
1438            An onreset attribute to be added to your element
1439
1440        """
1441
1442        return BaseAttribute("onreset", value)
1443
1444    @staticmethod
1445    def onresize(value) -> BaseAttribute:
1446        """
1447        "global" attribute: onresize
1448        resize event handler
1449
1450        Args:
1451            value:
1452                Event handler content attribute
1453
1454        Returns:
1455            An onresize attribute to be added to your element
1456
1457        """
1458
1459        return BaseAttribute("onresize", value)
1460
1461    @staticmethod
1462    def onscroll(value) -> BaseAttribute:
1463        """
1464        "global" attribute: onscroll
1465        scroll event handler
1466
1467        Args:
1468            value:
1469                Event handler content attribute
1470
1471        Returns:
1472            An onscroll attribute to be added to your element
1473
1474        """
1475
1476        return BaseAttribute("onscroll", value)
1477
1478    @staticmethod
1479    def onscrollend(value) -> BaseAttribute:
1480        """
1481        "global" attribute: onscrollend
1482        scrollend event handler
1483
1484        Args:
1485            value:
1486                Event handler content attribute
1487
1488        Returns:
1489            An onscrollend attribute to be added to your element
1490
1491        """
1492
1493        return BaseAttribute("onscrollend", value)
1494
1495    @staticmethod
1496    def onsecuritypolicyviolation(value) -> BaseAttribute:
1497        """
1498        "global" attribute: onsecuritypolicyviolation
1499        securitypolicyviolation event handler
1500
1501        Args:
1502            value:
1503                Event handler content attribute
1504
1505        Returns:
1506            An onsecuritypolicyviolation attribute to be added to your element
1507
1508        """
1509
1510        return BaseAttribute("onsecuritypolicyviolation", value)
1511
1512    @staticmethod
1513    def onseeked(value) -> BaseAttribute:
1514        """
1515        "global" attribute: onseeked
1516        seeked event handler
1517
1518        Args:
1519            value:
1520                Event handler content attribute
1521
1522        Returns:
1523            An onseeked attribute to be added to your element
1524
1525        """
1526
1527        return BaseAttribute("onseeked", value)
1528
1529    @staticmethod
1530    def onseeking(value) -> BaseAttribute:
1531        """
1532        "global" attribute: onseeking
1533        seeking event handler
1534
1535        Args:
1536            value:
1537                Event handler content attribute
1538
1539        Returns:
1540            An onseeking attribute to be added to your element
1541
1542        """
1543
1544        return BaseAttribute("onseeking", value)
1545
1546    @staticmethod
1547    def onselect(value) -> BaseAttribute:
1548        """
1549        "global" attribute: onselect
1550        select event handler
1551
1552        Args:
1553            value:
1554                Event handler content attribute
1555
1556        Returns:
1557            An onselect attribute to be added to your element
1558
1559        """
1560
1561        return BaseAttribute("onselect", value)
1562
1563    @staticmethod
1564    def onslotchange(value) -> BaseAttribute:
1565        """
1566        "global" attribute: onslotchange
1567        slotchange event handler
1568
1569        Args:
1570            value:
1571                Event handler content attribute
1572
1573        Returns:
1574            An onslotchange attribute to be added to your element
1575
1576        """
1577
1578        return BaseAttribute("onslotchange", value)
1579
1580    @staticmethod
1581    def onstalled(value) -> BaseAttribute:
1582        """
1583        "global" attribute: onstalled
1584        stalled event handler
1585
1586        Args:
1587            value:
1588                Event handler content attribute
1589
1590        Returns:
1591            An onstalled attribute to be added to your element
1592
1593        """
1594
1595        return BaseAttribute("onstalled", value)
1596
1597    @staticmethod
1598    def onsubmit(value) -> BaseAttribute:
1599        """
1600        "global" attribute: onsubmit
1601        submit event handler
1602
1603        Args:
1604            value:
1605                Event handler content attribute
1606
1607        Returns:
1608            An onsubmit attribute to be added to your element
1609
1610        """
1611
1612        return BaseAttribute("onsubmit", value)
1613
1614    @staticmethod
1615    def onsuspend(value) -> BaseAttribute:
1616        """
1617        "global" attribute: onsuspend
1618        suspend event handler
1619
1620        Args:
1621            value:
1622                Event handler content attribute
1623
1624        Returns:
1625            An onsuspend attribute to be added to your element
1626
1627        """
1628
1629        return BaseAttribute("onsuspend", value)
1630
1631    @staticmethod
1632    def ontimeupdate(value) -> BaseAttribute:
1633        """
1634        "global" attribute: ontimeupdate
1635        timeupdate event handler
1636
1637        Args:
1638            value:
1639                Event handler content attribute
1640
1641        Returns:
1642            An ontimeupdate attribute to be added to your element
1643
1644        """
1645
1646        return BaseAttribute("ontimeupdate", value)
1647
1648    @staticmethod
1649    def ontoggle(value) -> BaseAttribute:
1650        """
1651        "global" attribute: ontoggle
1652        toggle event handler
1653
1654        Args:
1655            value:
1656                Event handler content attribute
1657
1658        Returns:
1659            An ontoggle attribute to be added to your element
1660
1661        """
1662
1663        return BaseAttribute("ontoggle", value)
1664
1665    @staticmethod
1666    def onvolumechange(value) -> BaseAttribute:
1667        """
1668        "global" attribute: onvolumechange
1669        volumechange event handler
1670
1671        Args:
1672            value:
1673                Event handler content attribute
1674
1675        Returns:
1676            An onvolumechange attribute to be added to your element
1677
1678        """
1679
1680        return BaseAttribute("onvolumechange", value)
1681
1682    @staticmethod
1683    def onwaiting(value) -> BaseAttribute:
1684        """
1685        "global" attribute: onwaiting
1686        waiting event handler
1687
1688        Args:
1689            value:
1690                Event handler content attribute
1691
1692        Returns:
1693            An onwaiting attribute to be added to your element
1694
1695        """
1696
1697        return BaseAttribute("onwaiting", value)
1698
1699    @staticmethod
1700    def onwheel(value) -> BaseAttribute:
1701        """
1702        "global" attribute: onwheel
1703        wheel event handler
1704
1705        Args:
1706            value:
1707                Event handler content attribute
1708
1709        Returns:
1710            An onwheel attribute to be added to your element
1711
1712        """
1713
1714        return BaseAttribute("onwheel", value)
class GlobalAttrs:
   7class GlobalAttrs:
   8    """
   9    This module contains classes for all global attributes.
  10    Elements can inherit it so the element can be a reference to our attributes
  11    """
  12
  13    @staticmethod
  14    def accesskey(value: Resolvable) -> BaseAttribute:
  15        """
  16        "global" attribute: accesskey
  17        Keyboard shortcut to activate or focus element
  18
  19        Args:
  20            value:
  21                Ordered set of unique space-separated tokens, none of which are identical to another, each consisting of one code point in length
  22
  23        Returns:
  24            An accesskey attribute to be added to your element
  25
  26        """
  27
  28        return BaseAttribute("accesskey", value)
  29
  30    @staticmethod
  31    def autocapitalize(
  32        value: Literal["on", "off", "none", "sentences", "words", "characters"],
  33    ) -> BaseAttribute:
  34        """
  35        "global" attribute: autocapitalize
  36        Recommended autocapitalization behavior (for supported input methods)
  37
  38        Args:
  39            value:
  40                ['on', 'off', 'none', 'sentences', 'words', 'characters']
  41
  42        Returns:
  43            An autocapitalize attribute to be added to your element
  44
  45        """
  46
  47        return BaseAttribute("autocapitalize", value)
  48
  49    @staticmethod
  50    def autocorrect(value: Literal["on", "off"]) -> BaseAttribute:
  51        """
  52        "global" attribute: autocorrect
  53        Recommended autocorrection behavior (for supported input methods)
  54
  55        Args:
  56            value:
  57                ['on', 'off']
  58
  59        Returns:
  60            An autocorrect attribute to be added to your element
  61
  62        """
  63
  64        return BaseAttribute("autocorrect", value)
  65
  66    @staticmethod
  67    def autofocus(value: bool) -> BaseAttribute:
  68        """
  69        "global" attribute: autofocus
  70        Automatically focus the element when the page is loaded
  71
  72        Args:
  73            value:
  74                Boolean attribute
  75
  76        Returns:
  77            An autofocus attribute to be added to your element
  78
  79        """
  80
  81        return BaseAttribute("autofocus", value)
  82
  83    @staticmethod
  84    def class_(value: StrLike | Iterable[StrLike]) -> BaseAttribute:
  85        """
  86        "global" attribute: class
  87        Classes to which the element belongs
  88
  89        Args:
  90            value:
  91                Set of space-separated tokens
  92
  93        Returns:
  94            An class attribute to be added to your element
  95
  96        """
  97
  98        return BaseAttribute("class", value)
  99
 100    @staticmethod
 101    def contenteditable(
 102        value: Literal["true", "plaintext-only", "false"],
 103    ) -> BaseAttribute:
 104        """
 105        "global" attribute: contenteditable
 106        Whether the element is editable
 107
 108        Args:
 109            value:
 110                ['true', 'plaintext-only', 'false']
 111
 112        Returns:
 113            An contenteditable attribute to be added to your element
 114
 115        """
 116
 117        return BaseAttribute("contenteditable", value)
 118
 119    @staticmethod
 120    def dir(value: Literal["ltr", "rtl", "auto"]) -> BaseAttribute:
 121        """
 122        "global" attribute: dir
 123        The text directionality of the element
 124
 125        Args:
 126            value:
 127                ['ltr', 'rtl', 'auto']
 128
 129        Returns:
 130            An dir attribute to be added to your element
 131
 132        """
 133
 134        return BaseAttribute("dir", value)
 135
 136    @staticmethod
 137    def draggable(value: Literal["true", "false"]) -> BaseAttribute:
 138        """
 139        "global" attribute: draggable
 140        Whether the element is draggable
 141
 142        Args:
 143            value:
 144                ['true', 'false']
 145
 146        Returns:
 147            An draggable attribute to be added to your element
 148
 149        """
 150
 151        return BaseAttribute("draggable", value)
 152
 153    @staticmethod
 154    def enterkeyhint(
 155        value: Literal[
 156            "enter", "done", "go", "next", "previous", "search", "send"
 157        ],
 158    ) -> BaseAttribute:
 159        """
 160        "global" attribute: enterkeyhint
 161        Hint for selecting an enter key action
 162
 163        Args:
 164            value:
 165                ['enter', 'done', 'go', 'next', 'previous', 'search', 'send']
 166
 167        Returns:
 168            An enterkeyhint attribute to be added to your element
 169
 170        """
 171
 172        return BaseAttribute("enterkeyhint", value)
 173
 174    @staticmethod
 175    def hidden(value: Literal["until-found", "hidden", ""]) -> BaseAttribute:
 176        """
 177        "global" attribute: hidden
 178        Whether the element is relevant
 179
 180        Args:
 181            value:
 182                ['until-found', 'hidden', '']
 183
 184        Returns:
 185            An hidden attribute to be added to your element
 186
 187        """
 188
 189        return BaseAttribute("hidden", value)
 190
 191    @staticmethod
 192    def id(value: StrLike) -> BaseAttribute:
 193        """
 194        "global" attribute: id
 195        The element's ID
 196
 197        Args:
 198            value:
 199                Text*
 200
 201        Returns:
 202            An id attribute to be added to your element
 203
 204        """
 205
 206        return BaseAttribute("id", value)
 207
 208    @staticmethod
 209    def inert(value: bool) -> BaseAttribute:
 210        """
 211        "global" attribute: inert
 212        Whether the element is inert.
 213
 214        Args:
 215            value:
 216                Boolean attribute
 217
 218        Returns:
 219            An inert attribute to be added to your element
 220
 221        """
 222
 223        return BaseAttribute("inert", value)
 224
 225    @staticmethod
 226    def inputmode(
 227        value: Literal[
 228            "none",
 229            "text",
 230            "tel",
 231            "email",
 232            "url",
 233            "numeric",
 234            "decimal",
 235            "search",
 236        ],
 237    ) -> BaseAttribute:
 238        """
 239        "global" attribute: inputmode
 240        Hint for selecting an input modality
 241
 242        Args:
 243            value:
 244                ['none', 'text', 'tel', 'email', 'url', 'numeric', 'decimal', 'search']
 245
 246        Returns:
 247            An inputmode attribute to be added to your element
 248
 249        """
 250
 251        return BaseAttribute("inputmode", value)
 252
 253    @staticmethod
 254    def is_(value) -> BaseAttribute:
 255        """
 256        "global" attribute: is
 257        Creates a customized built-in element
 258
 259        Args:
 260            value:
 261                Valid custom element name of a defined customized built-in element
 262
 263        Returns:
 264            An is attribute to be added to your element
 265
 266        """
 267
 268        return BaseAttribute("is", value)
 269
 270    @staticmethod
 271    def itemid(value) -> BaseAttribute:
 272        """
 273        "global" attribute: itemid
 274        Global identifier for a microdata item
 275
 276        Args:
 277            value:
 278                Valid URL potentially surrounded by spaces
 279
 280        Returns:
 281            An itemid attribute to be added to your element
 282
 283        """
 284
 285        return BaseAttribute("itemid", value)
 286
 287    @staticmethod
 288    def itemprop(value: Resolvable) -> BaseAttribute:
 289        """
 290        "global" attribute: itemprop
 291        Property names of a microdata item
 292
 293        Args:
 294            value:
 295                Unordered set of unique space-separated tokens consisting of valid absolute URLs, defined property names, or text*
 296
 297        Returns:
 298            An itemprop attribute to be added to your element
 299
 300        """
 301
 302        return BaseAttribute("itemprop", value)
 303
 304    @staticmethod
 305    def itemref(value: Resolvable) -> BaseAttribute:
 306        """
 307        "global" attribute: itemref
 308        Referenced elements
 309
 310        Args:
 311            value:
 312                Unordered set of unique space-separated tokens consisting of IDs*
 313
 314        Returns:
 315            An itemref attribute to be added to your element
 316
 317        """
 318
 319        return BaseAttribute("itemref", value)
 320
 321    @staticmethod
 322    def itemscope(value: bool) -> BaseAttribute:
 323        """
 324        "global" attribute: itemscope
 325        Introduces a microdata item
 326
 327        Args:
 328            value:
 329                Boolean attribute
 330
 331        Returns:
 332            An itemscope attribute to be added to your element
 333
 334        """
 335
 336        return BaseAttribute("itemscope", value)
 337
 338    @staticmethod
 339    def itemtype(value: Resolvable) -> BaseAttribute:
 340        """
 341        "global" attribute: itemtype
 342        Item types of a microdata item
 343
 344        Args:
 345            value:
 346                Unordered set of unique space-separated tokens consisting of valid absolute URLs*
 347
 348        Returns:
 349            An itemtype attribute to be added to your element
 350
 351        """
 352
 353        return BaseAttribute("itemtype", value)
 354
 355    @staticmethod
 356    def lang(value) -> BaseAttribute:
 357        """
 358        "global" attribute: lang
 359        Language of the element
 360
 361        Args:
 362            value:
 363                Valid BCP 47 language tag or the empty string
 364
 365        Returns:
 366            An lang attribute to be added to your element
 367
 368        """
 369
 370        return BaseAttribute("lang", value)
 371
 372    @staticmethod
 373    def nonce(value: StrLike) -> BaseAttribute:
 374        """
 375        "global" attribute: nonce
 376        Cryptographic nonce used in Content Security Policy checks [CSP]
 377
 378        Args:
 379            value:
 380                Text
 381
 382        Returns:
 383            An nonce attribute to be added to your element
 384
 385        """
 386
 387        return BaseAttribute("nonce", value)
 388
 389    @staticmethod
 390    def popover(value: Literal["auto", "manual"]) -> BaseAttribute:
 391        """
 392        "global" attribute: popover
 393        Makes the element a popover element
 394
 395        Args:
 396            value:
 397                ['auto', 'manual']
 398
 399        Returns:
 400            An popover attribute to be added to your element
 401
 402        """
 403
 404        return BaseAttribute("popover", value)
 405
 406    @staticmethod
 407    def slot(value: StrLike) -> BaseAttribute:
 408        """
 409        "global" attribute: slot
 410        The element's desired slot
 411
 412        Args:
 413            value:
 414                Text
 415
 416        Returns:
 417            An slot attribute to be added to your element
 418
 419        """
 420
 421        return BaseAttribute("slot", value)
 422
 423    @staticmethod
 424    def spellcheck(value: Literal["true", "false", ""]) -> BaseAttribute:
 425        """
 426        "global" attribute: spellcheck
 427        Whether the element is to have its spelling and grammar checked
 428
 429        Args:
 430            value:
 431                ['true', 'false', '']
 432
 433        Returns:
 434            An spellcheck attribute to be added to your element
 435
 436        """
 437
 438        return BaseAttribute("spellcheck", value)
 439
 440    @staticmethod
 441    def style(value: Resolvable | Mapping[StrLike, StrLike]) -> BaseAttribute:
 442        """
 443        "global" attribute: style
 444        Presentational and formatting instructions
 445
 446        Args:
 447            value:
 448                CSS declarations*
 449
 450        Returns:
 451            An style attribute to be added to your element
 452
 453        """
 454
 455        return BaseAttribute("style", value, delimiter="; ")
 456
 457    @staticmethod
 458    def tabindex(value: int) -> BaseAttribute:
 459        """
 460        "global" attribute: tabindex
 461        Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation
 462
 463        Args:
 464            value:
 465                Valid integer
 466
 467        Returns:
 468            An tabindex attribute to be added to your element
 469
 470        """
 471
 472        return BaseAttribute("tabindex", value)
 473
 474    @staticmethod
 475    def title(value: StrLike) -> BaseAttribute:
 476        """
 477        "global" attribute: title
 478        Advisory information for the element
 479
 480        Args:
 481            value:
 482                Text
 483
 484        Returns:
 485            An title attribute to be added to your element
 486
 487        """
 488
 489        return BaseAttribute("title", value)
 490
 491    @staticmethod
 492    def translate(value: Literal["yes", "no"]) -> BaseAttribute:
 493        """
 494        "global" attribute: translate
 495        Whether the element is to be translated when the page is localized
 496
 497        Args:
 498            value:
 499                ['yes', 'no']
 500
 501        Returns:
 502            An translate attribute to be added to your element
 503
 504        """
 505
 506        return BaseAttribute("translate", value)
 507
 508    @staticmethod
 509    def writingsuggestions(
 510        value: Literal["true", "false", ""],
 511    ) -> BaseAttribute:
 512        """
 513        "global" attribute: writingsuggestions
 514        Whether the element can offer writing suggestions or not.
 515
 516        Args:
 517            value:
 518                ['true', 'false', '']
 519
 520        Returns:
 521            An writingsuggestions attribute to be added to your element
 522
 523        """
 524
 525        return BaseAttribute("writingsuggestions", value)
 526
 527    @staticmethod
 528    def onauxclick(value) -> BaseAttribute:
 529        """
 530        "global" attribute: onauxclick
 531        auxclick event handler
 532
 533        Args:
 534            value:
 535                Event handler content attribute
 536
 537        Returns:
 538            An onauxclick attribute to be added to your element
 539
 540        """
 541
 542        return BaseAttribute("onauxclick", value)
 543
 544    @staticmethod
 545    def onbeforeinput(value) -> BaseAttribute:
 546        """
 547        "global" attribute: onbeforeinput
 548        beforeinput event handler
 549
 550        Args:
 551            value:
 552                Event handler content attribute
 553
 554        Returns:
 555            An onbeforeinput attribute to be added to your element
 556
 557        """
 558
 559        return BaseAttribute("onbeforeinput", value)
 560
 561    @staticmethod
 562    def onbeforematch(value) -> BaseAttribute:
 563        """
 564        "global" attribute: onbeforematch
 565        beforematch event handler
 566
 567        Args:
 568            value:
 569                Event handler content attribute
 570
 571        Returns:
 572            An onbeforematch attribute to be added to your element
 573
 574        """
 575
 576        return BaseAttribute("onbeforematch", value)
 577
 578    @staticmethod
 579    def onbeforetoggle(value) -> BaseAttribute:
 580        """
 581        "global" attribute: onbeforetoggle
 582        beforetoggle event handler
 583
 584        Args:
 585            value:
 586                Event handler content attribute
 587
 588        Returns:
 589            An onbeforetoggle attribute to be added to your element
 590
 591        """
 592
 593        return BaseAttribute("onbeforetoggle", value)
 594
 595    @staticmethod
 596    def onblur(value) -> BaseAttribute:
 597        """
 598        "global" attribute: onblur
 599        blur event handler
 600
 601        Args:
 602            value:
 603                Event handler content attribute
 604
 605        Returns:
 606            An onblur attribute to be added to your element
 607
 608        """
 609
 610        return BaseAttribute("onblur", value)
 611
 612    @staticmethod
 613    def oncancel(value) -> BaseAttribute:
 614        """
 615        "global" attribute: oncancel
 616        cancel event handler
 617
 618        Args:
 619            value:
 620                Event handler content attribute
 621
 622        Returns:
 623            An oncancel attribute to be added to your element
 624
 625        """
 626
 627        return BaseAttribute("oncancel", value)
 628
 629    @staticmethod
 630    def oncanplay(value) -> BaseAttribute:
 631        """
 632        "global" attribute: oncanplay
 633        canplay event handler
 634
 635        Args:
 636            value:
 637                Event handler content attribute
 638
 639        Returns:
 640            An oncanplay attribute to be added to your element
 641
 642        """
 643
 644        return BaseAttribute("oncanplay", value)
 645
 646    @staticmethod
 647    def oncanplaythrough(value) -> BaseAttribute:
 648        """
 649        "global" attribute: oncanplaythrough
 650        canplaythrough event handler
 651
 652        Args:
 653            value:
 654                Event handler content attribute
 655
 656        Returns:
 657            An oncanplaythrough attribute to be added to your element
 658
 659        """
 660
 661        return BaseAttribute("oncanplaythrough", value)
 662
 663    @staticmethod
 664    def onchange(value) -> BaseAttribute:
 665        """
 666        "global" attribute: onchange
 667        change event handler
 668
 669        Args:
 670            value:
 671                Event handler content attribute
 672
 673        Returns:
 674            An onchange attribute to be added to your element
 675
 676        """
 677
 678        return BaseAttribute("onchange", value)
 679
 680    @staticmethod
 681    def onclick(value) -> BaseAttribute:
 682        """
 683        "global" attribute: onclick
 684        click event handler
 685
 686        Args:
 687            value:
 688                Event handler content attribute
 689
 690        Returns:
 691            An onclick attribute to be added to your element
 692
 693        """
 694
 695        return BaseAttribute("onclick", value)
 696
 697    @staticmethod
 698    def onclose(value) -> BaseAttribute:
 699        """
 700        "global" attribute: onclose
 701        close event handler
 702
 703        Args:
 704            value:
 705                Event handler content attribute
 706
 707        Returns:
 708            An onclose attribute to be added to your element
 709
 710        """
 711
 712        return BaseAttribute("onclose", value)
 713
 714    @staticmethod
 715    def oncontextlost(value) -> BaseAttribute:
 716        """
 717        "global" attribute: oncontextlost
 718        contextlost event handler
 719
 720        Args:
 721            value:
 722                Event handler content attribute
 723
 724        Returns:
 725            An oncontextlost attribute to be added to your element
 726
 727        """
 728
 729        return BaseAttribute("oncontextlost", value)
 730
 731    @staticmethod
 732    def oncontextmenu(value) -> BaseAttribute:
 733        """
 734        "global" attribute: oncontextmenu
 735        contextmenu event handler
 736
 737        Args:
 738            value:
 739                Event handler content attribute
 740
 741        Returns:
 742            An oncontextmenu attribute to be added to your element
 743
 744        """
 745
 746        return BaseAttribute("oncontextmenu", value)
 747
 748    @staticmethod
 749    def oncontextrestored(value) -> BaseAttribute:
 750        """
 751        "global" attribute: oncontextrestored
 752        contextrestored event handler
 753
 754        Args:
 755            value:
 756                Event handler content attribute
 757
 758        Returns:
 759            An oncontextrestored attribute to be added to your element
 760
 761        """
 762
 763        return BaseAttribute("oncontextrestored", value)
 764
 765    @staticmethod
 766    def oncopy(value) -> BaseAttribute:
 767        """
 768        "global" attribute: oncopy
 769        copy event handler
 770
 771        Args:
 772            value:
 773                Event handler content attribute
 774
 775        Returns:
 776            An oncopy attribute to be added to your element
 777
 778        """
 779
 780        return BaseAttribute("oncopy", value)
 781
 782    @staticmethod
 783    def oncuechange(value) -> BaseAttribute:
 784        """
 785        "global" attribute: oncuechange
 786        cuechange event handler
 787
 788        Args:
 789            value:
 790                Event handler content attribute
 791
 792        Returns:
 793            An oncuechange attribute to be added to your element
 794
 795        """
 796
 797        return BaseAttribute("oncuechange", value)
 798
 799    @staticmethod
 800    def oncut(value) -> BaseAttribute:
 801        """
 802        "global" attribute: oncut
 803        cut event handler
 804
 805        Args:
 806            value:
 807                Event handler content attribute
 808
 809        Returns:
 810            An oncut attribute to be added to your element
 811
 812        """
 813
 814        return BaseAttribute("oncut", value)
 815
 816    @staticmethod
 817    def ondblclick(value) -> BaseAttribute:
 818        """
 819        "global" attribute: ondblclick
 820        dblclick event handler
 821
 822        Args:
 823            value:
 824                Event handler content attribute
 825
 826        Returns:
 827            An ondblclick attribute to be added to your element
 828
 829        """
 830
 831        return BaseAttribute("ondblclick", value)
 832
 833    @staticmethod
 834    def ondrag(value) -> BaseAttribute:
 835        """
 836        "global" attribute: ondrag
 837        drag event handler
 838
 839        Args:
 840            value:
 841                Event handler content attribute
 842
 843        Returns:
 844            An ondrag attribute to be added to your element
 845
 846        """
 847
 848        return BaseAttribute("ondrag", value)
 849
 850    @staticmethod
 851    def ondragend(value) -> BaseAttribute:
 852        """
 853        "global" attribute: ondragend
 854        dragend event handler
 855
 856        Args:
 857            value:
 858                Event handler content attribute
 859
 860        Returns:
 861            An ondragend attribute to be added to your element
 862
 863        """
 864
 865        return BaseAttribute("ondragend", value)
 866
 867    @staticmethod
 868    def ondragenter(value) -> BaseAttribute:
 869        """
 870        "global" attribute: ondragenter
 871        dragenter event handler
 872
 873        Args:
 874            value:
 875                Event handler content attribute
 876
 877        Returns:
 878            An ondragenter attribute to be added to your element
 879
 880        """
 881
 882        return BaseAttribute("ondragenter", value)
 883
 884    @staticmethod
 885    def ondragleave(value) -> BaseAttribute:
 886        """
 887        "global" attribute: ondragleave
 888        dragleave event handler
 889
 890        Args:
 891            value:
 892                Event handler content attribute
 893
 894        Returns:
 895            An ondragleave attribute to be added to your element
 896
 897        """
 898
 899        return BaseAttribute("ondragleave", value)
 900
 901    @staticmethod
 902    def ondragover(value) -> BaseAttribute:
 903        """
 904        "global" attribute: ondragover
 905        dragover event handler
 906
 907        Args:
 908            value:
 909                Event handler content attribute
 910
 911        Returns:
 912            An ondragover attribute to be added to your element
 913
 914        """
 915
 916        return BaseAttribute("ondragover", value)
 917
 918    @staticmethod
 919    def ondragstart(value) -> BaseAttribute:
 920        """
 921        "global" attribute: ondragstart
 922        dragstart event handler
 923
 924        Args:
 925            value:
 926                Event handler content attribute
 927
 928        Returns:
 929            An ondragstart attribute to be added to your element
 930
 931        """
 932
 933        return BaseAttribute("ondragstart", value)
 934
 935    @staticmethod
 936    def ondrop(value) -> BaseAttribute:
 937        """
 938        "global" attribute: ondrop
 939        drop event handler
 940
 941        Args:
 942            value:
 943                Event handler content attribute
 944
 945        Returns:
 946            An ondrop attribute to be added to your element
 947
 948        """
 949
 950        return BaseAttribute("ondrop", value)
 951
 952    @staticmethod
 953    def ondurationchange(value) -> BaseAttribute:
 954        """
 955        "global" attribute: ondurationchange
 956        durationchange event handler
 957
 958        Args:
 959            value:
 960                Event handler content attribute
 961
 962        Returns:
 963            An ondurationchange attribute to be added to your element
 964
 965        """
 966
 967        return BaseAttribute("ondurationchange", value)
 968
 969    @staticmethod
 970    def onemptied(value) -> BaseAttribute:
 971        """
 972        "global" attribute: onemptied
 973        emptied event handler
 974
 975        Args:
 976            value:
 977                Event handler content attribute
 978
 979        Returns:
 980            An onemptied attribute to be added to your element
 981
 982        """
 983
 984        return BaseAttribute("onemptied", value)
 985
 986    @staticmethod
 987    def onended(value) -> BaseAttribute:
 988        """
 989        "global" attribute: onended
 990        ended event handler
 991
 992        Args:
 993            value:
 994                Event handler content attribute
 995
 996        Returns:
 997            An onended attribute to be added to your element
 998
 999        """
1000
1001        return BaseAttribute("onended", value)
1002
1003    @staticmethod
1004    def onerror(value) -> BaseAttribute:
1005        """
1006        "global" attribute: onerror
1007        error event handler
1008
1009        Args:
1010            value:
1011                Event handler content attribute
1012
1013        Returns:
1014            An onerror attribute to be added to your element
1015
1016        """
1017
1018        return BaseAttribute("onerror", value)
1019
1020    @staticmethod
1021    def onfocus(value) -> BaseAttribute:
1022        """
1023        "global" attribute: onfocus
1024        focus event handler
1025
1026        Args:
1027            value:
1028                Event handler content attribute
1029
1030        Returns:
1031            An onfocus attribute to be added to your element
1032
1033        """
1034
1035        return BaseAttribute("onfocus", value)
1036
1037    @staticmethod
1038    def onformdata(value) -> BaseAttribute:
1039        """
1040        "global" attribute: onformdata
1041        formdata event handler
1042
1043        Args:
1044            value:
1045                Event handler content attribute
1046
1047        Returns:
1048            An onformdata attribute to be added to your element
1049
1050        """
1051
1052        return BaseAttribute("onformdata", value)
1053
1054    @staticmethod
1055    def oninput(value) -> BaseAttribute:
1056        """
1057        "global" attribute: oninput
1058        input event handler
1059
1060        Args:
1061            value:
1062                Event handler content attribute
1063
1064        Returns:
1065            An oninput attribute to be added to your element
1066
1067        """
1068
1069        return BaseAttribute("oninput", value)
1070
1071    @staticmethod
1072    def oninvalid(value) -> BaseAttribute:
1073        """
1074        "global" attribute: oninvalid
1075        invalid event handler
1076
1077        Args:
1078            value:
1079                Event handler content attribute
1080
1081        Returns:
1082            An oninvalid attribute to be added to your element
1083
1084        """
1085
1086        return BaseAttribute("oninvalid", value)
1087
1088    @staticmethod
1089    def onkeydown(value) -> BaseAttribute:
1090        """
1091        "global" attribute: onkeydown
1092        keydown event handler
1093
1094        Args:
1095            value:
1096                Event handler content attribute
1097
1098        Returns:
1099            An onkeydown attribute to be added to your element
1100
1101        """
1102
1103        return BaseAttribute("onkeydown", value)
1104
1105    @staticmethod
1106    def onkeypress(value) -> BaseAttribute:
1107        """
1108        "global" attribute: onkeypress
1109        keypress event handler
1110
1111        Args:
1112            value:
1113                Event handler content attribute
1114
1115        Returns:
1116            An onkeypress attribute to be added to your element
1117
1118        """
1119
1120        return BaseAttribute("onkeypress", value)
1121
1122    @staticmethod
1123    def onkeyup(value) -> BaseAttribute:
1124        """
1125        "global" attribute: onkeyup
1126        keyup event handler
1127
1128        Args:
1129            value:
1130                Event handler content attribute
1131
1132        Returns:
1133            An onkeyup attribute to be added to your element
1134
1135        """
1136
1137        return BaseAttribute("onkeyup", value)
1138
1139    @staticmethod
1140    def onload(value) -> BaseAttribute:
1141        """
1142        "global" attribute: onload
1143        load event handler
1144
1145        Args:
1146            value:
1147                Event handler content attribute
1148
1149        Returns:
1150            An onload attribute to be added to your element
1151
1152        """
1153
1154        return BaseAttribute("onload", value)
1155
1156    @staticmethod
1157    def onloadeddata(value) -> BaseAttribute:
1158        """
1159        "global" attribute: onloadeddata
1160        loadeddata event handler
1161
1162        Args:
1163            value:
1164                Event handler content attribute
1165
1166        Returns:
1167            An onloadeddata attribute to be added to your element
1168
1169        """
1170
1171        return BaseAttribute("onloadeddata", value)
1172
1173    @staticmethod
1174    def onloadedmetadata(value) -> BaseAttribute:
1175        """
1176        "global" attribute: onloadedmetadata
1177        loadedmetadata event handler
1178
1179        Args:
1180            value:
1181                Event handler content attribute
1182
1183        Returns:
1184            An onloadedmetadata attribute to be added to your element
1185
1186        """
1187
1188        return BaseAttribute("onloadedmetadata", value)
1189
1190    @staticmethod
1191    def onloadstart(value) -> BaseAttribute:
1192        """
1193        "global" attribute: onloadstart
1194        loadstart event handler
1195
1196        Args:
1197            value:
1198                Event handler content attribute
1199
1200        Returns:
1201            An onloadstart attribute to be added to your element
1202
1203        """
1204
1205        return BaseAttribute("onloadstart", value)
1206
1207    @staticmethod
1208    def onmousedown(value) -> BaseAttribute:
1209        """
1210        "global" attribute: onmousedown
1211        mousedown event handler
1212
1213        Args:
1214            value:
1215                Event handler content attribute
1216
1217        Returns:
1218            An onmousedown attribute to be added to your element
1219
1220        """
1221
1222        return BaseAttribute("onmousedown", value)
1223
1224    @staticmethod
1225    def onmouseenter(value) -> BaseAttribute:
1226        """
1227        "global" attribute: onmouseenter
1228        mouseenter event handler
1229
1230        Args:
1231            value:
1232                Event handler content attribute
1233
1234        Returns:
1235            An onmouseenter attribute to be added to your element
1236
1237        """
1238
1239        return BaseAttribute("onmouseenter", value)
1240
1241    @staticmethod
1242    def onmouseleave(value) -> BaseAttribute:
1243        """
1244        "global" attribute: onmouseleave
1245        mouseleave event handler
1246
1247        Args:
1248            value:
1249                Event handler content attribute
1250
1251        Returns:
1252            An onmouseleave attribute to be added to your element
1253
1254        """
1255
1256        return BaseAttribute("onmouseleave", value)
1257
1258    @staticmethod
1259    def onmousemove(value) -> BaseAttribute:
1260        """
1261        "global" attribute: onmousemove
1262        mousemove event handler
1263
1264        Args:
1265            value:
1266                Event handler content attribute
1267
1268        Returns:
1269            An onmousemove attribute to be added to your element
1270
1271        """
1272
1273        return BaseAttribute("onmousemove", value)
1274
1275    @staticmethod
1276    def onmouseout(value) -> BaseAttribute:
1277        """
1278        "global" attribute: onmouseout
1279        mouseout event handler
1280
1281        Args:
1282            value:
1283                Event handler content attribute
1284
1285        Returns:
1286            An onmouseout attribute to be added to your element
1287
1288        """
1289
1290        return BaseAttribute("onmouseout", value)
1291
1292    @staticmethod
1293    def onmouseover(value) -> BaseAttribute:
1294        """
1295        "global" attribute: onmouseover
1296        mouseover event handler
1297
1298        Args:
1299            value:
1300                Event handler content attribute
1301
1302        Returns:
1303            An onmouseover attribute to be added to your element
1304
1305        """
1306
1307        return BaseAttribute("onmouseover", value)
1308
1309    @staticmethod
1310    def onmouseup(value) -> BaseAttribute:
1311        """
1312        "global" attribute: onmouseup
1313        mouseup event handler
1314
1315        Args:
1316            value:
1317                Event handler content attribute
1318
1319        Returns:
1320            An onmouseup attribute to be added to your element
1321
1322        """
1323
1324        return BaseAttribute("onmouseup", value)
1325
1326    @staticmethod
1327    def onpaste(value) -> BaseAttribute:
1328        """
1329        "global" attribute: onpaste
1330        paste event handler
1331
1332        Args:
1333            value:
1334                Event handler content attribute
1335
1336        Returns:
1337            An onpaste attribute to be added to your element
1338
1339        """
1340
1341        return BaseAttribute("onpaste", value)
1342
1343    @staticmethod
1344    def onpause(value) -> BaseAttribute:
1345        """
1346        "global" attribute: onpause
1347        pause event handler
1348
1349        Args:
1350            value:
1351                Event handler content attribute
1352
1353        Returns:
1354            An onpause attribute to be added to your element
1355
1356        """
1357
1358        return BaseAttribute("onpause", value)
1359
1360    @staticmethod
1361    def onplay(value) -> BaseAttribute:
1362        """
1363        "global" attribute: onplay
1364        play event handler
1365
1366        Args:
1367            value:
1368                Event handler content attribute
1369
1370        Returns:
1371            An onplay attribute to be added to your element
1372
1373        """
1374
1375        return BaseAttribute("onplay", value)
1376
1377    @staticmethod
1378    def onplaying(value) -> BaseAttribute:
1379        """
1380        "global" attribute: onplaying
1381        playing event handler
1382
1383        Args:
1384            value:
1385                Event handler content attribute
1386
1387        Returns:
1388            An onplaying attribute to be added to your element
1389
1390        """
1391
1392        return BaseAttribute("onplaying", value)
1393
1394    @staticmethod
1395    def onprogress(value) -> BaseAttribute:
1396        """
1397        "global" attribute: onprogress
1398        progress event handler
1399
1400        Args:
1401            value:
1402                Event handler content attribute
1403
1404        Returns:
1405            An onprogress attribute to be added to your element
1406
1407        """
1408
1409        return BaseAttribute("onprogress", value)
1410
1411    @staticmethod
1412    def onratechange(value) -> BaseAttribute:
1413        """
1414        "global" attribute: onratechange
1415        ratechange event handler
1416
1417        Args:
1418            value:
1419                Event handler content attribute
1420
1421        Returns:
1422            An onratechange attribute to be added to your element
1423
1424        """
1425
1426        return BaseAttribute("onratechange", value)
1427
1428    @staticmethod
1429    def onreset(value) -> BaseAttribute:
1430        """
1431        "global" attribute: onreset
1432        reset event handler
1433
1434        Args:
1435            value:
1436                Event handler content attribute
1437
1438        Returns:
1439            An onreset attribute to be added to your element
1440
1441        """
1442
1443        return BaseAttribute("onreset", value)
1444
1445    @staticmethod
1446    def onresize(value) -> BaseAttribute:
1447        """
1448        "global" attribute: onresize
1449        resize event handler
1450
1451        Args:
1452            value:
1453                Event handler content attribute
1454
1455        Returns:
1456            An onresize attribute to be added to your element
1457
1458        """
1459
1460        return BaseAttribute("onresize", value)
1461
1462    @staticmethod
1463    def onscroll(value) -> BaseAttribute:
1464        """
1465        "global" attribute: onscroll
1466        scroll event handler
1467
1468        Args:
1469            value:
1470                Event handler content attribute
1471
1472        Returns:
1473            An onscroll attribute to be added to your element
1474
1475        """
1476
1477        return BaseAttribute("onscroll", value)
1478
1479    @staticmethod
1480    def onscrollend(value) -> BaseAttribute:
1481        """
1482        "global" attribute: onscrollend
1483        scrollend event handler
1484
1485        Args:
1486            value:
1487                Event handler content attribute
1488
1489        Returns:
1490            An onscrollend attribute to be added to your element
1491
1492        """
1493
1494        return BaseAttribute("onscrollend", value)
1495
1496    @staticmethod
1497    def onsecuritypolicyviolation(value) -> BaseAttribute:
1498        """
1499        "global" attribute: onsecuritypolicyviolation
1500        securitypolicyviolation event handler
1501
1502        Args:
1503            value:
1504                Event handler content attribute
1505
1506        Returns:
1507            An onsecuritypolicyviolation attribute to be added to your element
1508
1509        """
1510
1511        return BaseAttribute("onsecuritypolicyviolation", value)
1512
1513    @staticmethod
1514    def onseeked(value) -> BaseAttribute:
1515        """
1516        "global" attribute: onseeked
1517        seeked event handler
1518
1519        Args:
1520            value:
1521                Event handler content attribute
1522
1523        Returns:
1524            An onseeked attribute to be added to your element
1525
1526        """
1527
1528        return BaseAttribute("onseeked", value)
1529
1530    @staticmethod
1531    def onseeking(value) -> BaseAttribute:
1532        """
1533        "global" attribute: onseeking
1534        seeking event handler
1535
1536        Args:
1537            value:
1538                Event handler content attribute
1539
1540        Returns:
1541            An onseeking attribute to be added to your element
1542
1543        """
1544
1545        return BaseAttribute("onseeking", value)
1546
1547    @staticmethod
1548    def onselect(value) -> BaseAttribute:
1549        """
1550        "global" attribute: onselect
1551        select event handler
1552
1553        Args:
1554            value:
1555                Event handler content attribute
1556
1557        Returns:
1558            An onselect attribute to be added to your element
1559
1560        """
1561
1562        return BaseAttribute("onselect", value)
1563
1564    @staticmethod
1565    def onslotchange(value) -> BaseAttribute:
1566        """
1567        "global" attribute: onslotchange
1568        slotchange event handler
1569
1570        Args:
1571            value:
1572                Event handler content attribute
1573
1574        Returns:
1575            An onslotchange attribute to be added to your element
1576
1577        """
1578
1579        return BaseAttribute("onslotchange", value)
1580
1581    @staticmethod
1582    def onstalled(value) -> BaseAttribute:
1583        """
1584        "global" attribute: onstalled
1585        stalled event handler
1586
1587        Args:
1588            value:
1589                Event handler content attribute
1590
1591        Returns:
1592            An onstalled attribute to be added to your element
1593
1594        """
1595
1596        return BaseAttribute("onstalled", value)
1597
1598    @staticmethod
1599    def onsubmit(value) -> BaseAttribute:
1600        """
1601        "global" attribute: onsubmit
1602        submit event handler
1603
1604        Args:
1605            value:
1606                Event handler content attribute
1607
1608        Returns:
1609            An onsubmit attribute to be added to your element
1610
1611        """
1612
1613        return BaseAttribute("onsubmit", value)
1614
1615    @staticmethod
1616    def onsuspend(value) -> BaseAttribute:
1617        """
1618        "global" attribute: onsuspend
1619        suspend event handler
1620
1621        Args:
1622            value:
1623                Event handler content attribute
1624
1625        Returns:
1626            An onsuspend attribute to be added to your element
1627
1628        """
1629
1630        return BaseAttribute("onsuspend", value)
1631
1632    @staticmethod
1633    def ontimeupdate(value) -> BaseAttribute:
1634        """
1635        "global" attribute: ontimeupdate
1636        timeupdate event handler
1637
1638        Args:
1639            value:
1640                Event handler content attribute
1641
1642        Returns:
1643            An ontimeupdate attribute to be added to your element
1644
1645        """
1646
1647        return BaseAttribute("ontimeupdate", value)
1648
1649    @staticmethod
1650    def ontoggle(value) -> BaseAttribute:
1651        """
1652        "global" attribute: ontoggle
1653        toggle event handler
1654
1655        Args:
1656            value:
1657                Event handler content attribute
1658
1659        Returns:
1660            An ontoggle attribute to be added to your element
1661
1662        """
1663
1664        return BaseAttribute("ontoggle", value)
1665
1666    @staticmethod
1667    def onvolumechange(value) -> BaseAttribute:
1668        """
1669        "global" attribute: onvolumechange
1670        volumechange event handler
1671
1672        Args:
1673            value:
1674                Event handler content attribute
1675
1676        Returns:
1677            An onvolumechange attribute to be added to your element
1678
1679        """
1680
1681        return BaseAttribute("onvolumechange", value)
1682
1683    @staticmethod
1684    def onwaiting(value) -> BaseAttribute:
1685        """
1686        "global" attribute: onwaiting
1687        waiting event handler
1688
1689        Args:
1690            value:
1691                Event handler content attribute
1692
1693        Returns:
1694            An onwaiting attribute to be added to your element
1695
1696        """
1697
1698        return BaseAttribute("onwaiting", value)
1699
1700    @staticmethod
1701    def onwheel(value) -> BaseAttribute:
1702        """
1703        "global" attribute: onwheel
1704        wheel event handler
1705
1706        Args:
1707            value:
1708                Event handler content attribute
1709
1710        Returns:
1711            An onwheel attribute to be added to your element
1712
1713        """
1714
1715        return BaseAttribute("onwheel", value)

This module contains classes for all global attributes. Elements can inherit it so the element can be a reference to our attributes

@staticmethod
def accesskey( value: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]]) -> html_compose.base_attribute.BaseAttribute:
13    @staticmethod
14    def accesskey(value: Resolvable) -> BaseAttribute:
15        """
16        "global" attribute: accesskey
17        Keyboard shortcut to activate or focus element
18
19        Args:
20            value:
21                Ordered set of unique space-separated tokens, none of which are identical to another, each consisting of one code point in length
22
23        Returns:
24            An accesskey attribute to be added to your element
25
26        """
27
28        return BaseAttribute("accesskey", value)

"global" attribute: accesskey Keyboard shortcut to activate or focus element

Args: value: Ordered set of unique space-separated tokens, none of which are identical to another, each consisting of one code point in length

Returns: An accesskey attribute to be added to your element

@staticmethod
def autocapitalize( value: Literal['on', 'off', 'none', 'sentences', 'words', 'characters']) -> html_compose.base_attribute.BaseAttribute:
30    @staticmethod
31    def autocapitalize(
32        value: Literal["on", "off", "none", "sentences", "words", "characters"],
33    ) -> BaseAttribute:
34        """
35        "global" attribute: autocapitalize
36        Recommended autocapitalization behavior (for supported input methods)
37
38        Args:
39            value:
40                ['on', 'off', 'none', 'sentences', 'words', 'characters']
41
42        Returns:
43            An autocapitalize attribute to be added to your element
44
45        """
46
47        return BaseAttribute("autocapitalize", value)

"global" attribute: autocapitalize Recommended autocapitalization behavior (for supported input methods)

Args: value: ['on', 'off', 'none', 'sentences', 'words', 'characters']

Returns: An autocapitalize attribute to be added to your element

@staticmethod
def autocorrect(value: Literal['on', 'off']) -> html_compose.base_attribute.BaseAttribute:
49    @staticmethod
50    def autocorrect(value: Literal["on", "off"]) -> BaseAttribute:
51        """
52        "global" attribute: autocorrect
53        Recommended autocorrection behavior (for supported input methods)
54
55        Args:
56            value:
57                ['on', 'off']
58
59        Returns:
60            An autocorrect attribute to be added to your element
61
62        """
63
64        return BaseAttribute("autocorrect", value)

"global" attribute: autocorrect Recommended autocorrection behavior (for supported input methods)

Args: value: ['on', 'off']

Returns: An autocorrect attribute to be added to your element

@staticmethod
def autofocus(value: bool) -> html_compose.base_attribute.BaseAttribute:
66    @staticmethod
67    def autofocus(value: bool) -> BaseAttribute:
68        """
69        "global" attribute: autofocus
70        Automatically focus the element when the page is loaded
71
72        Args:
73            value:
74                Boolean attribute
75
76        Returns:
77            An autofocus attribute to be added to your element
78
79        """
80
81        return BaseAttribute("autofocus", value)

"global" attribute: autofocus Automatically focus the element when the page is loaded

Args: value: Boolean attribute

Returns: An autofocus attribute to be added to your element

@staticmethod
def class_( value: Union[str, float, int, bool, Iterable[str | float | int | bool]]) -> html_compose.base_attribute.BaseAttribute:
83    @staticmethod
84    def class_(value: StrLike | Iterable[StrLike]) -> BaseAttribute:
85        """
86        "global" attribute: class
87        Classes to which the element belongs
88
89        Args:
90            value:
91                Set of space-separated tokens
92
93        Returns:
94            An class attribute to be added to your element
95
96        """
97
98        return BaseAttribute("class", value)

"global" attribute: class Classes to which the element belongs

Args: value: Set of space-separated tokens

Returns: An class attribute to be added to your element

@staticmethod
def contenteditable( value: Literal['true', 'plaintext-only', 'false']) -> html_compose.base_attribute.BaseAttribute:
100    @staticmethod
101    def contenteditable(
102        value: Literal["true", "plaintext-only", "false"],
103    ) -> BaseAttribute:
104        """
105        "global" attribute: contenteditable
106        Whether the element is editable
107
108        Args:
109            value:
110                ['true', 'plaintext-only', 'false']
111
112        Returns:
113            An contenteditable attribute to be added to your element
114
115        """
116
117        return BaseAttribute("contenteditable", value)

"global" attribute: contenteditable Whether the element is editable

Args: value: ['true', 'plaintext-only', 'false']

Returns: An contenteditable attribute to be added to your element

@staticmethod
def dir( value: Literal['ltr', 'rtl', 'auto']) -> html_compose.base_attribute.BaseAttribute:
119    @staticmethod
120    def dir(value: Literal["ltr", "rtl", "auto"]) -> BaseAttribute:
121        """
122        "global" attribute: dir
123        The text directionality of the element
124
125        Args:
126            value:
127                ['ltr', 'rtl', 'auto']
128
129        Returns:
130            An dir attribute to be added to your element
131
132        """
133
134        return BaseAttribute("dir", value)

"global" attribute: dir The text directionality of the element

Args: value: ['ltr', 'rtl', 'auto']

Returns: An dir attribute to be added to your element

@staticmethod
def draggable( value: Literal['true', 'false']) -> html_compose.base_attribute.BaseAttribute:
136    @staticmethod
137    def draggable(value: Literal["true", "false"]) -> BaseAttribute:
138        """
139        "global" attribute: draggable
140        Whether the element is draggable
141
142        Args:
143            value:
144                ['true', 'false']
145
146        Returns:
147            An draggable attribute to be added to your element
148
149        """
150
151        return BaseAttribute("draggable", value)

"global" attribute: draggable Whether the element is draggable

Args: value: ['true', 'false']

Returns: An draggable attribute to be added to your element

@staticmethod
def enterkeyhint( value: Literal['enter', 'done', 'go', 'next', 'previous', 'search', 'send']) -> html_compose.base_attribute.BaseAttribute:
153    @staticmethod
154    def enterkeyhint(
155        value: Literal[
156            "enter", "done", "go", "next", "previous", "search", "send"
157        ],
158    ) -> BaseAttribute:
159        """
160        "global" attribute: enterkeyhint
161        Hint for selecting an enter key action
162
163        Args:
164            value:
165                ['enter', 'done', 'go', 'next', 'previous', 'search', 'send']
166
167        Returns:
168            An enterkeyhint attribute to be added to your element
169
170        """
171
172        return BaseAttribute("enterkeyhint", value)

"global" attribute: enterkeyhint Hint for selecting an enter key action

Args: value: ['enter', 'done', 'go', 'next', 'previous', 'search', 'send']

Returns: An enterkeyhint attribute to be added to your element

@staticmethod
def hidden( value: Literal['until-found', 'hidden', '']) -> html_compose.base_attribute.BaseAttribute:
174    @staticmethod
175    def hidden(value: Literal["until-found", "hidden", ""]) -> BaseAttribute:
176        """
177        "global" attribute: hidden
178        Whether the element is relevant
179
180        Args:
181            value:
182                ['until-found', 'hidden', '']
183
184        Returns:
185            An hidden attribute to be added to your element
186
187        """
188
189        return BaseAttribute("hidden", value)

"global" attribute: hidden Whether the element is relevant

Args: value: ['until-found', 'hidden', '']

Returns: An hidden attribute to be added to your element

@staticmethod
def id( value: str | float | int | bool) -> html_compose.base_attribute.BaseAttribute:
191    @staticmethod
192    def id(value: StrLike) -> BaseAttribute:
193        """
194        "global" attribute: id
195        The element's ID
196
197        Args:
198            value:
199                Text*
200
201        Returns:
202            An id attribute to be added to your element
203
204        """
205
206        return BaseAttribute("id", value)

"global" attribute: id The element's ID

Args: value: Text*

Returns: An id attribute to be added to your element

@staticmethod
def inert(value: bool) -> html_compose.base_attribute.BaseAttribute:
208    @staticmethod
209    def inert(value: bool) -> BaseAttribute:
210        """
211        "global" attribute: inert
212        Whether the element is inert.
213
214        Args:
215            value:
216                Boolean attribute
217
218        Returns:
219            An inert attribute to be added to your element
220
221        """
222
223        return BaseAttribute("inert", value)

"global" attribute: inert Whether the element is inert.

Args: value: Boolean attribute

Returns: An inert attribute to be added to your element

@staticmethod
def inputmode( value: Literal['none', 'text', 'tel', 'email', 'url', 'numeric', 'decimal', 'search']) -> html_compose.base_attribute.BaseAttribute:
225    @staticmethod
226    def inputmode(
227        value: Literal[
228            "none",
229            "text",
230            "tel",
231            "email",
232            "url",
233            "numeric",
234            "decimal",
235            "search",
236        ],
237    ) -> BaseAttribute:
238        """
239        "global" attribute: inputmode
240        Hint for selecting an input modality
241
242        Args:
243            value:
244                ['none', 'text', 'tel', 'email', 'url', 'numeric', 'decimal', 'search']
245
246        Returns:
247            An inputmode attribute to be added to your element
248
249        """
250
251        return BaseAttribute("inputmode", value)

"global" attribute: inputmode Hint for selecting an input modality

Args: value: ['none', 'text', 'tel', 'email', 'url', 'numeric', 'decimal', 'search']

Returns: An inputmode attribute to be added to your element

@staticmethod
def is_(value) -> html_compose.base_attribute.BaseAttribute:
253    @staticmethod
254    def is_(value) -> BaseAttribute:
255        """
256        "global" attribute: is
257        Creates a customized built-in element
258
259        Args:
260            value:
261                Valid custom element name of a defined customized built-in element
262
263        Returns:
264            An is attribute to be added to your element
265
266        """
267
268        return BaseAttribute("is", value)

"global" attribute: is Creates a customized built-in element

Args: value: Valid custom element name of a defined customized built-in element

Returns: An is attribute to be added to your element

@staticmethod
def itemid(value) -> html_compose.base_attribute.BaseAttribute:
270    @staticmethod
271    def itemid(value) -> BaseAttribute:
272        """
273        "global" attribute: itemid
274        Global identifier for a microdata item
275
276        Args:
277            value:
278                Valid URL potentially surrounded by spaces
279
280        Returns:
281            An itemid attribute to be added to your element
282
283        """
284
285        return BaseAttribute("itemid", value)

"global" attribute: itemid Global identifier for a microdata item

Args: value: Valid URL potentially surrounded by spaces

Returns: An itemid attribute to be added to your element

@staticmethod
def itemprop( value: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]]) -> html_compose.base_attribute.BaseAttribute:
287    @staticmethod
288    def itemprop(value: Resolvable) -> BaseAttribute:
289        """
290        "global" attribute: itemprop
291        Property names of a microdata item
292
293        Args:
294            value:
295                Unordered set of unique space-separated tokens consisting of valid absolute URLs, defined property names, or text*
296
297        Returns:
298            An itemprop attribute to be added to your element
299
300        """
301
302        return BaseAttribute("itemprop", value)

"global" attribute: itemprop Property names of a microdata item

Args: value: Unordered set of unique space-separated tokens consisting of valid absolute URLs, defined property names, or text*

Returns: An itemprop attribute to be added to your element

@staticmethod
def itemref( value: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]]) -> html_compose.base_attribute.BaseAttribute:
304    @staticmethod
305    def itemref(value: Resolvable) -> BaseAttribute:
306        """
307        "global" attribute: itemref
308        Referenced elements
309
310        Args:
311            value:
312                Unordered set of unique space-separated tokens consisting of IDs*
313
314        Returns:
315            An itemref attribute to be added to your element
316
317        """
318
319        return BaseAttribute("itemref", value)

"global" attribute: itemref Referenced elements

Args: value: Unordered set of unique space-separated tokens consisting of IDs*

Returns: An itemref attribute to be added to your element

@staticmethod
def itemscope(value: bool) -> html_compose.base_attribute.BaseAttribute:
321    @staticmethod
322    def itemscope(value: bool) -> BaseAttribute:
323        """
324        "global" attribute: itemscope
325        Introduces a microdata item
326
327        Args:
328            value:
329                Boolean attribute
330
331        Returns:
332            An itemscope attribute to be added to your element
333
334        """
335
336        return BaseAttribute("itemscope", value)

"global" attribute: itemscope Introduces a microdata item

Args: value: Boolean attribute

Returns: An itemscope attribute to be added to your element

@staticmethod
def itemtype( value: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]]) -> html_compose.base_attribute.BaseAttribute:
338    @staticmethod
339    def itemtype(value: Resolvable) -> BaseAttribute:
340        """
341        "global" attribute: itemtype
342        Item types of a microdata item
343
344        Args:
345            value:
346                Unordered set of unique space-separated tokens consisting of valid absolute URLs*
347
348        Returns:
349            An itemtype attribute to be added to your element
350
351        """
352
353        return BaseAttribute("itemtype", value)

"global" attribute: itemtype Item types of a microdata item

Args: value: Unordered set of unique space-separated tokens consisting of valid absolute URLs*

Returns: An itemtype attribute to be added to your element

@staticmethod
def lang(value) -> html_compose.base_attribute.BaseAttribute:
355    @staticmethod
356    def lang(value) -> BaseAttribute:
357        """
358        "global" attribute: lang
359        Language of the element
360
361        Args:
362            value:
363                Valid BCP 47 language tag or the empty string
364
365        Returns:
366            An lang attribute to be added to your element
367
368        """
369
370        return BaseAttribute("lang", value)

"global" attribute: lang Language of the element

Args: value: Valid BCP 47 language tag or the empty string

Returns: An lang attribute to be added to your element

@staticmethod
def nonce( value: str | float | int | bool) -> html_compose.base_attribute.BaseAttribute:
372    @staticmethod
373    def nonce(value: StrLike) -> BaseAttribute:
374        """
375        "global" attribute: nonce
376        Cryptographic nonce used in Content Security Policy checks [CSP]
377
378        Args:
379            value:
380                Text
381
382        Returns:
383            An nonce attribute to be added to your element
384
385        """
386
387        return BaseAttribute("nonce", value)

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

Args: value: Text

Returns: An nonce attribute to be added to your element

@staticmethod
def popover( value: Literal['auto', 'manual']) -> html_compose.base_attribute.BaseAttribute:
389    @staticmethod
390    def popover(value: Literal["auto", "manual"]) -> BaseAttribute:
391        """
392        "global" attribute: popover
393        Makes the element a popover element
394
395        Args:
396            value:
397                ['auto', 'manual']
398
399        Returns:
400            An popover attribute to be added to your element
401
402        """
403
404        return BaseAttribute("popover", value)

"global" attribute: popover Makes the element a popover element

Args: value: ['auto', 'manual']

Returns: An popover attribute to be added to your element

@staticmethod
def slot( value: str | float | int | bool) -> html_compose.base_attribute.BaseAttribute:
406    @staticmethod
407    def slot(value: StrLike) -> BaseAttribute:
408        """
409        "global" attribute: slot
410        The element's desired slot
411
412        Args:
413            value:
414                Text
415
416        Returns:
417            An slot attribute to be added to your element
418
419        """
420
421        return BaseAttribute("slot", value)

"global" attribute: slot The element's desired slot

Args: value: Text

Returns: An slot attribute to be added to your element

@staticmethod
def spellcheck( value: Literal['true', 'false', '']) -> html_compose.base_attribute.BaseAttribute:
423    @staticmethod
424    def spellcheck(value: Literal["true", "false", ""]) -> BaseAttribute:
425        """
426        "global" attribute: spellcheck
427        Whether the element is to have its spelling and grammar checked
428
429        Args:
430            value:
431                ['true', 'false', '']
432
433        Returns:
434            An spellcheck attribute to be added to your element
435
436        """
437
438        return BaseAttribute("spellcheck", value)

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

Args: value: ['true', 'false', '']

Returns: An spellcheck attribute to be added to your element

@staticmethod
def style( value: 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]]) -> html_compose.base_attribute.BaseAttribute:
440    @staticmethod
441    def style(value: Resolvable | Mapping[StrLike, StrLike]) -> BaseAttribute:
442        """
443        "global" attribute: style
444        Presentational and formatting instructions
445
446        Args:
447            value:
448                CSS declarations*
449
450        Returns:
451            An style attribute to be added to your element
452
453        """
454
455        return BaseAttribute("style", value, delimiter="; ")

"global" attribute: style Presentational and formatting instructions

Args: value: CSS declarations*

Returns: An style attribute to be added to your element

@staticmethod
def tabindex(value: int) -> html_compose.base_attribute.BaseAttribute:
457    @staticmethod
458    def tabindex(value: int) -> BaseAttribute:
459        """
460        "global" attribute: tabindex
461        Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation
462
463        Args:
464            value:
465                Valid integer
466
467        Returns:
468            An tabindex attribute to be added to your element
469
470        """
471
472        return BaseAttribute("tabindex", value)

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

Args: value: Valid integer

Returns: An tabindex attribute to be added to your element

@staticmethod
def title( value: str | float | int | bool) -> html_compose.base_attribute.BaseAttribute:
474    @staticmethod
475    def title(value: StrLike) -> BaseAttribute:
476        """
477        "global" attribute: title
478        Advisory information for the element
479
480        Args:
481            value:
482                Text
483
484        Returns:
485            An title attribute to be added to your element
486
487        """
488
489        return BaseAttribute("title", value)

"global" attribute: title Advisory information for the element

Args: value: Text

Returns: An title attribute to be added to your element

@staticmethod
def translate(value: Literal['yes', 'no']) -> html_compose.base_attribute.BaseAttribute:
491    @staticmethod
492    def translate(value: Literal["yes", "no"]) -> BaseAttribute:
493        """
494        "global" attribute: translate
495        Whether the element is to be translated when the page is localized
496
497        Args:
498            value:
499                ['yes', 'no']
500
501        Returns:
502            An translate attribute to be added to your element
503
504        """
505
506        return BaseAttribute("translate", value)

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

Args: value: ['yes', 'no']

Returns: An translate attribute to be added to your element

@staticmethod
def writingsuggestions( value: Literal['true', 'false', '']) -> html_compose.base_attribute.BaseAttribute:
508    @staticmethod
509    def writingsuggestions(
510        value: Literal["true", "false", ""],
511    ) -> BaseAttribute:
512        """
513        "global" attribute: writingsuggestions
514        Whether the element can offer writing suggestions or not.
515
516        Args:
517            value:
518                ['true', 'false', '']
519
520        Returns:
521            An writingsuggestions attribute to be added to your element
522
523        """
524
525        return BaseAttribute("writingsuggestions", value)

"global" attribute: writingsuggestions Whether the element can offer writing suggestions or not.

Args: value: ['true', 'false', '']

Returns: An writingsuggestions attribute to be added to your element

@staticmethod
def onauxclick(value) -> html_compose.base_attribute.BaseAttribute:
527    @staticmethod
528    def onauxclick(value) -> BaseAttribute:
529        """
530        "global" attribute: onauxclick
531        auxclick event handler
532
533        Args:
534            value:
535                Event handler content attribute
536
537        Returns:
538            An onauxclick attribute to be added to your element
539
540        """
541
542        return BaseAttribute("onauxclick", value)

"global" attribute: onauxclick auxclick event handler

Args: value: Event handler content attribute

Returns: An onauxclick attribute to be added to your element

@staticmethod
def onbeforeinput(value) -> html_compose.base_attribute.BaseAttribute:
544    @staticmethod
545    def onbeforeinput(value) -> BaseAttribute:
546        """
547        "global" attribute: onbeforeinput
548        beforeinput event handler
549
550        Args:
551            value:
552                Event handler content attribute
553
554        Returns:
555            An onbeforeinput attribute to be added to your element
556
557        """
558
559        return BaseAttribute("onbeforeinput", value)

"global" attribute: onbeforeinput beforeinput event handler

Args: value: Event handler content attribute

Returns: An onbeforeinput attribute to be added to your element

@staticmethod
def onbeforematch(value) -> html_compose.base_attribute.BaseAttribute:
561    @staticmethod
562    def onbeforematch(value) -> BaseAttribute:
563        """
564        "global" attribute: onbeforematch
565        beforematch event handler
566
567        Args:
568            value:
569                Event handler content attribute
570
571        Returns:
572            An onbeforematch attribute to be added to your element
573
574        """
575
576        return BaseAttribute("onbeforematch", value)

"global" attribute: onbeforematch beforematch event handler

Args: value: Event handler content attribute

Returns: An onbeforematch attribute to be added to your element

@staticmethod
def onbeforetoggle(value) -> html_compose.base_attribute.BaseAttribute:
578    @staticmethod
579    def onbeforetoggle(value) -> BaseAttribute:
580        """
581        "global" attribute: onbeforetoggle
582        beforetoggle event handler
583
584        Args:
585            value:
586                Event handler content attribute
587
588        Returns:
589            An onbeforetoggle attribute to be added to your element
590
591        """
592
593        return BaseAttribute("onbeforetoggle", value)

"global" attribute: onbeforetoggle beforetoggle event handler

Args: value: Event handler content attribute

Returns: An onbeforetoggle attribute to be added to your element

@staticmethod
def onblur(value) -> html_compose.base_attribute.BaseAttribute:
595    @staticmethod
596    def onblur(value) -> BaseAttribute:
597        """
598        "global" attribute: onblur
599        blur event handler
600
601        Args:
602            value:
603                Event handler content attribute
604
605        Returns:
606            An onblur attribute to be added to your element
607
608        """
609
610        return BaseAttribute("onblur", value)

"global" attribute: onblur blur event handler

Args: value: Event handler content attribute

Returns: An onblur attribute to be added to your element

@staticmethod
def oncancel(value) -> html_compose.base_attribute.BaseAttribute:
612    @staticmethod
613    def oncancel(value) -> BaseAttribute:
614        """
615        "global" attribute: oncancel
616        cancel event handler
617
618        Args:
619            value:
620                Event handler content attribute
621
622        Returns:
623            An oncancel attribute to be added to your element
624
625        """
626
627        return BaseAttribute("oncancel", value)

"global" attribute: oncancel cancel event handler

Args: value: Event handler content attribute

Returns: An oncancel attribute to be added to your element

@staticmethod
def oncanplay(value) -> html_compose.base_attribute.BaseAttribute:
629    @staticmethod
630    def oncanplay(value) -> BaseAttribute:
631        """
632        "global" attribute: oncanplay
633        canplay event handler
634
635        Args:
636            value:
637                Event handler content attribute
638
639        Returns:
640            An oncanplay attribute to be added to your element
641
642        """
643
644        return BaseAttribute("oncanplay", value)

"global" attribute: oncanplay canplay event handler

Args: value: Event handler content attribute

Returns: An oncanplay attribute to be added to your element

@staticmethod
def oncanplaythrough(value) -> html_compose.base_attribute.BaseAttribute:
646    @staticmethod
647    def oncanplaythrough(value) -> BaseAttribute:
648        """
649        "global" attribute: oncanplaythrough
650        canplaythrough event handler
651
652        Args:
653            value:
654                Event handler content attribute
655
656        Returns:
657            An oncanplaythrough attribute to be added to your element
658
659        """
660
661        return BaseAttribute("oncanplaythrough", value)

"global" attribute: oncanplaythrough canplaythrough event handler

Args: value: Event handler content attribute

Returns: An oncanplaythrough attribute to be added to your element

@staticmethod
def onchange(value) -> html_compose.base_attribute.BaseAttribute:
663    @staticmethod
664    def onchange(value) -> BaseAttribute:
665        """
666        "global" attribute: onchange
667        change event handler
668
669        Args:
670            value:
671                Event handler content attribute
672
673        Returns:
674            An onchange attribute to be added to your element
675
676        """
677
678        return BaseAttribute("onchange", value)

"global" attribute: onchange change event handler

Args: value: Event handler content attribute

Returns: An onchange attribute to be added to your element

@staticmethod
def onclick(value) -> html_compose.base_attribute.BaseAttribute:
680    @staticmethod
681    def onclick(value) -> BaseAttribute:
682        """
683        "global" attribute: onclick
684        click event handler
685
686        Args:
687            value:
688                Event handler content attribute
689
690        Returns:
691            An onclick attribute to be added to your element
692
693        """
694
695        return BaseAttribute("onclick", value)

"global" attribute: onclick click event handler

Args: value: Event handler content attribute

Returns: An onclick attribute to be added to your element

@staticmethod
def onclose(value) -> html_compose.base_attribute.BaseAttribute:
697    @staticmethod
698    def onclose(value) -> BaseAttribute:
699        """
700        "global" attribute: onclose
701        close event handler
702
703        Args:
704            value:
705                Event handler content attribute
706
707        Returns:
708            An onclose attribute to be added to your element
709
710        """
711
712        return BaseAttribute("onclose", value)

"global" attribute: onclose close event handler

Args: value: Event handler content attribute

Returns: An onclose attribute to be added to your element

@staticmethod
def oncontextlost(value) -> html_compose.base_attribute.BaseAttribute:
714    @staticmethod
715    def oncontextlost(value) -> BaseAttribute:
716        """
717        "global" attribute: oncontextlost
718        contextlost event handler
719
720        Args:
721            value:
722                Event handler content attribute
723
724        Returns:
725            An oncontextlost attribute to be added to your element
726
727        """
728
729        return BaseAttribute("oncontextlost", value)

"global" attribute: oncontextlost contextlost event handler

Args: value: Event handler content attribute

Returns: An oncontextlost attribute to be added to your element

@staticmethod
def oncontextmenu(value) -> html_compose.base_attribute.BaseAttribute:
731    @staticmethod
732    def oncontextmenu(value) -> BaseAttribute:
733        """
734        "global" attribute: oncontextmenu
735        contextmenu event handler
736
737        Args:
738            value:
739                Event handler content attribute
740
741        Returns:
742            An oncontextmenu attribute to be added to your element
743
744        """
745
746        return BaseAttribute("oncontextmenu", value)

"global" attribute: oncontextmenu contextmenu event handler

Args: value: Event handler content attribute

Returns: An oncontextmenu attribute to be added to your element

@staticmethod
def oncontextrestored(value) -> html_compose.base_attribute.BaseAttribute:
748    @staticmethod
749    def oncontextrestored(value) -> BaseAttribute:
750        """
751        "global" attribute: oncontextrestored
752        contextrestored event handler
753
754        Args:
755            value:
756                Event handler content attribute
757
758        Returns:
759            An oncontextrestored attribute to be added to your element
760
761        """
762
763        return BaseAttribute("oncontextrestored", value)

"global" attribute: oncontextrestored contextrestored event handler

Args: value: Event handler content attribute

Returns: An oncontextrestored attribute to be added to your element

@staticmethod
def oncopy(value) -> html_compose.base_attribute.BaseAttribute:
765    @staticmethod
766    def oncopy(value) -> BaseAttribute:
767        """
768        "global" attribute: oncopy
769        copy event handler
770
771        Args:
772            value:
773                Event handler content attribute
774
775        Returns:
776            An oncopy attribute to be added to your element
777
778        """
779
780        return BaseAttribute("oncopy", value)

"global" attribute: oncopy copy event handler

Args: value: Event handler content attribute

Returns: An oncopy attribute to be added to your element

@staticmethod
def oncuechange(value) -> html_compose.base_attribute.BaseAttribute:
782    @staticmethod
783    def oncuechange(value) -> BaseAttribute:
784        """
785        "global" attribute: oncuechange
786        cuechange event handler
787
788        Args:
789            value:
790                Event handler content attribute
791
792        Returns:
793            An oncuechange attribute to be added to your element
794
795        """
796
797        return BaseAttribute("oncuechange", value)

"global" attribute: oncuechange cuechange event handler

Args: value: Event handler content attribute

Returns: An oncuechange attribute to be added to your element

@staticmethod
def oncut(value) -> html_compose.base_attribute.BaseAttribute:
799    @staticmethod
800    def oncut(value) -> BaseAttribute:
801        """
802        "global" attribute: oncut
803        cut event handler
804
805        Args:
806            value:
807                Event handler content attribute
808
809        Returns:
810            An oncut attribute to be added to your element
811
812        """
813
814        return BaseAttribute("oncut", value)

"global" attribute: oncut cut event handler

Args: value: Event handler content attribute

Returns: An oncut attribute to be added to your element

@staticmethod
def ondblclick(value) -> html_compose.base_attribute.BaseAttribute:
816    @staticmethod
817    def ondblclick(value) -> BaseAttribute:
818        """
819        "global" attribute: ondblclick
820        dblclick event handler
821
822        Args:
823            value:
824                Event handler content attribute
825
826        Returns:
827            An ondblclick attribute to be added to your element
828
829        """
830
831        return BaseAttribute("ondblclick", value)

"global" attribute: ondblclick dblclick event handler

Args: value: Event handler content attribute

Returns: An ondblclick attribute to be added to your element

@staticmethod
def ondrag(value) -> html_compose.base_attribute.BaseAttribute:
833    @staticmethod
834    def ondrag(value) -> BaseAttribute:
835        """
836        "global" attribute: ondrag
837        drag event handler
838
839        Args:
840            value:
841                Event handler content attribute
842
843        Returns:
844            An ondrag attribute to be added to your element
845
846        """
847
848        return BaseAttribute("ondrag", value)

"global" attribute: ondrag drag event handler

Args: value: Event handler content attribute

Returns: An ondrag attribute to be added to your element

@staticmethod
def ondragend(value) -> html_compose.base_attribute.BaseAttribute:
850    @staticmethod
851    def ondragend(value) -> BaseAttribute:
852        """
853        "global" attribute: ondragend
854        dragend event handler
855
856        Args:
857            value:
858                Event handler content attribute
859
860        Returns:
861            An ondragend attribute to be added to your element
862
863        """
864
865        return BaseAttribute("ondragend", value)

"global" attribute: ondragend dragend event handler

Args: value: Event handler content attribute

Returns: An ondragend attribute to be added to your element

@staticmethod
def ondragenter(value) -> html_compose.base_attribute.BaseAttribute:
867    @staticmethod
868    def ondragenter(value) -> BaseAttribute:
869        """
870        "global" attribute: ondragenter
871        dragenter event handler
872
873        Args:
874            value:
875                Event handler content attribute
876
877        Returns:
878            An ondragenter attribute to be added to your element
879
880        """
881
882        return BaseAttribute("ondragenter", value)

"global" attribute: ondragenter dragenter event handler

Args: value: Event handler content attribute

Returns: An ondragenter attribute to be added to your element

@staticmethod
def ondragleave(value) -> html_compose.base_attribute.BaseAttribute:
884    @staticmethod
885    def ondragleave(value) -> BaseAttribute:
886        """
887        "global" attribute: ondragleave
888        dragleave event handler
889
890        Args:
891            value:
892                Event handler content attribute
893
894        Returns:
895            An ondragleave attribute to be added to your element
896
897        """
898
899        return BaseAttribute("ondragleave", value)

"global" attribute: ondragleave dragleave event handler

Args: value: Event handler content attribute

Returns: An ondragleave attribute to be added to your element

@staticmethod
def ondragover(value) -> html_compose.base_attribute.BaseAttribute:
901    @staticmethod
902    def ondragover(value) -> BaseAttribute:
903        """
904        "global" attribute: ondragover
905        dragover event handler
906
907        Args:
908            value:
909                Event handler content attribute
910
911        Returns:
912            An ondragover attribute to be added to your element
913
914        """
915
916        return BaseAttribute("ondragover", value)

"global" attribute: ondragover dragover event handler

Args: value: Event handler content attribute

Returns: An ondragover attribute to be added to your element

@staticmethod
def ondragstart(value) -> html_compose.base_attribute.BaseAttribute:
918    @staticmethod
919    def ondragstart(value) -> BaseAttribute:
920        """
921        "global" attribute: ondragstart
922        dragstart event handler
923
924        Args:
925            value:
926                Event handler content attribute
927
928        Returns:
929            An ondragstart attribute to be added to your element
930
931        """
932
933        return BaseAttribute("ondragstart", value)

"global" attribute: ondragstart dragstart event handler

Args: value: Event handler content attribute

Returns: An ondragstart attribute to be added to your element

@staticmethod
def ondrop(value) -> html_compose.base_attribute.BaseAttribute:
935    @staticmethod
936    def ondrop(value) -> BaseAttribute:
937        """
938        "global" attribute: ondrop
939        drop event handler
940
941        Args:
942            value:
943                Event handler content attribute
944
945        Returns:
946            An ondrop attribute to be added to your element
947
948        """
949
950        return BaseAttribute("ondrop", value)

"global" attribute: ondrop drop event handler

Args: value: Event handler content attribute

Returns: An ondrop attribute to be added to your element

@staticmethod
def ondurationchange(value) -> html_compose.base_attribute.BaseAttribute:
952    @staticmethod
953    def ondurationchange(value) -> BaseAttribute:
954        """
955        "global" attribute: ondurationchange
956        durationchange event handler
957
958        Args:
959            value:
960                Event handler content attribute
961
962        Returns:
963            An ondurationchange attribute to be added to your element
964
965        """
966
967        return BaseAttribute("ondurationchange", value)

"global" attribute: ondurationchange durationchange event handler

Args: value: Event handler content attribute

Returns: An ondurationchange attribute to be added to your element

@staticmethod
def onemptied(value) -> html_compose.base_attribute.BaseAttribute:
969    @staticmethod
970    def onemptied(value) -> BaseAttribute:
971        """
972        "global" attribute: onemptied
973        emptied event handler
974
975        Args:
976            value:
977                Event handler content attribute
978
979        Returns:
980            An onemptied attribute to be added to your element
981
982        """
983
984        return BaseAttribute("onemptied", value)

"global" attribute: onemptied emptied event handler

Args: value: Event handler content attribute

Returns: An onemptied attribute to be added to your element

@staticmethod
def onended(value) -> html_compose.base_attribute.BaseAttribute:
 986    @staticmethod
 987    def onended(value) -> BaseAttribute:
 988        """
 989        "global" attribute: onended
 990        ended event handler
 991
 992        Args:
 993            value:
 994                Event handler content attribute
 995
 996        Returns:
 997            An onended attribute to be added to your element
 998
 999        """
1000
1001        return BaseAttribute("onended", value)

"global" attribute: onended ended event handler

Args: value: Event handler content attribute

Returns: An onended attribute to be added to your element

@staticmethod
def onerror(value) -> html_compose.base_attribute.BaseAttribute:
1003    @staticmethod
1004    def onerror(value) -> BaseAttribute:
1005        """
1006        "global" attribute: onerror
1007        error event handler
1008
1009        Args:
1010            value:
1011                Event handler content attribute
1012
1013        Returns:
1014            An onerror attribute to be added to your element
1015
1016        """
1017
1018        return BaseAttribute("onerror", value)

"global" attribute: onerror error event handler

Args: value: Event handler content attribute

Returns: An onerror attribute to be added to your element

@staticmethod
def onfocus(value) -> html_compose.base_attribute.BaseAttribute:
1020    @staticmethod
1021    def onfocus(value) -> BaseAttribute:
1022        """
1023        "global" attribute: onfocus
1024        focus event handler
1025
1026        Args:
1027            value:
1028                Event handler content attribute
1029
1030        Returns:
1031            An onfocus attribute to be added to your element
1032
1033        """
1034
1035        return BaseAttribute("onfocus", value)

"global" attribute: onfocus focus event handler

Args: value: Event handler content attribute

Returns: An onfocus attribute to be added to your element

@staticmethod
def onformdata(value) -> html_compose.base_attribute.BaseAttribute:
1037    @staticmethod
1038    def onformdata(value) -> BaseAttribute:
1039        """
1040        "global" attribute: onformdata
1041        formdata event handler
1042
1043        Args:
1044            value:
1045                Event handler content attribute
1046
1047        Returns:
1048            An onformdata attribute to be added to your element
1049
1050        """
1051
1052        return BaseAttribute("onformdata", value)

"global" attribute: onformdata formdata event handler

Args: value: Event handler content attribute

Returns: An onformdata attribute to be added to your element

@staticmethod
def oninput(value) -> html_compose.base_attribute.BaseAttribute:
1054    @staticmethod
1055    def oninput(value) -> BaseAttribute:
1056        """
1057        "global" attribute: oninput
1058        input event handler
1059
1060        Args:
1061            value:
1062                Event handler content attribute
1063
1064        Returns:
1065            An oninput attribute to be added to your element
1066
1067        """
1068
1069        return BaseAttribute("oninput", value)

"global" attribute: oninput input event handler

Args: value: Event handler content attribute

Returns: An oninput attribute to be added to your element

@staticmethod
def oninvalid(value) -> html_compose.base_attribute.BaseAttribute:
1071    @staticmethod
1072    def oninvalid(value) -> BaseAttribute:
1073        """
1074        "global" attribute: oninvalid
1075        invalid event handler
1076
1077        Args:
1078            value:
1079                Event handler content attribute
1080
1081        Returns:
1082            An oninvalid attribute to be added to your element
1083
1084        """
1085
1086        return BaseAttribute("oninvalid", value)

"global" attribute: oninvalid invalid event handler

Args: value: Event handler content attribute

Returns: An oninvalid attribute to be added to your element

@staticmethod
def onkeydown(value) -> html_compose.base_attribute.BaseAttribute:
1088    @staticmethod
1089    def onkeydown(value) -> BaseAttribute:
1090        """
1091        "global" attribute: onkeydown
1092        keydown event handler
1093
1094        Args:
1095            value:
1096                Event handler content attribute
1097
1098        Returns:
1099            An onkeydown attribute to be added to your element
1100
1101        """
1102
1103        return BaseAttribute("onkeydown", value)

"global" attribute: onkeydown keydown event handler

Args: value: Event handler content attribute

Returns: An onkeydown attribute to be added to your element

@staticmethod
def onkeypress(value) -> html_compose.base_attribute.BaseAttribute:
1105    @staticmethod
1106    def onkeypress(value) -> BaseAttribute:
1107        """
1108        "global" attribute: onkeypress
1109        keypress event handler
1110
1111        Args:
1112            value:
1113                Event handler content attribute
1114
1115        Returns:
1116            An onkeypress attribute to be added to your element
1117
1118        """
1119
1120        return BaseAttribute("onkeypress", value)

"global" attribute: onkeypress keypress event handler

Args: value: Event handler content attribute

Returns: An onkeypress attribute to be added to your element

@staticmethod
def onkeyup(value) -> html_compose.base_attribute.BaseAttribute:
1122    @staticmethod
1123    def onkeyup(value) -> BaseAttribute:
1124        """
1125        "global" attribute: onkeyup
1126        keyup event handler
1127
1128        Args:
1129            value:
1130                Event handler content attribute
1131
1132        Returns:
1133            An onkeyup attribute to be added to your element
1134
1135        """
1136
1137        return BaseAttribute("onkeyup", value)

"global" attribute: onkeyup keyup event handler

Args: value: Event handler content attribute

Returns: An onkeyup attribute to be added to your element

@staticmethod
def onload(value) -> html_compose.base_attribute.BaseAttribute:
1139    @staticmethod
1140    def onload(value) -> BaseAttribute:
1141        """
1142        "global" attribute: onload
1143        load event handler
1144
1145        Args:
1146            value:
1147                Event handler content attribute
1148
1149        Returns:
1150            An onload attribute to be added to your element
1151
1152        """
1153
1154        return BaseAttribute("onload", value)

"global" attribute: onload load event handler

Args: value: Event handler content attribute

Returns: An onload attribute to be added to your element

@staticmethod
def onloadeddata(value) -> html_compose.base_attribute.BaseAttribute:
1156    @staticmethod
1157    def onloadeddata(value) -> BaseAttribute:
1158        """
1159        "global" attribute: onloadeddata
1160        loadeddata event handler
1161
1162        Args:
1163            value:
1164                Event handler content attribute
1165
1166        Returns:
1167            An onloadeddata attribute to be added to your element
1168
1169        """
1170
1171        return BaseAttribute("onloadeddata", value)

"global" attribute: onloadeddata loadeddata event handler

Args: value: Event handler content attribute

Returns: An onloadeddata attribute to be added to your element

@staticmethod
def onloadedmetadata(value) -> html_compose.base_attribute.BaseAttribute:
1173    @staticmethod
1174    def onloadedmetadata(value) -> BaseAttribute:
1175        """
1176        "global" attribute: onloadedmetadata
1177        loadedmetadata event handler
1178
1179        Args:
1180            value:
1181                Event handler content attribute
1182
1183        Returns:
1184            An onloadedmetadata attribute to be added to your element
1185
1186        """
1187
1188        return BaseAttribute("onloadedmetadata", value)

"global" attribute: onloadedmetadata loadedmetadata event handler

Args: value: Event handler content attribute

Returns: An onloadedmetadata attribute to be added to your element

@staticmethod
def onloadstart(value) -> html_compose.base_attribute.BaseAttribute:
1190    @staticmethod
1191    def onloadstart(value) -> BaseAttribute:
1192        """
1193        "global" attribute: onloadstart
1194        loadstart event handler
1195
1196        Args:
1197            value:
1198                Event handler content attribute
1199
1200        Returns:
1201            An onloadstart attribute to be added to your element
1202
1203        """
1204
1205        return BaseAttribute("onloadstart", value)

"global" attribute: onloadstart loadstart event handler

Args: value: Event handler content attribute

Returns: An onloadstart attribute to be added to your element

@staticmethod
def onmousedown(value) -> html_compose.base_attribute.BaseAttribute:
1207    @staticmethod
1208    def onmousedown(value) -> BaseAttribute:
1209        """
1210        "global" attribute: onmousedown
1211        mousedown event handler
1212
1213        Args:
1214            value:
1215                Event handler content attribute
1216
1217        Returns:
1218            An onmousedown attribute to be added to your element
1219
1220        """
1221
1222        return BaseAttribute("onmousedown", value)

"global" attribute: onmousedown mousedown event handler

Args: value: Event handler content attribute

Returns: An onmousedown attribute to be added to your element

@staticmethod
def onmouseenter(value) -> html_compose.base_attribute.BaseAttribute:
1224    @staticmethod
1225    def onmouseenter(value) -> BaseAttribute:
1226        """
1227        "global" attribute: onmouseenter
1228        mouseenter event handler
1229
1230        Args:
1231            value:
1232                Event handler content attribute
1233
1234        Returns:
1235            An onmouseenter attribute to be added to your element
1236
1237        """
1238
1239        return BaseAttribute("onmouseenter", value)

"global" attribute: onmouseenter mouseenter event handler

Args: value: Event handler content attribute

Returns: An onmouseenter attribute to be added to your element

@staticmethod
def onmouseleave(value) -> html_compose.base_attribute.BaseAttribute:
1241    @staticmethod
1242    def onmouseleave(value) -> BaseAttribute:
1243        """
1244        "global" attribute: onmouseleave
1245        mouseleave event handler
1246
1247        Args:
1248            value:
1249                Event handler content attribute
1250
1251        Returns:
1252            An onmouseleave attribute to be added to your element
1253
1254        """
1255
1256        return BaseAttribute("onmouseleave", value)

"global" attribute: onmouseleave mouseleave event handler

Args: value: Event handler content attribute

Returns: An onmouseleave attribute to be added to your element

@staticmethod
def onmousemove(value) -> html_compose.base_attribute.BaseAttribute:
1258    @staticmethod
1259    def onmousemove(value) -> BaseAttribute:
1260        """
1261        "global" attribute: onmousemove
1262        mousemove event handler
1263
1264        Args:
1265            value:
1266                Event handler content attribute
1267
1268        Returns:
1269            An onmousemove attribute to be added to your element
1270
1271        """
1272
1273        return BaseAttribute("onmousemove", value)

"global" attribute: onmousemove mousemove event handler

Args: value: Event handler content attribute

Returns: An onmousemove attribute to be added to your element

@staticmethod
def onmouseout(value) -> html_compose.base_attribute.BaseAttribute:
1275    @staticmethod
1276    def onmouseout(value) -> BaseAttribute:
1277        """
1278        "global" attribute: onmouseout
1279        mouseout event handler
1280
1281        Args:
1282            value:
1283                Event handler content attribute
1284
1285        Returns:
1286            An onmouseout attribute to be added to your element
1287
1288        """
1289
1290        return BaseAttribute("onmouseout", value)

"global" attribute: onmouseout mouseout event handler

Args: value: Event handler content attribute

Returns: An onmouseout attribute to be added to your element

@staticmethod
def onmouseover(value) -> html_compose.base_attribute.BaseAttribute:
1292    @staticmethod
1293    def onmouseover(value) -> BaseAttribute:
1294        """
1295        "global" attribute: onmouseover
1296        mouseover event handler
1297
1298        Args:
1299            value:
1300                Event handler content attribute
1301
1302        Returns:
1303            An onmouseover attribute to be added to your element
1304
1305        """
1306
1307        return BaseAttribute("onmouseover", value)

"global" attribute: onmouseover mouseover event handler

Args: value: Event handler content attribute

Returns: An onmouseover attribute to be added to your element

@staticmethod
def onmouseup(value) -> html_compose.base_attribute.BaseAttribute:
1309    @staticmethod
1310    def onmouseup(value) -> BaseAttribute:
1311        """
1312        "global" attribute: onmouseup
1313        mouseup event handler
1314
1315        Args:
1316            value:
1317                Event handler content attribute
1318
1319        Returns:
1320            An onmouseup attribute to be added to your element
1321
1322        """
1323
1324        return BaseAttribute("onmouseup", value)

"global" attribute: onmouseup mouseup event handler

Args: value: Event handler content attribute

Returns: An onmouseup attribute to be added to your element

@staticmethod
def onpaste(value) -> html_compose.base_attribute.BaseAttribute:
1326    @staticmethod
1327    def onpaste(value) -> BaseAttribute:
1328        """
1329        "global" attribute: onpaste
1330        paste event handler
1331
1332        Args:
1333            value:
1334                Event handler content attribute
1335
1336        Returns:
1337            An onpaste attribute to be added to your element
1338
1339        """
1340
1341        return BaseAttribute("onpaste", value)

"global" attribute: onpaste paste event handler

Args: value: Event handler content attribute

Returns: An onpaste attribute to be added to your element

@staticmethod
def onpause(value) -> html_compose.base_attribute.BaseAttribute:
1343    @staticmethod
1344    def onpause(value) -> BaseAttribute:
1345        """
1346        "global" attribute: onpause
1347        pause event handler
1348
1349        Args:
1350            value:
1351                Event handler content attribute
1352
1353        Returns:
1354            An onpause attribute to be added to your element
1355
1356        """
1357
1358        return BaseAttribute("onpause", value)

"global" attribute: onpause pause event handler

Args: value: Event handler content attribute

Returns: An onpause attribute to be added to your element

@staticmethod
def onplay(value) -> html_compose.base_attribute.BaseAttribute:
1360    @staticmethod
1361    def onplay(value) -> BaseAttribute:
1362        """
1363        "global" attribute: onplay
1364        play event handler
1365
1366        Args:
1367            value:
1368                Event handler content attribute
1369
1370        Returns:
1371            An onplay attribute to be added to your element
1372
1373        """
1374
1375        return BaseAttribute("onplay", value)

"global" attribute: onplay play event handler

Args: value: Event handler content attribute

Returns: An onplay attribute to be added to your element

@staticmethod
def onplaying(value) -> html_compose.base_attribute.BaseAttribute:
1377    @staticmethod
1378    def onplaying(value) -> BaseAttribute:
1379        """
1380        "global" attribute: onplaying
1381        playing event handler
1382
1383        Args:
1384            value:
1385                Event handler content attribute
1386
1387        Returns:
1388            An onplaying attribute to be added to your element
1389
1390        """
1391
1392        return BaseAttribute("onplaying", value)

"global" attribute: onplaying playing event handler

Args: value: Event handler content attribute

Returns: An onplaying attribute to be added to your element

@staticmethod
def onprogress(value) -> html_compose.base_attribute.BaseAttribute:
1394    @staticmethod
1395    def onprogress(value) -> BaseAttribute:
1396        """
1397        "global" attribute: onprogress
1398        progress event handler
1399
1400        Args:
1401            value:
1402                Event handler content attribute
1403
1404        Returns:
1405            An onprogress attribute to be added to your element
1406
1407        """
1408
1409        return BaseAttribute("onprogress", value)

"global" attribute: onprogress progress event handler

Args: value: Event handler content attribute

Returns: An onprogress attribute to be added to your element

@staticmethod
def onratechange(value) -> html_compose.base_attribute.BaseAttribute:
1411    @staticmethod
1412    def onratechange(value) -> BaseAttribute:
1413        """
1414        "global" attribute: onratechange
1415        ratechange event handler
1416
1417        Args:
1418            value:
1419                Event handler content attribute
1420
1421        Returns:
1422            An onratechange attribute to be added to your element
1423
1424        """
1425
1426        return BaseAttribute("onratechange", value)

"global" attribute: onratechange ratechange event handler

Args: value: Event handler content attribute

Returns: An onratechange attribute to be added to your element

@staticmethod
def onreset(value) -> html_compose.base_attribute.BaseAttribute:
1428    @staticmethod
1429    def onreset(value) -> BaseAttribute:
1430        """
1431        "global" attribute: onreset
1432        reset event handler
1433
1434        Args:
1435            value:
1436                Event handler content attribute
1437
1438        Returns:
1439            An onreset attribute to be added to your element
1440
1441        """
1442
1443        return BaseAttribute("onreset", value)

"global" attribute: onreset reset event handler

Args: value: Event handler content attribute

Returns: An onreset attribute to be added to your element

@staticmethod
def onresize(value) -> html_compose.base_attribute.BaseAttribute:
1445    @staticmethod
1446    def onresize(value) -> BaseAttribute:
1447        """
1448        "global" attribute: onresize
1449        resize event handler
1450
1451        Args:
1452            value:
1453                Event handler content attribute
1454
1455        Returns:
1456            An onresize attribute to be added to your element
1457
1458        """
1459
1460        return BaseAttribute("onresize", value)

"global" attribute: onresize resize event handler

Args: value: Event handler content attribute

Returns: An onresize attribute to be added to your element

@staticmethod
def onscroll(value) -> html_compose.base_attribute.BaseAttribute:
1462    @staticmethod
1463    def onscroll(value) -> BaseAttribute:
1464        """
1465        "global" attribute: onscroll
1466        scroll event handler
1467
1468        Args:
1469            value:
1470                Event handler content attribute
1471
1472        Returns:
1473            An onscroll attribute to be added to your element
1474
1475        """
1476
1477        return BaseAttribute("onscroll", value)

"global" attribute: onscroll scroll event handler

Args: value: Event handler content attribute

Returns: An onscroll attribute to be added to your element

@staticmethod
def onscrollend(value) -> html_compose.base_attribute.BaseAttribute:
1479    @staticmethod
1480    def onscrollend(value) -> BaseAttribute:
1481        """
1482        "global" attribute: onscrollend
1483        scrollend event handler
1484
1485        Args:
1486            value:
1487                Event handler content attribute
1488
1489        Returns:
1490            An onscrollend attribute to be added to your element
1491
1492        """
1493
1494        return BaseAttribute("onscrollend", value)

"global" attribute: onscrollend scrollend event handler

Args: value: Event handler content attribute

Returns: An onscrollend attribute to be added to your element

@staticmethod
def onsecuritypolicyviolation(value) -> html_compose.base_attribute.BaseAttribute:
1496    @staticmethod
1497    def onsecuritypolicyviolation(value) -> BaseAttribute:
1498        """
1499        "global" attribute: onsecuritypolicyviolation
1500        securitypolicyviolation event handler
1501
1502        Args:
1503            value:
1504                Event handler content attribute
1505
1506        Returns:
1507            An onsecuritypolicyviolation attribute to be added to your element
1508
1509        """
1510
1511        return BaseAttribute("onsecuritypolicyviolation", value)

"global" attribute: onsecuritypolicyviolation securitypolicyviolation event handler

Args: value: Event handler content attribute

Returns: An onsecuritypolicyviolation attribute to be added to your element

@staticmethod
def onseeked(value) -> html_compose.base_attribute.BaseAttribute:
1513    @staticmethod
1514    def onseeked(value) -> BaseAttribute:
1515        """
1516        "global" attribute: onseeked
1517        seeked event handler
1518
1519        Args:
1520            value:
1521                Event handler content attribute
1522
1523        Returns:
1524            An onseeked attribute to be added to your element
1525
1526        """
1527
1528        return BaseAttribute("onseeked", value)

"global" attribute: onseeked seeked event handler

Args: value: Event handler content attribute

Returns: An onseeked attribute to be added to your element

@staticmethod
def onseeking(value) -> html_compose.base_attribute.BaseAttribute:
1530    @staticmethod
1531    def onseeking(value) -> BaseAttribute:
1532        """
1533        "global" attribute: onseeking
1534        seeking event handler
1535
1536        Args:
1537            value:
1538                Event handler content attribute
1539
1540        Returns:
1541            An onseeking attribute to be added to your element
1542
1543        """
1544
1545        return BaseAttribute("onseeking", value)

"global" attribute: onseeking seeking event handler

Args: value: Event handler content attribute

Returns: An onseeking attribute to be added to your element

@staticmethod
def onselect(value) -> html_compose.base_attribute.BaseAttribute:
1547    @staticmethod
1548    def onselect(value) -> BaseAttribute:
1549        """
1550        "global" attribute: onselect
1551        select event handler
1552
1553        Args:
1554            value:
1555                Event handler content attribute
1556
1557        Returns:
1558            An onselect attribute to be added to your element
1559
1560        """
1561
1562        return BaseAttribute("onselect", value)

"global" attribute: onselect select event handler

Args: value: Event handler content attribute

Returns: An onselect attribute to be added to your element

@staticmethod
def onslotchange(value) -> html_compose.base_attribute.BaseAttribute:
1564    @staticmethod
1565    def onslotchange(value) -> BaseAttribute:
1566        """
1567        "global" attribute: onslotchange
1568        slotchange event handler
1569
1570        Args:
1571            value:
1572                Event handler content attribute
1573
1574        Returns:
1575            An onslotchange attribute to be added to your element
1576
1577        """
1578
1579        return BaseAttribute("onslotchange", value)

"global" attribute: onslotchange slotchange event handler

Args: value: Event handler content attribute

Returns: An onslotchange attribute to be added to your element

@staticmethod
def onstalled(value) -> html_compose.base_attribute.BaseAttribute:
1581    @staticmethod
1582    def onstalled(value) -> BaseAttribute:
1583        """
1584        "global" attribute: onstalled
1585        stalled event handler
1586
1587        Args:
1588            value:
1589                Event handler content attribute
1590
1591        Returns:
1592            An onstalled attribute to be added to your element
1593
1594        """
1595
1596        return BaseAttribute("onstalled", value)

"global" attribute: onstalled stalled event handler

Args: value: Event handler content attribute

Returns: An onstalled attribute to be added to your element

@staticmethod
def onsubmit(value) -> html_compose.base_attribute.BaseAttribute:
1598    @staticmethod
1599    def onsubmit(value) -> BaseAttribute:
1600        """
1601        "global" attribute: onsubmit
1602        submit event handler
1603
1604        Args:
1605            value:
1606                Event handler content attribute
1607
1608        Returns:
1609            An onsubmit attribute to be added to your element
1610
1611        """
1612
1613        return BaseAttribute("onsubmit", value)

"global" attribute: onsubmit submit event handler

Args: value: Event handler content attribute

Returns: An onsubmit attribute to be added to your element

@staticmethod
def onsuspend(value) -> html_compose.base_attribute.BaseAttribute:
1615    @staticmethod
1616    def onsuspend(value) -> BaseAttribute:
1617        """
1618        "global" attribute: onsuspend
1619        suspend event handler
1620
1621        Args:
1622            value:
1623                Event handler content attribute
1624
1625        Returns:
1626            An onsuspend attribute to be added to your element
1627
1628        """
1629
1630        return BaseAttribute("onsuspend", value)

"global" attribute: onsuspend suspend event handler

Args: value: Event handler content attribute

Returns: An onsuspend attribute to be added to your element

@staticmethod
def ontimeupdate(value) -> html_compose.base_attribute.BaseAttribute:
1632    @staticmethod
1633    def ontimeupdate(value) -> BaseAttribute:
1634        """
1635        "global" attribute: ontimeupdate
1636        timeupdate event handler
1637
1638        Args:
1639            value:
1640                Event handler content attribute
1641
1642        Returns:
1643            An ontimeupdate attribute to be added to your element
1644
1645        """
1646
1647        return BaseAttribute("ontimeupdate", value)

"global" attribute: ontimeupdate timeupdate event handler

Args: value: Event handler content attribute

Returns: An ontimeupdate attribute to be added to your element

@staticmethod
def ontoggle(value) -> html_compose.base_attribute.BaseAttribute:
1649    @staticmethod
1650    def ontoggle(value) -> BaseAttribute:
1651        """
1652        "global" attribute: ontoggle
1653        toggle event handler
1654
1655        Args:
1656            value:
1657                Event handler content attribute
1658
1659        Returns:
1660            An ontoggle attribute to be added to your element
1661
1662        """
1663
1664        return BaseAttribute("ontoggle", value)

"global" attribute: ontoggle toggle event handler

Args: value: Event handler content attribute

Returns: An ontoggle attribute to be added to your element

@staticmethod
def onvolumechange(value) -> html_compose.base_attribute.BaseAttribute:
1666    @staticmethod
1667    def onvolumechange(value) -> BaseAttribute:
1668        """
1669        "global" attribute: onvolumechange
1670        volumechange event handler
1671
1672        Args:
1673            value:
1674                Event handler content attribute
1675
1676        Returns:
1677            An onvolumechange attribute to be added to your element
1678
1679        """
1680
1681        return BaseAttribute("onvolumechange", value)

"global" attribute: onvolumechange volumechange event handler

Args: value: Event handler content attribute

Returns: An onvolumechange attribute to be added to your element

@staticmethod
def onwaiting(value) -> html_compose.base_attribute.BaseAttribute:
1683    @staticmethod
1684    def onwaiting(value) -> BaseAttribute:
1685        """
1686        "global" attribute: onwaiting
1687        waiting event handler
1688
1689        Args:
1690            value:
1691                Event handler content attribute
1692
1693        Returns:
1694            An onwaiting attribute to be added to your element
1695
1696        """
1697
1698        return BaseAttribute("onwaiting", value)

"global" attribute: onwaiting waiting event handler

Args: value: Event handler content attribute

Returns: An onwaiting attribute to be added to your element

@staticmethod
def onwheel(value) -> html_compose.base_attribute.BaseAttribute:
1700    @staticmethod
1701    def onwheel(value) -> BaseAttribute:
1702        """
1703        "global" attribute: onwheel
1704        wheel event handler
1705
1706        Args:
1707            value:
1708                Event handler content attribute
1709
1710        Returns:
1711            An onwheel attribute to be added to your element
1712
1713        """
1714
1715        return BaseAttribute("onwheel", value)

"global" attribute: onwheel wheel event handler

Args: value: Event handler content attribute

Returns: An onwheel attribute to be added to your element