0 | module Web.Raw.Html
    1 |
    2 | import JS
    3 | import Web.Internal.HtmlPrim
    4 | import Web.Internal.Types
    5 |
    6 | %default total
    7 |
    8 |
    9 | --------------------------------------------------------------------------------
   10 | --          Interfaces
   11 | --------------------------------------------------------------------------------
   12 |
   13 | namespace AudioTrack
   14 |
   15 |   export
   16 |   enabled : AudioTrack -> Attribute True Prelude.id Bool
   17 |   enabled v = fromPrim "AudioTrack.getenabled" prim__enabled prim__setEnabled v
   18 |
   19 |
   20 |   export
   21 |   id : (obj : AudioTrack) -> JSIO String
   22 |   id a = primJS $ AudioTrack.prim__id a
   23 |
   24 |
   25 |   export
   26 |   kind : (obj : AudioTrack) -> JSIO String
   27 |   kind a = primJS $ AudioTrack.prim__kind a
   28 |
   29 |
   30 |   export
   31 |   label : (obj : AudioTrack) -> JSIO String
   32 |   label a = primJS $ AudioTrack.prim__label a
   33 |
   34 |
   35 |   export
   36 |   language : (obj : AudioTrack) -> JSIO String
   37 |   language a = primJS $ AudioTrack.prim__language a
   38 |
   39 |
   40 |   export
   41 |   sourceBuffer : (obj : AudioTrack) -> JSIO (Maybe SourceBuffer)
   42 |   sourceBuffer a = tryJS "AudioTrack.sourceBuffer" $
   43 |     AudioTrack.prim__sourceBuffer a
   44 |
   45 |
   46 |
   47 | namespace AudioTrackList
   48 |
   49 |   export
   50 |   get : (obj : AudioTrackList) -> (index : Bits32) -> JSIO AudioTrack
   51 |   get a b = primJS $ AudioTrackList.prim__get a b
   52 |
   53 |
   54 |   export
   55 |   length : (obj : AudioTrackList) -> JSIO Bits32
   56 |   length a = primJS $ AudioTrackList.prim__length a
   57 |
   58 |
   59 |   export
   60 |   onaddtrack : AudioTrackList -> Attribute False Maybe EventHandlerNonNull
   61 |   onaddtrack v = fromNullablePrim
   62 |                    "AudioTrackList.getonaddtrack"
   63 |                    prim__onaddtrack
   64 |                    prim__setOnaddtrack
   65 |                    v
   66 |
   67 |
   68 |   export
   69 |   onchange : AudioTrackList -> Attribute False Maybe EventHandlerNonNull
   70 |   onchange v = fromNullablePrim
   71 |                  "AudioTrackList.getonchange"
   72 |                  prim__onchange
   73 |                  prim__setOnchange
   74 |                  v
   75 |
   76 |
   77 |   export
   78 |   onremovetrack : AudioTrackList -> Attribute False Maybe EventHandlerNonNull
   79 |   onremovetrack v = fromNullablePrim
   80 |                       "AudioTrackList.getonremovetrack"
   81 |                       prim__onremovetrack
   82 |                       prim__setOnremovetrack
   83 |                       v
   84 |
   85 |
   86 |   export
   87 |   getTrackById :
   88 |        (obj : AudioTrackList)
   89 |     -> (id : String)
   90 |     -> JSIO (Maybe AudioTrack)
   91 |   getTrackById a b = tryJS "AudioTrackList.getTrackById" $
   92 |     AudioTrackList.prim__getTrackById a b
   93 |
   94 |
   95 |
   96 | namespace BarProp
   97 |
   98 |   export
   99 |   visible : (obj : BarProp) -> JSIO Bool
  100 |   visible a = tryJS "BarProp.visible" $ BarProp.prim__visible a
  101 |
  102 |
  103 |
  104 | namespace BeforeUnloadEvent
  105 |
  106 |   export
  107 |   returnValue : BeforeUnloadEvent -> Attribute True Prelude.id String
  108 |   returnValue v = fromPrim
  109 |                     "BeforeUnloadEvent.getreturnValue"
  110 |                     prim__returnValue
  111 |                     prim__setReturnValue
  112 |                     v
  113 |
  114 |
  115 |
  116 | namespace BroadcastChannel
  117 |
  118 |   export
  119 |   new : (name : String) -> JSIO BroadcastChannel
  120 |   new a = primJS $ BroadcastChannel.prim__new a
  121 |
  122 |
  123 |   export
  124 |   name : (obj : BroadcastChannel) -> JSIO String
  125 |   name a = primJS $ BroadcastChannel.prim__name a
  126 |
  127 |
  128 |   export
  129 |   onmessage : BroadcastChannel -> Attribute False Maybe EventHandlerNonNull
  130 |   onmessage v = fromNullablePrim
  131 |                   "BroadcastChannel.getonmessage"
  132 |                   prim__onmessage
  133 |                   prim__setOnmessage
  134 |                   v
  135 |
  136 |
  137 |   export
  138 |   onmessageerror : BroadcastChannel -> Attribute False Maybe EventHandlerNonNull
  139 |   onmessageerror v = fromNullablePrim
  140 |                        "BroadcastChannel.getonmessageerror"
  141 |                        prim__onmessageerror
  142 |                        prim__setOnmessageerror
  143 |                        v
  144 |
  145 |
  146 |   export
  147 |   close : (obj : BroadcastChannel) -> JSIO ()
  148 |   close a = primJS $ BroadcastChannel.prim__close a
  149 |
  150 |
  151 |   export
  152 |   postMessage : (obj : BroadcastChannel) -> (message : Any) -> JSIO ()
  153 |   postMessage a b = primJS $ BroadcastChannel.prim__postMessage a (toFFI b)
  154 |
  155 |
  156 |
  157 | namespace CanvasGradient
  158 |
  159 |   export
  160 |   addColorStop :
  161 |        (obj : CanvasGradient)
  162 |     -> (offset : Double)
  163 |     -> (color : String)
  164 |     -> JSIO ()
  165 |   addColorStop a b c = primJS $ CanvasGradient.prim__addColorStop a b c
  166 |
  167 |
  168 |
  169 | namespace CanvasPattern
  170 |
  171 |   export
  172 |   setTransform' :
  173 |        {auto 0 _ : JSType t2}
  174 |     -> {auto 0 _ : Elem DOMMatrix2DInit (Types t2)}
  175 |     -> (obj : CanvasPattern)
  176 |     -> (transform : Optional t2)
  177 |     -> JSIO ()
  178 |   setTransform' a b = primJS $ CanvasPattern.prim__setTransform a (optUp b)
  179 |
  180 |   export
  181 |   setTransform : (obj : CanvasPattern) -> JSIO ()
  182 |   setTransform a = primJS $ CanvasPattern.prim__setTransform a undef
  183 |
  184 |
  185 |
  186 | namespace CanvasRenderingContext2D
  187 |
  188 |   export
  189 |   canvas : (obj : CanvasRenderingContext2D) -> JSIO HTMLCanvasElement
  190 |   canvas a = primJS $ CanvasRenderingContext2D.prim__canvas a
  191 |
  192 |
  193 |   export
  194 |   getContextAttributes :
  195 |        (obj : CanvasRenderingContext2D)
  196 |     -> JSIO CanvasRenderingContext2DSettings
  197 |   getContextAttributes a = primJS $
  198 |     CanvasRenderingContext2D.prim__getContextAttributes a
  199 |
  200 |
  201 |
  202 | namespace CloseEvent
  203 |
  204 |   export
  205 |   new' :
  206 |        {auto 0 _ : JSType t2}
  207 |     -> {auto 0 _ : Elem CloseEventInit (Types t2)}
  208 |     -> (type : String)
  209 |     -> (eventInitDict : Optional t2)
  210 |     -> JSIO CloseEvent
  211 |   new' a b = primJS $ CloseEvent.prim__new a (optUp b)
  212 |
  213 |   export
  214 |   new : (type : String) -> JSIO CloseEvent
  215 |   new a = primJS $ CloseEvent.prim__new a undef
  216 |
  217 |
  218 |   export
  219 |   code : (obj : CloseEvent) -> JSIO Bits16
  220 |   code a = primJS $ CloseEvent.prim__code a
  221 |
  222 |
  223 |   export
  224 |   reason : (obj : CloseEvent) -> JSIO String
  225 |   reason a = primJS $ CloseEvent.prim__reason a
  226 |
  227 |
  228 |   export
  229 |   wasClean : (obj : CloseEvent) -> JSIO Bool
  230 |   wasClean a = tryJS "CloseEvent.wasClean" $ CloseEvent.prim__wasClean a
  231 |
  232 |
  233 |
  234 | namespace CustomElementRegistry
  235 |
  236 |   export
  237 |   define' :
  238 |        {auto 0 _ : JSType t4}
  239 |     -> {auto 0 _ : Elem ElementDefinitionOptions (Types t4)}
  240 |     -> (obj : CustomElementRegistry)
  241 |     -> (name : String)
  242 |     -> (constructor : CustomElementConstructor)
  243 |     -> (options : Optional t4)
  244 |     -> JSIO ()
  245 |   define' a b c d = primJS $ CustomElementRegistry.prim__define a b c (optUp d)
  246 |
  247 |   export
  248 |   define :
  249 |        (obj : CustomElementRegistry)
  250 |     -> (name : String)
  251 |     -> (constructor : CustomElementConstructor)
  252 |     -> JSIO ()
  253 |   define a b c = primJS $ CustomElementRegistry.prim__define a b c undef
  254 |
  255 |
  256 |   export
  257 |   get :
  258 |        (obj : CustomElementRegistry)
  259 |     -> (name : String)
  260 |     -> JSIO (Union2 CustomElementConstructor Undefined)
  261 |   get a b = primJS $ CustomElementRegistry.prim__get a b
  262 |
  263 |
  264 |   export
  265 |   upgrade :
  266 |        {auto 0 _ : JSType t2}
  267 |     -> {auto 0 _ : Elem Node (Types t2)}
  268 |     -> (obj : CustomElementRegistry)
  269 |     -> (root : t2)
  270 |     -> JSIO ()
  271 |   upgrade a b = primJS $ CustomElementRegistry.prim__upgrade a (up b)
  272 |
  273 |
  274 |   export
  275 |   whenDefined :
  276 |        (obj : CustomElementRegistry)
  277 |     -> (name : String)
  278 |     -> JSIO (Promise CustomElementConstructor)
  279 |   whenDefined a b = primJS $ CustomElementRegistry.prim__whenDefined a b
  280 |
  281 |
  282 |
  283 | namespace DOMParser
  284 |
  285 |   export
  286 |   new : JSIO DOMParser
  287 |   new = primJS $ DOMParser.prim__new
  288 |
  289 |
  290 |   export
  291 |   parseFromString :
  292 |        (obj : DOMParser)
  293 |     -> (string : String)
  294 |     -> (type : DOMParserSupportedType)
  295 |     -> JSIO Document
  296 |   parseFromString a b c = primJS $ DOMParser.prim__parseFromString a b (toFFI c)
  297 |
  298 |
  299 |
  300 | namespace DOMStringList
  301 |
  302 |   export
  303 |   length : (obj : DOMStringList) -> JSIO Bits32
  304 |   length a = primJS $ DOMStringList.prim__length a
  305 |
  306 |
  307 |   export
  308 |   contains : (obj : DOMStringList) -> (string : String) -> JSIO Bool
  309 |   contains a b = tryJS "DOMStringList.contains" $
  310 |     DOMStringList.prim__contains a b
  311 |
  312 |
  313 |   export
  314 |   item : (obj : DOMStringList) -> (index : Bits32) -> JSIO (Maybe String)
  315 |   item a b = tryJS "DOMStringList.item" $ DOMStringList.prim__item a b
  316 |
  317 |
  318 |
  319 | namespace DOMStringMap
  320 |
  321 |   export
  322 |   get : (obj : DOMStringMap) -> (name : String) -> JSIO String
  323 |   get a b = primJS $ DOMStringMap.prim__get a b
  324 |
  325 |
  326 |   export
  327 |   set : (obj : DOMStringMap) -> (name : String) -> (value : String) -> JSIO ()
  328 |   set a b c = primJS $ DOMStringMap.prim__set a b c
  329 |
  330 |
  331 |
  332 | namespace DataTransfer
  333 |
  334 |   export
  335 |   new : JSIO DataTransfer
  336 |   new = primJS $ DataTransfer.prim__new
  337 |
  338 |
  339 |   export
  340 |   dropEffect : DataTransfer -> Attribute True Prelude.id String
  341 |   dropEffect v = fromPrim
  342 |                    "DataTransfer.getdropEffect"
  343 |                    prim__dropEffect
  344 |                    prim__setDropEffect
  345 |                    v
  346 |
  347 |
  348 |   export
  349 |   effectAllowed : DataTransfer -> Attribute True Prelude.id String
  350 |   effectAllowed v = fromPrim
  351 |                       "DataTransfer.geteffectAllowed"
  352 |                       prim__effectAllowed
  353 |                       prim__setEffectAllowed
  354 |                       v
  355 |
  356 |
  357 |   export
  358 |   files : (obj : DataTransfer) -> JSIO FileList
  359 |   files a = primJS $ DataTransfer.prim__files a
  360 |
  361 |
  362 |   export
  363 |   items : (obj : DataTransfer) -> JSIO DataTransferItemList
  364 |   items a = primJS $ DataTransfer.prim__items a
  365 |
  366 |
  367 |   export
  368 |   types : (obj : DataTransfer) -> JSIO (Array String)
  369 |   types a = primJS $ DataTransfer.prim__types a
  370 |
  371 |
  372 |   export
  373 |   clearData' : (obj : DataTransfer) -> (format : Optional String) -> JSIO ()
  374 |   clearData' a b = primJS $ DataTransfer.prim__clearData a (toFFI b)
  375 |
  376 |   export
  377 |   clearData : (obj : DataTransfer) -> JSIO ()
  378 |   clearData a = primJS $ DataTransfer.prim__clearData a undef
  379 |
  380 |
  381 |   export
  382 |   getData : (obj : DataTransfer) -> (format : String) -> JSIO String
  383 |   getData a b = primJS $ DataTransfer.prim__getData a b
  384 |
  385 |
  386 |   export
  387 |   setData :
  388 |        (obj : DataTransfer)
  389 |     -> (format : String)
  390 |     -> (data_ : String)
  391 |     -> JSIO ()
  392 |   setData a b c = primJS $ DataTransfer.prim__setData a b c
  393 |
  394 |
  395 |   export
  396 |   setDragImage :
  397 |        {auto 0 _ : JSType t2}
  398 |     -> {auto 0 _ : Elem Element (Types t2)}
  399 |     -> (obj : DataTransfer)
  400 |     -> (image : t2)
  401 |     -> (x : Int32)
  402 |     -> (y : Int32)
  403 |     -> JSIO ()
  404 |   setDragImage a b c d = primJS $ DataTransfer.prim__setDragImage a (up b) c d
  405 |
  406 |
  407 |
  408 | namespace DataTransferItem
  409 |
  410 |   export
  411 |   kind : (obj : DataTransferItem) -> JSIO String
  412 |   kind a = primJS $ DataTransferItem.prim__kind a
  413 |
  414 |
  415 |   export
  416 |   type : (obj : DataTransferItem) -> JSIO String
  417 |   type a = primJS $ DataTransferItem.prim__type a
  418 |
  419 |
  420 |   export
  421 |   getAsFile : (obj : DataTransferItem) -> JSIO (Maybe File)
  422 |   getAsFile a = tryJS "DataTransferItem.getAsFile" $
  423 |     DataTransferItem.prim__getAsFile a
  424 |
  425 |
  426 |   export
  427 |   getAsString :
  428 |        (obj : DataTransferItem)
  429 |     -> (callback : Maybe FunctionStringCallback)
  430 |     -> JSIO ()
  431 |   getAsString a b = primJS $ DataTransferItem.prim__getAsString a (toFFI b)
  432 |
  433 |
  434 |
  435 | namespace DataTransferItemList
  436 |
  437 |   export
  438 |   get :
  439 |        (obj : DataTransferItemList)
  440 |     -> (index : Bits32)
  441 |     -> JSIO DataTransferItem
  442 |   get a b = primJS $ DataTransferItemList.prim__get a b
  443 |
  444 |
  445 |   export
  446 |   length : (obj : DataTransferItemList) -> JSIO Bits32
  447 |   length a = primJS $ DataTransferItemList.prim__length a
  448 |
  449 |
  450 |   export
  451 |   add :
  452 |        (obj : DataTransferItemList)
  453 |     -> (data_ : String)
  454 |     -> (type : String)
  455 |     -> JSIO (Maybe DataTransferItem)
  456 |   add a b c = tryJS "DataTransferItemList.add" $
  457 |     DataTransferItemList.prim__add a b c
  458 |
  459 |
  460 |   export
  461 |   add1 :
  462 |        (obj : DataTransferItemList)
  463 |     -> (data_ : File)
  464 |     -> JSIO (Maybe DataTransferItem)
  465 |   add1 a b = tryJS "DataTransferItemList.add1" $
  466 |     DataTransferItemList.prim__add1 a b
  467 |
  468 |
  469 |   export
  470 |   clear : (obj : DataTransferItemList) -> JSIO ()
  471 |   clear a = primJS $ DataTransferItemList.prim__clear a
  472 |
  473 |
  474 |   export
  475 |   remove : (obj : DataTransferItemList) -> (index : Bits32) -> JSIO ()
  476 |   remove a b = primJS $ DataTransferItemList.prim__remove a b
  477 |
  478 |
  479 |
  480 | namespace DedicatedWorkerGlobalScope
  481 |
  482 |   export
  483 |   name : (obj : DedicatedWorkerGlobalScope) -> JSIO String
  484 |   name a = primJS $ DedicatedWorkerGlobalScope.prim__name a
  485 |
  486 |
  487 |   export
  488 |   onmessage :
  489 |        DedicatedWorkerGlobalScope
  490 |     -> Attribute False Maybe EventHandlerNonNull
  491 |   onmessage v = fromNullablePrim
  492 |                   "DedicatedWorkerGlobalScope.getonmessage"
  493 |                   prim__onmessage
  494 |                   prim__setOnmessage
  495 |                   v
  496 |
  497 |
  498 |   export
  499 |   onmessageerror :
  500 |        DedicatedWorkerGlobalScope
  501 |     -> Attribute False Maybe EventHandlerNonNull
  502 |   onmessageerror v = fromNullablePrim
  503 |                        "DedicatedWorkerGlobalScope.getonmessageerror"
  504 |                        prim__onmessageerror
  505 |                        prim__setOnmessageerror
  506 |                        v
  507 |
  508 |
  509 |   export
  510 |   close : (obj : DedicatedWorkerGlobalScope) -> JSIO ()
  511 |   close a = primJS $ DedicatedWorkerGlobalScope.prim__close a
  512 |
  513 |
  514 |   export
  515 |   postMessage :
  516 |        (obj : DedicatedWorkerGlobalScope)
  517 |     -> (message : Any)
  518 |     -> (transfer : Array Object)
  519 |     -> JSIO ()
  520 |   postMessage a b c = primJS $
  521 |     DedicatedWorkerGlobalScope.prim__postMessage a (toFFI b) c
  522 |
  523 |
  524 |   export
  525 |   postMessage1' :
  526 |        {auto 0 _ : JSType t3}
  527 |     -> {auto 0 _ : Elem PostMessageOptions (Types t3)}
  528 |     -> (obj : DedicatedWorkerGlobalScope)
  529 |     -> (message : Any)
  530 |     -> (options : Optional t3)
  531 |     -> JSIO ()
  532 |   postMessage1' a b c = primJS $
  533 |     DedicatedWorkerGlobalScope.prim__postMessage1 a (toFFI b) (optUp c)
  534 |
  535 |   export
  536 |   postMessage1 :
  537 |        (obj : DedicatedWorkerGlobalScope)
  538 |     -> (message : Any)
  539 |     -> JSIO ()
  540 |   postMessage1 a b = primJS $
  541 |     DedicatedWorkerGlobalScope.prim__postMessage1 a (toFFI b) undef
  542 |
  543 |
  544 |
  545 | namespace DragEvent
  546 |
  547 |   export
  548 |   new' :
  549 |        {auto 0 _ : JSType t2}
  550 |     -> {auto 0 _ : Elem DragEventInit (Types t2)}
  551 |     -> (type : String)
  552 |     -> (eventInitDict : Optional t2)
  553 |     -> JSIO DragEvent
  554 |   new' a b = primJS $ DragEvent.prim__new a (optUp b)
  555 |
  556 |   export
  557 |   new : (type : String) -> JSIO DragEvent
  558 |   new a = primJS $ DragEvent.prim__new a undef
  559 |
  560 |
  561 |   export
  562 |   dataTransfer : (obj : DragEvent) -> JSIO (Maybe DataTransfer)
  563 |   dataTransfer a = tryJS "DragEvent.dataTransfer" $
  564 |     DragEvent.prim__dataTransfer a
  565 |
  566 |
  567 |
  568 | namespace ElementInternals
  569 |
  570 |   export
  571 |   form : (obj : ElementInternals) -> JSIO (Maybe HTMLFormElement)
  572 |   form a = tryJS "ElementInternals.form" $ ElementInternals.prim__form a
  573 |
  574 |
  575 |   export
  576 |   labels : (obj : ElementInternals) -> JSIO NodeList
  577 |   labels a = primJS $ ElementInternals.prim__labels a
  578 |
  579 |
  580 |   export
  581 |   shadowRoot : (obj : ElementInternals) -> JSIO (Maybe ShadowRoot)
  582 |   shadowRoot a = tryJS "ElementInternals.shadowRoot" $
  583 |     ElementInternals.prim__shadowRoot a
  584 |
  585 |
  586 |   export
  587 |   validationMessage : (obj : ElementInternals) -> JSIO String
  588 |   validationMessage a = primJS $ ElementInternals.prim__validationMessage a
  589 |
  590 |
  591 |   export
  592 |   validity : (obj : ElementInternals) -> JSIO ValidityState
  593 |   validity a = primJS $ ElementInternals.prim__validity a
  594 |
  595 |
  596 |   export
  597 |   willValidate : (obj : ElementInternals) -> JSIO Bool
  598 |   willValidate a = tryJS "ElementInternals.willValidate" $
  599 |     ElementInternals.prim__willValidate a
  600 |
  601 |
  602 |   export
  603 |   checkValidity : (obj : ElementInternals) -> JSIO Bool
  604 |   checkValidity a = tryJS "ElementInternals.checkValidity" $
  605 |     ElementInternals.prim__checkValidity a
  606 |
  607 |
  608 |   export
  609 |   reportValidity : (obj : ElementInternals) -> JSIO Bool
  610 |   reportValidity a = tryJS "ElementInternals.reportValidity" $
  611 |     ElementInternals.prim__reportValidity a
  612 |
  613 |
  614 |   export
  615 |   setFormValue' :
  616 |        (obj : ElementInternals)
  617 |     -> (value : Maybe (HSum [File, String, FormData]))
  618 |     -> (state : Optional (Maybe (HSum [File, String, FormData])))
  619 |     -> JSIO ()
  620 |   setFormValue' a b c = primJS $
  621 |     ElementInternals.prim__setFormValue a (toFFI b) (toFFI c)
  622 |
  623 |   export
  624 |   setFormValue :
  625 |        (obj : ElementInternals)
  626 |     -> (value : Maybe (HSum [File, String, FormData]))
  627 |     -> JSIO ()
  628 |   setFormValue a b = primJS $
  629 |     ElementInternals.prim__setFormValue a (toFFI b) undef
  630 |
  631 |
  632 |   export
  633 |   setValidity' :
  634 |        {auto 0 _ : JSType t2}
  635 |     -> {auto 0 _ : JSType t4}
  636 |     -> {auto 0 _ : Elem ValidityStateFlags (Types t2)}
  637 |     -> {auto 0 _ : Elem HTMLElement (Types t4)}
  638 |     -> (obj : ElementInternals)
  639 |     -> (flags : Optional t2)
  640 |     -> (message : Optional String)
  641 |     -> (anchor : Optional t4)
  642 |     -> JSIO ()
  643 |   setValidity' a b c d = primJS $
  644 |     ElementInternals.prim__setValidity a (optUp b) (toFFI c) (optUp d)
  645 |
  646 |   export
  647 |   setValidity : (obj : ElementInternals) -> JSIO ()
  648 |   setValidity a = primJS $
  649 |     ElementInternals.prim__setValidity a undef undef undef
  650 |
  651 |
  652 |
  653 | namespace ErrorEvent
  654 |
  655 |   export
  656 |   new' :
  657 |        {auto 0 _ : JSType t2}
  658 |     -> {auto 0 _ : Elem ErrorEventInit (Types t2)}
  659 |     -> (type : String)
  660 |     -> (eventInitDict : Optional t2)
  661 |     -> JSIO ErrorEvent
  662 |   new' a b = primJS $ ErrorEvent.prim__new a (optUp b)
  663 |
  664 |   export
  665 |   new : (type : String) -> JSIO ErrorEvent
  666 |   new a = primJS $ ErrorEvent.prim__new a undef
  667 |
  668 |
  669 |   export
  670 |   colno : (obj : ErrorEvent) -> JSIO Bits32
  671 |   colno a = primJS $ ErrorEvent.prim__colno a
  672 |
  673 |
  674 |   export
  675 |   error : (obj : ErrorEvent) -> JSIO Any
  676 |   error a = tryJS "ErrorEvent.error" $ ErrorEvent.prim__error a
  677 |
  678 |
  679 |   export
  680 |   filename : (obj : ErrorEvent) -> JSIO String
  681 |   filename a = primJS $ ErrorEvent.prim__filename a
  682 |
  683 |
  684 |   export
  685 |   lineno : (obj : ErrorEvent) -> JSIO Bits32
  686 |   lineno a = primJS $ ErrorEvent.prim__lineno a
  687 |
  688 |
  689 |   export
  690 |   message : (obj : ErrorEvent) -> JSIO String
  691 |   message a = primJS $ ErrorEvent.prim__message a
  692 |
  693 |
  694 |
  695 | namespace EventSource
  696 |
  697 |   public export
  698 |   CLOSED : Bits16
  699 |   CLOSED = 2
  700 |
  701 |
  702 |   public export
  703 |   CONNECTING : Bits16
  704 |   CONNECTING = 0
  705 |
  706 |
  707 |   public export
  708 |   OPEN : Bits16
  709 |   OPEN = 1
  710 |
  711 |
  712 |   export
  713 |   new' :
  714 |        {auto 0 _ : JSType t2}
  715 |     -> {auto 0 _ : Elem EventSourceInit (Types t2)}
  716 |     -> (url : String)
  717 |     -> (eventSourceInitDict : Optional t2)
  718 |     -> JSIO EventSource
  719 |   new' a b = primJS $ EventSource.prim__new a (optUp b)
  720 |
  721 |   export
  722 |   new : (url : String) -> JSIO EventSource
  723 |   new a = primJS $ EventSource.prim__new a undef
  724 |
  725 |
  726 |   export
  727 |   onerror : EventSource -> Attribute False Maybe EventHandlerNonNull
  728 |   onerror v = fromNullablePrim
  729 |                 "EventSource.getonerror"
  730 |                 prim__onerror
  731 |                 prim__setOnerror
  732 |                 v
  733 |
  734 |
  735 |   export
  736 |   onmessage : EventSource -> Attribute False Maybe EventHandlerNonNull
  737 |   onmessage v = fromNullablePrim
  738 |                   "EventSource.getonmessage"
  739 |                   prim__onmessage
  740 |                   prim__setOnmessage
  741 |                   v
  742 |
  743 |
  744 |   export
  745 |   onopen : EventSource -> Attribute False Maybe EventHandlerNonNull
  746 |   onopen v = fromNullablePrim
  747 |                "EventSource.getonopen"
  748 |                prim__onopen
  749 |                prim__setOnopen
  750 |                v
  751 |
  752 |
  753 |   export
  754 |   readyState : (obj : EventSource) -> JSIO Bits16
  755 |   readyState a = primJS $ EventSource.prim__readyState a
  756 |
  757 |
  758 |   export
  759 |   url : (obj : EventSource) -> JSIO String
  760 |   url a = primJS $ EventSource.prim__url a
  761 |
  762 |
  763 |   export
  764 |   withCredentials : (obj : EventSource) -> JSIO Bool
  765 |   withCredentials a = tryJS "EventSource.withCredentials" $
  766 |     EventSource.prim__withCredentials a
  767 |
  768 |
  769 |   export
  770 |   close : (obj : EventSource) -> JSIO ()
  771 |   close a = primJS $ EventSource.prim__close a
  772 |
  773 |
  774 |
  775 | namespace External
  776 |
  777 |   export
  778 |   AddSearchProvider : (obj : External) -> JSIO ()
  779 |   AddSearchProvider a = primJS $ External.prim__AddSearchProvider a
  780 |
  781 |
  782 |   export
  783 |   IsSearchProviderInstalled : (obj : External) -> JSIO ()
  784 |   IsSearchProviderInstalled a = primJS $
  785 |     External.prim__IsSearchProviderInstalled a
  786 |
  787 |
  788 |
  789 | namespace FormDataEvent
  790 |
  791 |   export
  792 |   new :
  793 |        {auto 0 _ : JSType t2}
  794 |     -> {auto 0 _ : Elem FormDataEventInit (Types t2)}
  795 |     -> (type : String)
  796 |     -> (eventInitDict : t2)
  797 |     -> JSIO FormDataEvent
  798 |   new a b = primJS $ FormDataEvent.prim__new a (up b)
  799 |
  800 |
  801 |   export
  802 |   formData : (obj : FormDataEvent) -> JSIO FormData
  803 |   formData a = primJS $ FormDataEvent.prim__formData a
  804 |
  805 |
  806 |
  807 | namespace HTMLAllCollection
  808 |
  809 |   export
  810 |   get : (obj : HTMLAllCollection) -> (index : Bits32) -> JSIO Element
  811 |   get a b = primJS $ HTMLAllCollection.prim__get a b
  812 |
  813 |
  814 |   export
  815 |   length : (obj : HTMLAllCollection) -> JSIO Bits32
  816 |   length a = primJS $ HTMLAllCollection.prim__length a
  817 |
  818 |
  819 |   export
  820 |   item' :
  821 |        (obj : HTMLAllCollection)
  822 |     -> (nameOrIndex : Optional String)
  823 |     -> JSIO (Maybe (HSum [HTMLCollection, Element]))
  824 |   item' a b = tryJS "HTMLAllCollection.item'" $
  825 |     HTMLAllCollection.prim__item a (toFFI b)
  826 |
  827 |   export
  828 |   item :
  829 |        (obj : HTMLAllCollection)
  830 |     -> JSIO (Maybe (HSum [HTMLCollection, Element]))
  831 |   item a = tryJS "HTMLAllCollection.item" $ HTMLAllCollection.prim__item a undef
  832 |
  833 |
  834 |   export
  835 |   namedItem :
  836 |        (obj : HTMLAllCollection)
  837 |     -> (name : String)
  838 |     -> JSIO (Maybe (HSum [HTMLCollection, Element]))
  839 |   namedItem a b = tryJS "HTMLAllCollection.namedItem" $
  840 |     HTMLAllCollection.prim__namedItem a b
  841 |
  842 |
  843 |
  844 | namespace HTMLAnchorElement
  845 |
  846 |   export
  847 |   new : JSIO HTMLAnchorElement
  848 |   new = primJS $ HTMLAnchorElement.prim__new
  849 |
  850 |
  851 |   export
  852 |   charset : HTMLAnchorElement -> Attribute True Prelude.id String
  853 |   charset v = fromPrim
  854 |                 "HTMLAnchorElement.getcharset"
  855 |                 prim__charset
  856 |                 prim__setCharset
  857 |                 v
  858 |
  859 |
  860 |   export
  861 |   coords : HTMLAnchorElement -> Attribute True Prelude.id String
  862 |   coords v = fromPrim
  863 |                "HTMLAnchorElement.getcoords"
  864 |                prim__coords
  865 |                prim__setCoords
  866 |                v
  867 |
  868 |
  869 |   export
  870 |   download : HTMLAnchorElement -> Attribute True Prelude.id String
  871 |   download v = fromPrim
  872 |                  "HTMLAnchorElement.getdownload"
  873 |                  prim__download
  874 |                  prim__setDownload
  875 |                  v
  876 |
  877 |
  878 |   export
  879 |   hreflang : HTMLAnchorElement -> Attribute True Prelude.id String
  880 |   hreflang v = fromPrim
  881 |                  "HTMLAnchorElement.gethreflang"
  882 |                  prim__hreflang
  883 |                  prim__setHreflang
  884 |                  v
  885 |
  886 |
  887 |   export
  888 |   name : HTMLAnchorElement -> Attribute True Prelude.id String
  889 |   name v = fromPrim "HTMLAnchorElement.getname" prim__name prim__setName v
  890 |
  891 |
  892 |   export
  893 |   ping : HTMLAnchorElement -> Attribute True Prelude.id String
  894 |   ping v = fromPrim "HTMLAnchorElement.getping" prim__ping prim__setPing v
  895 |
  896 |
  897 |   export
  898 |   referrerPolicy : HTMLAnchorElement -> Attribute True Prelude.id String
  899 |   referrerPolicy v = fromPrim
  900 |                        "HTMLAnchorElement.getreferrerPolicy"
  901 |                        prim__referrerPolicy
  902 |                        prim__setReferrerPolicy
  903 |                        v
  904 |
  905 |
  906 |   export
  907 |   rel : HTMLAnchorElement -> Attribute True Prelude.id String
  908 |   rel v = fromPrim "HTMLAnchorElement.getrel" prim__rel prim__setRel v
  909 |
  910 |
  911 |   export
  912 |   relList : (obj : HTMLAnchorElement) -> JSIO DOMTokenList
  913 |   relList a = primJS $ HTMLAnchorElement.prim__relList a
  914 |
  915 |
  916 |   export
  917 |   rev : HTMLAnchorElement -> Attribute True Prelude.id String
  918 |   rev v = fromPrim "HTMLAnchorElement.getrev" prim__rev prim__setRev v
  919 |
  920 |
  921 |   export
  922 |   shape : HTMLAnchorElement -> Attribute True Prelude.id String
  923 |   shape v = fromPrim "HTMLAnchorElement.getshape" prim__shape prim__setShape v
  924 |
  925 |
  926 |   export
  927 |   target : HTMLAnchorElement -> Attribute True Prelude.id String
  928 |   target v = fromPrim
  929 |                "HTMLAnchorElement.gettarget"
  930 |                prim__target
  931 |                prim__setTarget
  932 |                v
  933 |
  934 |
  935 |   export
  936 |   text : HTMLAnchorElement -> Attribute True Prelude.id String
  937 |   text v = fromPrim "HTMLAnchorElement.gettext" prim__text prim__setText v
  938 |
  939 |
  940 |   export
  941 |   type : HTMLAnchorElement -> Attribute True Prelude.id String
  942 |   type v = fromPrim "HTMLAnchorElement.gettype" prim__type prim__setType v
  943 |
  944 |
  945 |
  946 | namespace HTMLAreaElement
  947 |
  948 |   export
  949 |   new : JSIO HTMLAreaElement
  950 |   new = primJS $ HTMLAreaElement.prim__new
  951 |
  952 |
  953 |   export
  954 |   alt : HTMLAreaElement -> Attribute True Prelude.id String
  955 |   alt v = fromPrim "HTMLAreaElement.getalt" prim__alt prim__setAlt v
  956 |
  957 |
  958 |   export
  959 |   coords : HTMLAreaElement -> Attribute True Prelude.id String
  960 |   coords v = fromPrim "HTMLAreaElement.getcoords" prim__coords prim__setCoords v
  961 |
  962 |
  963 |   export
  964 |   download : HTMLAreaElement -> Attribute True Prelude.id String
  965 |   download v = fromPrim
  966 |                  "HTMLAreaElement.getdownload"
  967 |                  prim__download
  968 |                  prim__setDownload
  969 |                  v
  970 |
  971 |
  972 |   export
  973 |   noHref : HTMLAreaElement -> Attribute True Prelude.id Bool
  974 |   noHref v = fromPrim "HTMLAreaElement.getnoHref" prim__noHref prim__setNoHref v
  975 |
  976 |
  977 |   export
  978 |   ping : HTMLAreaElement -> Attribute True Prelude.id String
  979 |   ping v = fromPrim "HTMLAreaElement.getping" prim__ping prim__setPing v
  980 |
  981 |
  982 |   export
  983 |   referrerPolicy : HTMLAreaElement -> Attribute True Prelude.id String
  984 |   referrerPolicy v = fromPrim
  985 |                        "HTMLAreaElement.getreferrerPolicy"
  986 |                        prim__referrerPolicy
  987 |                        prim__setReferrerPolicy
  988 |                        v
  989 |
  990 |
  991 |   export
  992 |   rel : HTMLAreaElement -> Attribute True Prelude.id String
  993 |   rel v = fromPrim "HTMLAreaElement.getrel" prim__rel prim__setRel v
  994 |
  995 |
  996 |   export
  997 |   relList : (obj : HTMLAreaElement) -> JSIO DOMTokenList
  998 |   relList a = primJS $ HTMLAreaElement.prim__relList a
  999 |
 1000 |
 1001 |   export
 1002 |   shape : HTMLAreaElement -> Attribute True Prelude.id String
 1003 |   shape v = fromPrim "HTMLAreaElement.getshape" prim__shape prim__setShape v
 1004 |
 1005 |
 1006 |   export
 1007 |   target : HTMLAreaElement -> Attribute True Prelude.id String
 1008 |   target v = fromPrim "HTMLAreaElement.gettarget" prim__target prim__setTarget v
 1009 |
 1010 |
 1011 |
 1012 | namespace HTMLAudioElement
 1013 |
 1014 |   export
 1015 |   new : JSIO HTMLAudioElement
 1016 |   new = primJS $ HTMLAudioElement.prim__new
 1017 |
 1018 |
 1019 |
 1020 | namespace HTMLBRElement
 1021 |
 1022 |   export
 1023 |   new : JSIO HTMLBRElement
 1024 |   new = primJS $ HTMLBRElement.prim__new
 1025 |
 1026 |
 1027 |   export
 1028 |   clear : HTMLBRElement -> Attribute True Prelude.id String
 1029 |   clear v = fromPrim "HTMLBRElement.getclear" prim__clear prim__setClear v
 1030 |
 1031 |
 1032 |
 1033 | namespace HTMLBaseElement
 1034 |
 1035 |   export
 1036 |   new : JSIO HTMLBaseElement
 1037 |   new = primJS $ HTMLBaseElement.prim__new
 1038 |
 1039 |
 1040 |   export
 1041 |   href : HTMLBaseElement -> Attribute True Prelude.id String
 1042 |   href v = fromPrim "HTMLBaseElement.gethref" prim__href prim__setHref v
 1043 |
 1044 |
 1045 |   export
 1046 |   target : HTMLBaseElement -> Attribute True Prelude.id String
 1047 |   target v = fromPrim "HTMLBaseElement.gettarget" prim__target prim__setTarget v
 1048 |
 1049 |
 1050 |
 1051 | namespace HTMLBodyElement
 1052 |
 1053 |   export
 1054 |   new : JSIO HTMLBodyElement
 1055 |   new = primJS $ HTMLBodyElement.prim__new
 1056 |
 1057 |
 1058 |   export
 1059 |   aLink : HTMLBodyElement -> Attribute True Prelude.id String
 1060 |   aLink v = fromPrim "HTMLBodyElement.getaLink" prim__aLink prim__setALink v
 1061 |
 1062 |
 1063 |   export
 1064 |   background : HTMLBodyElement -> Attribute True Prelude.id String
 1065 |   background v = fromPrim
 1066 |                    "HTMLBodyElement.getbackground"
 1067 |                    prim__background
 1068 |                    prim__setBackground
 1069 |                    v
 1070 |
 1071 |
 1072 |   export
 1073 |   bgColor : HTMLBodyElement -> Attribute True Prelude.id String
 1074 |   bgColor v = fromPrim
 1075 |                 "HTMLBodyElement.getbgColor"
 1076 |                 prim__bgColor
 1077 |                 prim__setBgColor
 1078 |                 v
 1079 |
 1080 |
 1081 |   export
 1082 |   link : HTMLBodyElement -> Attribute True Prelude.id String
 1083 |   link v = fromPrim "HTMLBodyElement.getlink" prim__link prim__setLink v
 1084 |
 1085 |
 1086 |   export
 1087 |   text : HTMLBodyElement -> Attribute True Prelude.id String
 1088 |   text v = fromPrim "HTMLBodyElement.gettext" prim__text prim__setText v
 1089 |
 1090 |
 1091 |   export
 1092 |   vLink : HTMLBodyElement -> Attribute True Prelude.id String
 1093 |   vLink v = fromPrim "HTMLBodyElement.getvLink" prim__vLink prim__setVLink v
 1094 |
 1095 |
 1096 |
 1097 | namespace HTMLButtonElement
 1098 |
 1099 |   export
 1100 |   new : JSIO HTMLButtonElement
 1101 |   new = primJS $ HTMLButtonElement.prim__new
 1102 |
 1103 |
 1104 |   export
 1105 |   disabled : HTMLButtonElement -> Attribute True Prelude.id Bool
 1106 |   disabled v = fromPrim
 1107 |                  "HTMLButtonElement.getdisabled"
 1108 |                  prim__disabled
 1109 |                  prim__setDisabled
 1110 |                  v
 1111 |
 1112 |
 1113 |   export
 1114 |   form : (obj : HTMLButtonElement) -> JSIO (Maybe HTMLFormElement)
 1115 |   form a = tryJS "HTMLButtonElement.form" $ HTMLButtonElement.prim__form a
 1116 |
 1117 |
 1118 |   export
 1119 |   formAction : HTMLButtonElement -> Attribute True Prelude.id String
 1120 |   formAction v = fromPrim
 1121 |                    "HTMLButtonElement.getformAction"
 1122 |                    prim__formAction
 1123 |                    prim__setFormAction
 1124 |                    v
 1125 |
 1126 |
 1127 |   export
 1128 |   formEnctype : HTMLButtonElement -> Attribute True Prelude.id String
 1129 |   formEnctype v = fromPrim
 1130 |                     "HTMLButtonElement.getformEnctype"
 1131 |                     prim__formEnctype
 1132 |                     prim__setFormEnctype
 1133 |                     v
 1134 |
 1135 |
 1136 |   export
 1137 |   formMethod : HTMLButtonElement -> Attribute True Prelude.id String
 1138 |   formMethod v = fromPrim
 1139 |                    "HTMLButtonElement.getformMethod"
 1140 |                    prim__formMethod
 1141 |                    prim__setFormMethod
 1142 |                    v
 1143 |
 1144 |
 1145 |   export
 1146 |   formNoValidate : HTMLButtonElement -> Attribute True Prelude.id Bool
 1147 |   formNoValidate v = fromPrim
 1148 |                        "HTMLButtonElement.getformNoValidate"
 1149 |                        prim__formNoValidate
 1150 |                        prim__setFormNoValidate
 1151 |                        v
 1152 |
 1153 |
 1154 |   export
 1155 |   formTarget : HTMLButtonElement -> Attribute True Prelude.id String
 1156 |   formTarget v = fromPrim
 1157 |                    "HTMLButtonElement.getformTarget"
 1158 |                    prim__formTarget
 1159 |                    prim__setFormTarget
 1160 |                    v
 1161 |
 1162 |
 1163 |   export
 1164 |   labels : (obj : HTMLButtonElement) -> JSIO NodeList
 1165 |   labels a = primJS $ HTMLButtonElement.prim__labels a
 1166 |
 1167 |
 1168 |   export
 1169 |   name : HTMLButtonElement -> Attribute True Prelude.id String
 1170 |   name v = fromPrim "HTMLButtonElement.getname" prim__name prim__setName v
 1171 |
 1172 |
 1173 |   export
 1174 |   type : HTMLButtonElement -> Attribute True Prelude.id String
 1175 |   type v = fromPrim "HTMLButtonElement.gettype" prim__type prim__setType v
 1176 |
 1177 |
 1178 |   export
 1179 |   validationMessage : (obj : HTMLButtonElement) -> JSIO String
 1180 |   validationMessage a = primJS $ HTMLButtonElement.prim__validationMessage a
 1181 |
 1182 |
 1183 |   export
 1184 |   validity : (obj : HTMLButtonElement) -> JSIO ValidityState
 1185 |   validity a = primJS $ HTMLButtonElement.prim__validity a
 1186 |
 1187 |
 1188 |   export
 1189 |   value : HTMLButtonElement -> Attribute True Prelude.id String
 1190 |   value v = fromPrim "HTMLButtonElement.getvalue" prim__value prim__setValue v
 1191 |
 1192 |
 1193 |   export
 1194 |   willValidate : (obj : HTMLButtonElement) -> JSIO Bool
 1195 |   willValidate a = tryJS "HTMLButtonElement.willValidate" $
 1196 |     HTMLButtonElement.prim__willValidate a
 1197 |
 1198 |
 1199 |   export
 1200 |   checkValidity : (obj : HTMLButtonElement) -> JSIO Bool
 1201 |   checkValidity a = tryJS "HTMLButtonElement.checkValidity" $
 1202 |     HTMLButtonElement.prim__checkValidity a
 1203 |
 1204 |
 1205 |   export
 1206 |   reportValidity : (obj : HTMLButtonElement) -> JSIO Bool
 1207 |   reportValidity a = tryJS "HTMLButtonElement.reportValidity" $
 1208 |     HTMLButtonElement.prim__reportValidity a
 1209 |
 1210 |
 1211 |   export
 1212 |   setCustomValidity : (obj : HTMLButtonElement) -> (error : String) -> JSIO ()
 1213 |   setCustomValidity a b = primJS $ HTMLButtonElement.prim__setCustomValidity a b
 1214 |
 1215 |
 1216 |
 1217 | namespace HTMLCanvasElement
 1218 |
 1219 |   export
 1220 |   new : JSIO HTMLCanvasElement
 1221 |   new = primJS $ HTMLCanvasElement.prim__new
 1222 |
 1223 |
 1224 |   export
 1225 |   height : HTMLCanvasElement -> Attribute True Prelude.id Bits32
 1226 |   height v = fromPrim
 1227 |                "HTMLCanvasElement.getheight"
 1228 |                prim__height
 1229 |                prim__setHeight
 1230 |                v
 1231 |
 1232 |
 1233 |   export
 1234 |   width : HTMLCanvasElement -> Attribute True Prelude.id Bits32
 1235 |   width v = fromPrim "HTMLCanvasElement.getwidth" prim__width prim__setWidth v
 1236 |
 1237 |
 1238 |   export
 1239 |   getContext' :
 1240 |        (obj : HTMLCanvasElement)
 1241 |     -> (contextId : String)
 1242 |     -> (options : Optional Any)
 1243 |     -> JSIO
 1244 |          (Maybe
 1245 |             (HSum
 1246 |                [ CanvasRenderingContext2D
 1247 |                , ImageBitmapRenderingContext
 1248 |                , WebGLRenderingContext
 1249 |                , WebGL2RenderingContext
 1250 |                ]))
 1251 |   getContext' a b c = tryJS "HTMLCanvasElement.getContext'" $
 1252 |     HTMLCanvasElement.prim__getContext a b (toFFI c)
 1253 |
 1254 |   export
 1255 |   getContext :
 1256 |        (obj : HTMLCanvasElement)
 1257 |     -> (contextId : String)
 1258 |     -> JSIO
 1259 |          (Maybe
 1260 |             (HSum
 1261 |                [ CanvasRenderingContext2D
 1262 |                , ImageBitmapRenderingContext
 1263 |                , WebGLRenderingContext
 1264 |                , WebGL2RenderingContext
 1265 |                ]))
 1266 |   getContext a b = tryJS "HTMLCanvasElement.getContext" $
 1267 |     HTMLCanvasElement.prim__getContext a b undef
 1268 |
 1269 |
 1270 |   export
 1271 |   toBlob' :
 1272 |        (obj : HTMLCanvasElement)
 1273 |     -> (callback : BlobCallback)
 1274 |     -> (type : Optional String)
 1275 |     -> (quality : Optional Any)
 1276 |     -> JSIO ()
 1277 |   toBlob' a b c d = primJS $
 1278 |     HTMLCanvasElement.prim__toBlob a b (toFFI c) (toFFI d)
 1279 |
 1280 |   export
 1281 |   toBlob : (obj : HTMLCanvasElement) -> (callback : BlobCallback) -> JSIO ()
 1282 |   toBlob a b = primJS $ HTMLCanvasElement.prim__toBlob a b undef undef
 1283 |
 1284 |
 1285 |   export
 1286 |   toDataURL' :
 1287 |        (obj : HTMLCanvasElement)
 1288 |     -> (type : Optional String)
 1289 |     -> (quality : Optional Any)
 1290 |     -> JSIO String
 1291 |   toDataURL' a b c = primJS $
 1292 |     HTMLCanvasElement.prim__toDataURL a (toFFI b) (toFFI c)
 1293 |
 1294 |   export
 1295 |   toDataURL : (obj : HTMLCanvasElement) -> JSIO String
 1296 |   toDataURL a = primJS $ HTMLCanvasElement.prim__toDataURL a undef undef
 1297 |
 1298 |
 1299 |   export
 1300 |   transferControlToOffscreen : (obj : HTMLCanvasElement) -> JSIO OffscreenCanvas
 1301 |   transferControlToOffscreen a = primJS $
 1302 |     HTMLCanvasElement.prim__transferControlToOffscreen a
 1303 |
 1304 |
 1305 |
 1306 | namespace HTMLDListElement
 1307 |
 1308 |   export
 1309 |   new : JSIO HTMLDListElement
 1310 |   new = primJS $ HTMLDListElement.prim__new
 1311 |
 1312 |
 1313 |   export
 1314 |   compact : HTMLDListElement -> Attribute True Prelude.id Bool
 1315 |   compact v = fromPrim
 1316 |                 "HTMLDListElement.getcompact"
 1317 |                 prim__compact
 1318 |                 prim__setCompact
 1319 |                 v
 1320 |
 1321 |
 1322 |
 1323 | namespace HTMLDataElement
 1324 |
 1325 |   export
 1326 |   new : JSIO HTMLDataElement
 1327 |   new = primJS $ HTMLDataElement.prim__new
 1328 |
 1329 |
 1330 |   export
 1331 |   value : HTMLDataElement -> Attribute True Prelude.id String
 1332 |   value v = fromPrim "HTMLDataElement.getvalue" prim__value prim__setValue v
 1333 |
 1334 |
 1335 |
 1336 | namespace HTMLDataListElement
 1337 |
 1338 |   export
 1339 |   new : JSIO HTMLDataListElement
 1340 |   new = primJS $ HTMLDataListElement.prim__new
 1341 |
 1342 |
 1343 |   export
 1344 |   options : (obj : HTMLDataListElement) -> JSIO HTMLCollection
 1345 |   options a = primJS $ HTMLDataListElement.prim__options a
 1346 |
 1347 |
 1348 |
 1349 | namespace HTMLDetailsElement
 1350 |
 1351 |   export
 1352 |   new : JSIO HTMLDetailsElement
 1353 |   new = primJS $ HTMLDetailsElement.prim__new
 1354 |
 1355 |
 1356 |   export
 1357 |   open_ : HTMLDetailsElement -> Attribute True Prelude.id Bool
 1358 |   open_ v = fromPrim "HTMLDetailsElement.getopen" prim__open prim__setOpen v
 1359 |
 1360 |
 1361 |
 1362 | namespace HTMLDialogElement
 1363 |
 1364 |   export
 1365 |   new : JSIO HTMLDialogElement
 1366 |   new = primJS $ HTMLDialogElement.prim__new
 1367 |
 1368 |
 1369 |   export
 1370 |   open_ : HTMLDialogElement -> Attribute True Prelude.id Bool
 1371 |   open_ v = fromPrim "HTMLDialogElement.getopen" prim__open prim__setOpen v
 1372 |
 1373 |
 1374 |   export
 1375 |   returnValue : HTMLDialogElement -> Attribute True Prelude.id String
 1376 |   returnValue v = fromPrim
 1377 |                     "HTMLDialogElement.getreturnValue"
 1378 |                     prim__returnValue
 1379 |                     prim__setReturnValue
 1380 |                     v
 1381 |
 1382 |
 1383 |   export
 1384 |   close' :
 1385 |        (obj : HTMLDialogElement)
 1386 |     -> (returnValue : Optional String)
 1387 |     -> JSIO ()
 1388 |   close' a b = primJS $ HTMLDialogElement.prim__close a (toFFI b)
 1389 |
 1390 |   export
 1391 |   close : (obj : HTMLDialogElement) -> JSIO ()
 1392 |   close a = primJS $ HTMLDialogElement.prim__close a undef
 1393 |
 1394 |
 1395 |   export
 1396 |   show : (obj : HTMLDialogElement) -> JSIO ()
 1397 |   show a = primJS $ HTMLDialogElement.prim__show a
 1398 |
 1399 |
 1400 |   export
 1401 |   showModal : (obj : HTMLDialogElement) -> JSIO ()
 1402 |   showModal a = primJS $ HTMLDialogElement.prim__showModal a
 1403 |
 1404 |
 1405 |
 1406 | namespace HTMLDirectoryElement
 1407 |
 1408 |   export
 1409 |   new : JSIO HTMLDirectoryElement
 1410 |   new = primJS $ HTMLDirectoryElement.prim__new
 1411 |
 1412 |
 1413 |   export
 1414 |   compact : HTMLDirectoryElement -> Attribute True Prelude.id Bool
 1415 |   compact v = fromPrim
 1416 |                 "HTMLDirectoryElement.getcompact"
 1417 |                 prim__compact
 1418 |                 prim__setCompact
 1419 |                 v
 1420 |
 1421 |
 1422 |
 1423 | namespace HTMLDivElement
 1424 |
 1425 |   export
 1426 |   new : JSIO HTMLDivElement
 1427 |   new = primJS $ HTMLDivElement.prim__new
 1428 |
 1429 |
 1430 |   export
 1431 |   align : HTMLDivElement -> Attribute True Prelude.id String
 1432 |   align v = fromPrim "HTMLDivElement.getalign" prim__align prim__setAlign v
 1433 |
 1434 |
 1435 |
 1436 | namespace HTMLElement
 1437 |
 1438 |   export
 1439 |   new : JSIO HTMLElement
 1440 |   new = primJS $ HTMLElement.prim__new
 1441 |
 1442 |
 1443 |   export
 1444 |   accessKey :
 1445 |        {auto 0 _ : JSType t}
 1446 |     -> {auto 0 _ : Elem HTMLElement (Types t)}
 1447 |     -> t
 1448 |     -> Attribute True Prelude.id String
 1449 |   accessKey v = fromPrim
 1450 |                   "HTMLElement.getaccessKey"
 1451 |                   prim__accessKey
 1452 |                   prim__setAccessKey
 1453 |                   (v :> HTMLElement)
 1454 |
 1455 |
 1456 |   export
 1457 |   accessKeyLabel :
 1458 |        {auto 0 _ : JSType t1}
 1459 |     -> {auto 0 _ : Elem HTMLElement (Types t1)}
 1460 |     -> (obj : t1)
 1461 |     -> JSIO String
 1462 |   accessKeyLabel a = primJS $ HTMLElement.prim__accessKeyLabel (up a)
 1463 |
 1464 |
 1465 |   export
 1466 |   autocapitalize :
 1467 |        {auto 0 _ : JSType t}
 1468 |     -> {auto 0 _ : Elem HTMLElement (Types t)}
 1469 |     -> t
 1470 |     -> Attribute True Prelude.id String
 1471 |   autocapitalize v = fromPrim
 1472 |                        "HTMLElement.getautocapitalize"
 1473 |                        prim__autocapitalize
 1474 |                        prim__setAutocapitalize
 1475 |                        (v :> HTMLElement)
 1476 |
 1477 |
 1478 |   export
 1479 |   dir :
 1480 |        {auto 0 _ : JSType t}
 1481 |     -> {auto 0 _ : Elem HTMLElement (Types t)}
 1482 |     -> t
 1483 |     -> Attribute True Prelude.id String
 1484 |   dir v = fromPrim
 1485 |             "HTMLElement.getdir"
 1486 |             prim__dir
 1487 |             prim__setDir
 1488 |             (v :> HTMLElement)
 1489 |
 1490 |
 1491 |   export
 1492 |   draggable :
 1493 |        {auto 0 _ : JSType t}
 1494 |     -> {auto 0 _ : Elem HTMLElement (Types t)}
 1495 |     -> t
 1496 |     -> Attribute True Prelude.id Bool
 1497 |   draggable v = fromPrim
 1498 |                   "HTMLElement.getdraggable"
 1499 |                   prim__draggable
 1500 |                   prim__setDraggable
 1501 |                   (v :> HTMLElement)
 1502 |
 1503 |
 1504 |   export
 1505 |   hidden :
 1506 |        {auto 0 _ : JSType t}
 1507 |     -> {auto 0 _ : Elem HTMLElement (Types t)}
 1508 |     -> t
 1509 |     -> Attribute True Prelude.id Bool
 1510 |   hidden v = fromPrim
 1511 |                "HTMLElement.gethidden"
 1512 |                prim__hidden
 1513 |                prim__setHidden
 1514 |                (v :> HTMLElement)
 1515 |
 1516 |
 1517 |   export
 1518 |   innerText :
 1519 |        {auto 0 _ : JSType t}
 1520 |     -> {auto 0 _ : Elem HTMLElement (Types t)}
 1521 |     -> t
 1522 |     -> Attribute True Prelude.id String
 1523 |   innerText v = fromPrim
 1524 |                   "HTMLElement.getinnerText"
 1525 |                   prim__innerText
 1526 |                   prim__setInnerText
 1527 |                   (v :> HTMLElement)
 1528 |
 1529 |
 1530 |   export
 1531 |   lang :
 1532 |        {auto 0 _ : JSType t}
 1533 |     -> {auto 0 _ : Elem HTMLElement (Types t)}
 1534 |     -> t
 1535 |     -> Attribute True Prelude.id String
 1536 |   lang v = fromPrim
 1537 |              "HTMLElement.getlang"
 1538 |              prim__lang
 1539 |              prim__setLang
 1540 |              (v :> HTMLElement)
 1541 |
 1542 |
 1543 |   export
 1544 |   offsetHeight :
 1545 |        {auto 0 _ : JSType t1}
 1546 |     -> {auto 0 _ : Elem HTMLElement (Types t1)}
 1547 |     -> (obj : t1)
 1548 |     -> JSIO Int32
 1549 |   offsetHeight a = primJS $ HTMLElement.prim__offsetHeight (up a)
 1550 |
 1551 |
 1552 |   export
 1553 |   offsetLeft :
 1554 |        {auto 0 _ : JSType t1}
 1555 |     -> {auto 0 _ : Elem HTMLElement (Types t1)}
 1556 |     -> (obj : t1)
 1557 |     -> JSIO Int32
 1558 |   offsetLeft a = primJS $ HTMLElement.prim__offsetLeft (up a)
 1559 |
 1560 |
 1561 |   export
 1562 |   offsetParent :
 1563 |        {auto 0 _ : JSType t1}
 1564 |     -> {auto 0 _ : Elem HTMLElement (Types t1)}
 1565 |     -> (obj : t1)
 1566 |     -> JSIO (Maybe Element)
 1567 |   offsetParent a = tryJS "HTMLElement.offsetParent" $
 1568 |     HTMLElement.prim__offsetParent (up a)
 1569 |
 1570 |
 1571 |   export
 1572 |   offsetTop :
 1573 |        {auto 0 _ : JSType t1}
 1574 |     -> {auto 0 _ : Elem HTMLElement (Types t1)}
 1575 |     -> (obj : t1)
 1576 |     -> JSIO Int32
 1577 |   offsetTop a = primJS $ HTMLElement.prim__offsetTop (up a)
 1578 |
 1579 |
 1580 |   export
 1581 |   offsetWidth :
 1582 |        {auto 0 _ : JSType t1}
 1583 |     -> {auto 0 _ : Elem HTMLElement (Types t1)}
 1584 |     -> (obj : t1)
 1585 |     -> JSIO Int32
 1586 |   offsetWidth a = primJS $ HTMLElement.prim__offsetWidth (up a)
 1587 |
 1588 |
 1589 |   export
 1590 |   spellcheck :
 1591 |        {auto 0 _ : JSType t}
 1592 |     -> {auto 0 _ : Elem HTMLElement (Types t)}
 1593 |     -> t
 1594 |     -> Attribute True Prelude.id Bool
 1595 |   spellcheck v = fromPrim
 1596 |                    "HTMLElement.getspellcheck"
 1597 |                    prim__spellcheck
 1598 |                    prim__setSpellcheck
 1599 |                    (v :> HTMLElement)
 1600 |
 1601 |
 1602 |   export
 1603 |   title :
 1604 |        {auto 0 _ : JSType t}
 1605 |     -> {auto 0 _ : Elem HTMLElement (Types t)}
 1606 |     -> t
 1607 |     -> Attribute True Prelude.id String
 1608 |   title v = fromPrim
 1609 |               "HTMLElement.gettitle"
 1610 |               prim__title
 1611 |               prim__setTitle
 1612 |               (v :> HTMLElement)
 1613 |
 1614 |
 1615 |   export
 1616 |   translate :
 1617 |        {auto 0 _ : JSType t}
 1618 |     -> {auto 0 _ : Elem HTMLElement (Types t)}
 1619 |     -> t
 1620 |     -> Attribute True Prelude.id Bool
 1621 |   translate v = fromPrim
 1622 |                   "HTMLElement.gettranslate"
 1623 |                   prim__translate
 1624 |                   prim__setTranslate
 1625 |                   (v :> HTMLElement)
 1626 |
 1627 |
 1628 |   export
 1629 |   attachInternals :
 1630 |        {auto 0 _ : JSType t1}
 1631 |     -> {auto 0 _ : Elem HTMLElement (Types t1)}
 1632 |     -> (obj : t1)
 1633 |     -> JSIO ElementInternals
 1634 |   attachInternals a = primJS $ HTMLElement.prim__attachInternals (up a)
 1635 |
 1636 |
 1637 |   export
 1638 |   click :
 1639 |        {auto 0 _ : JSType t1}
 1640 |     -> {auto 0 _ : Elem HTMLElement (Types t1)}
 1641 |     -> (obj : t1)
 1642 |     -> JSIO ()
 1643 |   click a = primJS $ HTMLElement.prim__click (up a)
 1644 |
 1645 |
 1646 |
 1647 | namespace HTMLEmbedElement
 1648 |
 1649 |   export
 1650 |   new : JSIO HTMLEmbedElement
 1651 |   new = primJS $ HTMLEmbedElement.prim__new
 1652 |
 1653 |
 1654 |   export
 1655 |   align : HTMLEmbedElement -> Attribute True Prelude.id String
 1656 |   align v = fromPrim "HTMLEmbedElement.getalign" prim__align prim__setAlign v
 1657 |
 1658 |
 1659 |   export
 1660 |   height : HTMLEmbedElement -> Attribute True Prelude.id String
 1661 |   height v = fromPrim
 1662 |                "HTMLEmbedElement.getheight"
 1663 |                prim__height
 1664 |                prim__setHeight
 1665 |                v
 1666 |
 1667 |
 1668 |   export
 1669 |   name : HTMLEmbedElement -> Attribute True Prelude.id String
 1670 |   name v = fromPrim "HTMLEmbedElement.getname" prim__name prim__setName v
 1671 |
 1672 |
 1673 |   export
 1674 |   src : HTMLEmbedElement -> Attribute True Prelude.id String
 1675 |   src v = fromPrim "HTMLEmbedElement.getsrc" prim__src prim__setSrc v
 1676 |
 1677 |
 1678 |   export
 1679 |   type : HTMLEmbedElement -> Attribute True Prelude.id String
 1680 |   type v = fromPrim "HTMLEmbedElement.gettype" prim__type prim__setType v
 1681 |
 1682 |
 1683 |   export
 1684 |   width : HTMLEmbedElement -> Attribute True Prelude.id String
 1685 |   width v = fromPrim "HTMLEmbedElement.getwidth" prim__width prim__setWidth v
 1686 |
 1687 |
 1688 |   export
 1689 |   getSVGDocument : (obj : HTMLEmbedElement) -> JSIO (Maybe Document)
 1690 |   getSVGDocument a = tryJS "HTMLEmbedElement.getSVGDocument" $
 1691 |     HTMLEmbedElement.prim__getSVGDocument a
 1692 |
 1693 |
 1694 |
 1695 | namespace HTMLFieldSetElement
 1696 |
 1697 |   export
 1698 |   new : JSIO HTMLFieldSetElement
 1699 |   new = primJS $ HTMLFieldSetElement.prim__new
 1700 |
 1701 |
 1702 |   export
 1703 |   disabled : HTMLFieldSetElement -> Attribute True Prelude.id Bool
 1704 |   disabled v = fromPrim
 1705 |                  "HTMLFieldSetElement.getdisabled"
 1706 |                  prim__disabled
 1707 |                  prim__setDisabled
 1708 |                  v
 1709 |
 1710 |
 1711 |   export
 1712 |   elements : (obj : HTMLFieldSetElement) -> JSIO HTMLCollection
 1713 |   elements a = primJS $ HTMLFieldSetElement.prim__elements a
 1714 |
 1715 |
 1716 |   export
 1717 |   form : (obj : HTMLFieldSetElement) -> JSIO (Maybe HTMLFormElement)
 1718 |   form a = tryJS "HTMLFieldSetElement.form" $ HTMLFieldSetElement.prim__form a
 1719 |
 1720 |
 1721 |   export
 1722 |   name : HTMLFieldSetElement -> Attribute True Prelude.id String
 1723 |   name v = fromPrim "HTMLFieldSetElement.getname" prim__name prim__setName v
 1724 |
 1725 |
 1726 |   export
 1727 |   type : (obj : HTMLFieldSetElement) -> JSIO String
 1728 |   type a = primJS $ HTMLFieldSetElement.prim__type a
 1729 |
 1730 |
 1731 |   export
 1732 |   validationMessage : (obj : HTMLFieldSetElement) -> JSIO String
 1733 |   validationMessage a = primJS $ HTMLFieldSetElement.prim__validationMessage a
 1734 |
 1735 |
 1736 |   export
 1737 |   validity : (obj : HTMLFieldSetElement) -> JSIO ValidityState
 1738 |   validity a = primJS $ HTMLFieldSetElement.prim__validity a
 1739 |
 1740 |
 1741 |   export
 1742 |   willValidate : (obj : HTMLFieldSetElement) -> JSIO Bool
 1743 |   willValidate a = tryJS "HTMLFieldSetElement.willValidate" $
 1744 |     HTMLFieldSetElement.prim__willValidate a
 1745 |
 1746 |
 1747 |   export
 1748 |   checkValidity : (obj : HTMLFieldSetElement) -> JSIO Bool
 1749 |   checkValidity a = tryJS "HTMLFieldSetElement.checkValidity" $
 1750 |     HTMLFieldSetElement.prim__checkValidity a
 1751 |
 1752 |
 1753 |   export
 1754 |   reportValidity : (obj : HTMLFieldSetElement) -> JSIO Bool
 1755 |   reportValidity a = tryJS "HTMLFieldSetElement.reportValidity" $
 1756 |     HTMLFieldSetElement.prim__reportValidity a
 1757 |
 1758 |
 1759 |   export
 1760 |   setCustomValidity : (obj : HTMLFieldSetElement) -> (error : String) -> JSIO ()
 1761 |   setCustomValidity a b = primJS $
 1762 |     HTMLFieldSetElement.prim__setCustomValidity a b
 1763 |
 1764 |
 1765 |
 1766 | namespace HTMLFontElement
 1767 |
 1768 |   export
 1769 |   new : JSIO HTMLFontElement
 1770 |   new = primJS $ HTMLFontElement.prim__new
 1771 |
 1772 |
 1773 |   export
 1774 |   color : HTMLFontElement -> Attribute True Prelude.id String
 1775 |   color v = fromPrim "HTMLFontElement.getcolor" prim__color prim__setColor v
 1776 |
 1777 |
 1778 |   export
 1779 |   face : HTMLFontElement -> Attribute True Prelude.id String
 1780 |   face v = fromPrim "HTMLFontElement.getface" prim__face prim__setFace v
 1781 |
 1782 |
 1783 |   export
 1784 |   size : HTMLFontElement -> Attribute True Prelude.id String
 1785 |   size v = fromPrim "HTMLFontElement.getsize" prim__size prim__setSize v
 1786 |
 1787 |
 1788 |
 1789 | namespace HTMLFormControlsCollection
 1790 |
 1791 |   export
 1792 |   namedItem :
 1793 |        (obj : HTMLFormControlsCollection)
 1794 |     -> (name : String)
 1795 |     -> JSIO (Maybe (HSum [RadioNodeList, Element]))
 1796 |   namedItem a b = tryJS "HTMLFormControlsCollection.namedItem" $
 1797 |     HTMLFormControlsCollection.prim__namedItem a b
 1798 |
 1799 |
 1800 |
 1801 | namespace HTMLFormElement
 1802 |
 1803 |   export
 1804 |   new : JSIO HTMLFormElement
 1805 |   new = primJS $ HTMLFormElement.prim__new
 1806 |
 1807 |
 1808 |   export
 1809 |   get : (obj : HTMLFormElement) -> (index : Bits32) -> JSIO Element
 1810 |   get a b = primJS $ HTMLFormElement.prim__get a b
 1811 |
 1812 |
 1813 |   export
 1814 |   get1 :
 1815 |        (obj : HTMLFormElement)
 1816 |     -> (name : String)
 1817 |     -> JSIO (HSum [RadioNodeList, Element])
 1818 |   get1 a b = tryJS "HTMLFormElement.get1" $ HTMLFormElement.prim__get1 a b
 1819 |
 1820 |
 1821 |   export
 1822 |   acceptCharset : HTMLFormElement -> Attribute True Prelude.id String
 1823 |   acceptCharset v = fromPrim
 1824 |                       "HTMLFormElement.getacceptCharset"
 1825 |                       prim__acceptCharset
 1826 |                       prim__setAcceptCharset
 1827 |                       v
 1828 |
 1829 |
 1830 |   export
 1831 |   action : HTMLFormElement -> Attribute True Prelude.id String
 1832 |   action v = fromPrim "HTMLFormElement.getaction" prim__action prim__setAction v
 1833 |
 1834 |
 1835 |   export
 1836 |   autocomplete : HTMLFormElement -> Attribute True Prelude.id String
 1837 |   autocomplete v = fromPrim
 1838 |                      "HTMLFormElement.getautocomplete"
 1839 |                      prim__autocomplete
 1840 |                      prim__setAutocomplete
 1841 |                      v
 1842 |
 1843 |
 1844 |   export
 1845 |   elements : (obj : HTMLFormElement) -> JSIO HTMLFormControlsCollection
 1846 |   elements a = primJS $ HTMLFormElement.prim__elements a
 1847 |
 1848 |
 1849 |   export
 1850 |   encoding : HTMLFormElement -> Attribute True Prelude.id String
 1851 |   encoding v = fromPrim
 1852 |                  "HTMLFormElement.getencoding"
 1853 |                  prim__encoding
 1854 |                  prim__setEncoding
 1855 |                  v
 1856 |
 1857 |
 1858 |   export
 1859 |   enctype : HTMLFormElement -> Attribute True Prelude.id String
 1860 |   enctype v = fromPrim
 1861 |                 "HTMLFormElement.getenctype"
 1862 |                 prim__enctype
 1863 |                 prim__setEnctype
 1864 |                 v
 1865 |
 1866 |
 1867 |   export
 1868 |   length : (obj : HTMLFormElement) -> JSIO Bits32
 1869 |   length a = primJS $ HTMLFormElement.prim__length a
 1870 |
 1871 |
 1872 |   export
 1873 |   method : HTMLFormElement -> Attribute True Prelude.id String
 1874 |   method v = fromPrim "HTMLFormElement.getmethod" prim__method prim__setMethod v
 1875 |
 1876 |
 1877 |   export
 1878 |   name : HTMLFormElement -> Attribute True Prelude.id String
 1879 |   name v = fromPrim "HTMLFormElement.getname" prim__name prim__setName v
 1880 |
 1881 |
 1882 |   export
 1883 |   noValidate : HTMLFormElement -> Attribute True Prelude.id Bool
 1884 |   noValidate v = fromPrim
 1885 |                    "HTMLFormElement.getnoValidate"
 1886 |                    prim__noValidate
 1887 |                    prim__setNoValidate
 1888 |                    v
 1889 |
 1890 |
 1891 |   export
 1892 |   rel : HTMLFormElement -> Attribute True Prelude.id String
 1893 |   rel v = fromPrim "HTMLFormElement.getrel" prim__rel prim__setRel v
 1894 |
 1895 |
 1896 |   export
 1897 |   relList : (obj : HTMLFormElement) -> JSIO DOMTokenList
 1898 |   relList a = primJS $ HTMLFormElement.prim__relList a
 1899 |
 1900 |
 1901 |   export
 1902 |   target : HTMLFormElement -> Attribute True Prelude.id String
 1903 |   target v = fromPrim "HTMLFormElement.gettarget" prim__target prim__setTarget v
 1904 |
 1905 |
 1906 |   export
 1907 |   checkValidity : (obj : HTMLFormElement) -> JSIO Bool
 1908 |   checkValidity a = tryJS "HTMLFormElement.checkValidity" $
 1909 |     HTMLFormElement.prim__checkValidity a
 1910 |
 1911 |
 1912 |   export
 1913 |   reportValidity : (obj : HTMLFormElement) -> JSIO Bool
 1914 |   reportValidity a = tryJS "HTMLFormElement.reportValidity" $
 1915 |     HTMLFormElement.prim__reportValidity a
 1916 |
 1917 |
 1918 |   export
 1919 |   requestSubmit' :
 1920 |        {auto 0 _ : JSType t2}
 1921 |     -> {auto 0 _ : Elem HTMLElement (Types t2)}
 1922 |     -> (obj : HTMLFormElement)
 1923 |     -> (submitter : Optional (Maybe t2))
 1924 |     -> JSIO ()
 1925 |   requestSubmit' a b = primJS $ HTMLFormElement.prim__requestSubmit a (omyUp b)
 1926 |
 1927 |   export
 1928 |   requestSubmit : (obj : HTMLFormElement) -> JSIO ()
 1929 |   requestSubmit a = primJS $ HTMLFormElement.prim__requestSubmit a undef
 1930 |
 1931 |
 1932 |   export
 1933 |   reset : (obj : HTMLFormElement) -> JSIO ()
 1934 |   reset a = primJS $ HTMLFormElement.prim__reset a
 1935 |
 1936 |
 1937 |   export
 1938 |   submit : (obj : HTMLFormElement) -> JSIO ()
 1939 |   submit a = primJS $ HTMLFormElement.prim__submit a
 1940 |
 1941 |
 1942 |
 1943 | namespace HTMLFrameElement
 1944 |
 1945 |   export
 1946 |   new : JSIO HTMLFrameElement
 1947 |   new = primJS $ HTMLFrameElement.prim__new
 1948 |
 1949 |
 1950 |   export
 1951 |   contentDocument : (obj : HTMLFrameElement) -> JSIO (Maybe Document)
 1952 |   contentDocument a = tryJS "HTMLFrameElement.contentDocument" $
 1953 |     HTMLFrameElement.prim__contentDocument a
 1954 |
 1955 |
 1956 |   export
 1957 |   contentWindow : (obj : HTMLFrameElement) -> JSIO (Maybe WindowProxy)
 1958 |   contentWindow a = tryJS "HTMLFrameElement.contentWindow" $
 1959 |     HTMLFrameElement.prim__contentWindow a
 1960 |
 1961 |
 1962 |   export
 1963 |   frameBorder : HTMLFrameElement -> Attribute True Prelude.id String
 1964 |   frameBorder v = fromPrim
 1965 |                     "HTMLFrameElement.getframeBorder"
 1966 |                     prim__frameBorder
 1967 |                     prim__setFrameBorder
 1968 |                     v
 1969 |
 1970 |
 1971 |   export
 1972 |   longDesc : HTMLFrameElement -> Attribute True Prelude.id String
 1973 |   longDesc v = fromPrim
 1974 |                  "HTMLFrameElement.getlongDesc"
 1975 |                  prim__longDesc
 1976 |                  prim__setLongDesc
 1977 |                  v
 1978 |
 1979 |
 1980 |   export
 1981 |   marginHeight : HTMLFrameElement -> Attribute True Prelude.id String
 1982 |   marginHeight v = fromPrim
 1983 |                      "HTMLFrameElement.getmarginHeight"
 1984 |                      prim__marginHeight
 1985 |                      prim__setMarginHeight
 1986 |                      v
 1987 |
 1988 |
 1989 |   export
 1990 |   marginWidth : HTMLFrameElement -> Attribute True Prelude.id String
 1991 |   marginWidth v = fromPrim
 1992 |                     "HTMLFrameElement.getmarginWidth"
 1993 |                     prim__marginWidth
 1994 |                     prim__setMarginWidth
 1995 |                     v
 1996 |
 1997 |
 1998 |   export
 1999 |   name : HTMLFrameElement -> Attribute True Prelude.id String
 2000 |   name v = fromPrim "HTMLFrameElement.getname" prim__name prim__setName v
 2001 |
 2002 |
 2003 |   export
 2004 |   noResize : HTMLFrameElement -> Attribute True Prelude.id Bool
 2005 |   noResize v = fromPrim
 2006 |                  "HTMLFrameElement.getnoResize"
 2007 |                  prim__noResize
 2008 |                  prim__setNoResize
 2009 |                  v
 2010 |
 2011 |
 2012 |   export
 2013 |   scrolling : HTMLFrameElement -> Attribute True Prelude.id String
 2014 |   scrolling v = fromPrim
 2015 |                   "HTMLFrameElement.getscrolling"
 2016 |                   prim__scrolling
 2017 |                   prim__setScrolling
 2018 |                   v
 2019 |
 2020 |
 2021 |   export
 2022 |   src : HTMLFrameElement -> Attribute True Prelude.id String
 2023 |   src v = fromPrim "HTMLFrameElement.getsrc" prim__src prim__setSrc v
 2024 |
 2025 |
 2026 |
 2027 | namespace HTMLFrameSetElement
 2028 |
 2029 |   export
 2030 |   new : JSIO HTMLFrameSetElement
 2031 |   new = primJS $ HTMLFrameSetElement.prim__new
 2032 |
 2033 |
 2034 |   export
 2035 |   cols : HTMLFrameSetElement -> Attribute True Prelude.id String
 2036 |   cols v = fromPrim "HTMLFrameSetElement.getcols" prim__cols prim__setCols v
 2037 |
 2038 |
 2039 |   export
 2040 |   rows : HTMLFrameSetElement -> Attribute True Prelude.id String
 2041 |   rows v = fromPrim "HTMLFrameSetElement.getrows" prim__rows prim__setRows v
 2042 |
 2043 |
 2044 |
 2045 | namespace HTMLHRElement
 2046 |
 2047 |   export
 2048 |   new : JSIO HTMLHRElement
 2049 |   new = primJS $ HTMLHRElement.prim__new
 2050 |
 2051 |
 2052 |   export
 2053 |   align : HTMLHRElement -> Attribute True Prelude.id String
 2054 |   align v = fromPrim "HTMLHRElement.getalign" prim__align prim__setAlign v
 2055 |
 2056 |
 2057 |   export
 2058 |   color : HTMLHRElement -> Attribute True Prelude.id String
 2059 |   color v = fromPrim "HTMLHRElement.getcolor" prim__color prim__setColor v
 2060 |
 2061 |
 2062 |   export
 2063 |   noShade : HTMLHRElement -> Attribute True Prelude.id Bool
 2064 |   noShade v = fromPrim
 2065 |                 "HTMLHRElement.getnoShade"
 2066 |                 prim__noShade
 2067 |                 prim__setNoShade
 2068 |                 v
 2069 |
 2070 |
 2071 |   export
 2072 |   size : HTMLHRElement -> Attribute True Prelude.id String
 2073 |   size v = fromPrim "HTMLHRElement.getsize" prim__size prim__setSize v
 2074 |
 2075 |
 2076 |   export
 2077 |   width : HTMLHRElement -> Attribute True Prelude.id String
 2078 |   width v = fromPrim "HTMLHRElement.getwidth" prim__width prim__setWidth v
 2079 |
 2080 |
 2081 |
 2082 | namespace HTMLHeadElement
 2083 |
 2084 |   export
 2085 |   new : JSIO HTMLHeadElement
 2086 |   new = primJS $ HTMLHeadElement.prim__new
 2087 |
 2088 |
 2089 |
 2090 | namespace HTMLHeadingElement
 2091 |
 2092 |   export
 2093 |   new : JSIO HTMLHeadingElement
 2094 |   new = primJS $ HTMLHeadingElement.prim__new
 2095 |
 2096 |
 2097 |   export
 2098 |   align : HTMLHeadingElement -> Attribute True Prelude.id String
 2099 |   align v = fromPrim "HTMLHeadingElement.getalign" prim__align prim__setAlign v
 2100 |
 2101 |
 2102 |
 2103 | namespace HTMLHtmlElement
 2104 |
 2105 |   export
 2106 |   new : JSIO HTMLHtmlElement
 2107 |   new = primJS $ HTMLHtmlElement.prim__new
 2108 |
 2109 |
 2110 |   export
 2111 |   version : HTMLHtmlElement -> Attribute True Prelude.id String
 2112 |   version v = fromPrim
 2113 |                 "HTMLHtmlElement.getversion"
 2114 |                 prim__version
 2115 |                 prim__setVersion
 2116 |                 v
 2117 |
 2118 |
 2119 |
 2120 | namespace HTMLIFrameElement
 2121 |
 2122 |   export
 2123 |   new : JSIO HTMLIFrameElement
 2124 |   new = primJS $ HTMLIFrameElement.prim__new
 2125 |
 2126 |
 2127 |   export
 2128 |   align : HTMLIFrameElement -> Attribute True Prelude.id String
 2129 |   align v = fromPrim "HTMLIFrameElement.getalign" prim__align prim__setAlign v
 2130 |
 2131 |
 2132 |   export
 2133 |   allow : HTMLIFrameElement -> Attribute True Prelude.id String
 2134 |   allow v = fromPrim "HTMLIFrameElement.getallow" prim__allow prim__setAllow v
 2135 |
 2136 |
 2137 |   export
 2138 |   allowFullscreen : HTMLIFrameElement -> Attribute True Prelude.id Bool
 2139 |   allowFullscreen v = fromPrim
 2140 |                         "HTMLIFrameElement.getallowFullscreen"
 2141 |                         prim__allowFullscreen
 2142 |                         prim__setAllowFullscreen
 2143 |                         v
 2144 |
 2145 |
 2146 |   export
 2147 |   contentDocument : (obj : HTMLIFrameElement) -> JSIO (Maybe Document)
 2148 |   contentDocument a = tryJS "HTMLIFrameElement.contentDocument" $
 2149 |     HTMLIFrameElement.prim__contentDocument a
 2150 |
 2151 |
 2152 |   export
 2153 |   contentWindow : (obj : HTMLIFrameElement) -> JSIO (Maybe WindowProxy)
 2154 |   contentWindow a = tryJS "HTMLIFrameElement.contentWindow" $
 2155 |     HTMLIFrameElement.prim__contentWindow a
 2156 |
 2157 |
 2158 |   export
 2159 |   frameBorder : HTMLIFrameElement -> Attribute True Prelude.id String
 2160 |   frameBorder v = fromPrim
 2161 |                     "HTMLIFrameElement.getframeBorder"
 2162 |                     prim__frameBorder
 2163 |                     prim__setFrameBorder
 2164 |                     v
 2165 |
 2166 |
 2167 |   export
 2168 |   height : HTMLIFrameElement -> Attribute True Prelude.id String
 2169 |   height v = fromPrim
 2170 |                "HTMLIFrameElement.getheight"
 2171 |                prim__height
 2172 |                prim__setHeight
 2173 |                v
 2174 |
 2175 |
 2176 |   export
 2177 |   loading : HTMLIFrameElement -> Attribute True Prelude.id String
 2178 |   loading v = fromPrim
 2179 |                 "HTMLIFrameElement.getloading"
 2180 |                 prim__loading
 2181 |                 prim__setLoading
 2182 |                 v
 2183 |
 2184 |
 2185 |   export
 2186 |   longDesc : HTMLIFrameElement -> Attribute True Prelude.id String
 2187 |   longDesc v = fromPrim
 2188 |                  "HTMLIFrameElement.getlongDesc"
 2189 |                  prim__longDesc
 2190 |                  prim__setLongDesc
 2191 |                  v
 2192 |
 2193 |
 2194 |   export
 2195 |   marginHeight : HTMLIFrameElement -> Attribute True Prelude.id String
 2196 |   marginHeight v = fromPrim
 2197 |                      "HTMLIFrameElement.getmarginHeight"
 2198 |                      prim__marginHeight
 2199 |                      prim__setMarginHeight
 2200 |                      v
 2201 |
 2202 |
 2203 |   export
 2204 |   marginWidth : HTMLIFrameElement -> Attribute True Prelude.id String
 2205 |   marginWidth v = fromPrim
 2206 |                     "HTMLIFrameElement.getmarginWidth"
 2207 |                     prim__marginWidth
 2208 |                     prim__setMarginWidth
 2209 |                     v
 2210 |
 2211 |
 2212 |   export
 2213 |   name : HTMLIFrameElement -> Attribute True Prelude.id String
 2214 |   name v = fromPrim "HTMLIFrameElement.getname" prim__name prim__setName v
 2215 |
 2216 |
 2217 |   export
 2218 |   referrerPolicy : HTMLIFrameElement -> Attribute True Prelude.id String
 2219 |   referrerPolicy v = fromPrim
 2220 |                        "HTMLIFrameElement.getreferrerPolicy"
 2221 |                        prim__referrerPolicy
 2222 |                        prim__setReferrerPolicy
 2223 |                        v
 2224 |
 2225 |
 2226 |   export
 2227 |   sandbox : (obj : HTMLIFrameElement) -> JSIO DOMTokenList
 2228 |   sandbox a = primJS $ HTMLIFrameElement.prim__sandbox a
 2229 |
 2230 |
 2231 |   export
 2232 |   scrolling : HTMLIFrameElement -> Attribute True Prelude.id String
 2233 |   scrolling v = fromPrim
 2234 |                   "HTMLIFrameElement.getscrolling"
 2235 |                   prim__scrolling
 2236 |                   prim__setScrolling
 2237 |                   v
 2238 |
 2239 |
 2240 |   export
 2241 |   src : HTMLIFrameElement -> Attribute True Prelude.id String
 2242 |   src v = fromPrim "HTMLIFrameElement.getsrc" prim__src prim__setSrc v
 2243 |
 2244 |
 2245 |   export
 2246 |   srcdoc : HTMLIFrameElement -> Attribute True Prelude.id String
 2247 |   srcdoc v = fromPrim
 2248 |                "HTMLIFrameElement.getsrcdoc"
 2249 |                prim__srcdoc
 2250 |                prim__setSrcdoc
 2251 |                v
 2252 |
 2253 |
 2254 |   export
 2255 |   width : HTMLIFrameElement -> Attribute True Prelude.id String
 2256 |   width v = fromPrim "HTMLIFrameElement.getwidth" prim__width prim__setWidth v
 2257 |
 2258 |
 2259 |   export
 2260 |   getSVGDocument : (obj : HTMLIFrameElement) -> JSIO (Maybe Document)
 2261 |   getSVGDocument a = tryJS "HTMLIFrameElement.getSVGDocument" $
 2262 |     HTMLIFrameElement.prim__getSVGDocument a
 2263 |
 2264 |
 2265 |
 2266 | namespace HTMLImageElement
 2267 |
 2268 |   export
 2269 |   new : JSIO HTMLImageElement
 2270 |   new = primJS $ HTMLImageElement.prim__new
 2271 |
 2272 |
 2273 |   export
 2274 |   align : HTMLImageElement -> Attribute True Prelude.id String
 2275 |   align v = fromPrim "HTMLImageElement.getalign" prim__align prim__setAlign v
 2276 |
 2277 |
 2278 |   export
 2279 |   alt : HTMLImageElement -> Attribute True Prelude.id String
 2280 |   alt v = fromPrim "HTMLImageElement.getalt" prim__alt prim__setAlt v
 2281 |
 2282 |
 2283 |   export
 2284 |   border : HTMLImageElement -> Attribute True Prelude.id String
 2285 |   border v = fromPrim
 2286 |                "HTMLImageElement.getborder"
 2287 |                prim__border
 2288 |                prim__setBorder
 2289 |                v
 2290 |
 2291 |
 2292 |   export
 2293 |   complete : (obj : HTMLImageElement) -> JSIO Bool
 2294 |   complete a = tryJS "HTMLImageElement.complete" $
 2295 |     HTMLImageElement.prim__complete a
 2296 |
 2297 |
 2298 |   export
 2299 |   crossOrigin : HTMLImageElement -> Attribute False Maybe String
 2300 |   crossOrigin v = fromNullablePrim
 2301 |                     "HTMLImageElement.getcrossOrigin"
 2302 |                     prim__crossOrigin
 2303 |                     prim__setCrossOrigin
 2304 |                     v
 2305 |
 2306 |
 2307 |   export
 2308 |   currentSrc : (obj : HTMLImageElement) -> JSIO String
 2309 |   currentSrc a = primJS $ HTMLImageElement.prim__currentSrc a
 2310 |
 2311 |
 2312 |   export
 2313 |   decoding : HTMLImageElement -> Attribute True Prelude.id String
 2314 |   decoding v = fromPrim
 2315 |                  "HTMLImageElement.getdecoding"
 2316 |                  prim__decoding
 2317 |                  prim__setDecoding
 2318 |                  v
 2319 |
 2320 |
 2321 |   export
 2322 |   height : HTMLImageElement -> Attribute True Prelude.id Bits32
 2323 |   height v = fromPrim
 2324 |                "HTMLImageElement.getheight"
 2325 |                prim__height
 2326 |                prim__setHeight
 2327 |                v
 2328 |
 2329 |
 2330 |   export
 2331 |   hspace : HTMLImageElement -> Attribute True Prelude.id Bits32
 2332 |   hspace v = fromPrim
 2333 |                "HTMLImageElement.gethspace"
 2334 |                prim__hspace
 2335 |                prim__setHspace
 2336 |                v
 2337 |
 2338 |
 2339 |   export
 2340 |   isMap : HTMLImageElement -> Attribute True Prelude.id Bool
 2341 |   isMap v = fromPrim "HTMLImageElement.getisMap" prim__isMap prim__setIsMap v
 2342 |
 2343 |
 2344 |   export
 2345 |   loading : HTMLImageElement -> Attribute True Prelude.id String
 2346 |   loading v = fromPrim
 2347 |                 "HTMLImageElement.getloading"
 2348 |                 prim__loading
 2349 |                 prim__setLoading
 2350 |                 v
 2351 |
 2352 |
 2353 |   export
 2354 |   longDesc : HTMLImageElement -> Attribute True Prelude.id String
 2355 |   longDesc v = fromPrim
 2356 |                  "HTMLImageElement.getlongDesc"
 2357 |                  prim__longDesc
 2358 |                  prim__setLongDesc
 2359 |                  v
 2360 |
 2361 |
 2362 |   export
 2363 |   lowsrc : HTMLImageElement -> Attribute True Prelude.id String
 2364 |   lowsrc v = fromPrim
 2365 |                "HTMLImageElement.getlowsrc"
 2366 |                prim__lowsrc
 2367 |                prim__setLowsrc
 2368 |                v
 2369 |
 2370 |
 2371 |   export
 2372 |   name : HTMLImageElement -> Attribute True Prelude.id String
 2373 |   name v = fromPrim "HTMLImageElement.getname" prim__name prim__setName v
 2374 |
 2375 |
 2376 |   export
 2377 |   naturalHeight : (obj : HTMLImageElement) -> JSIO Bits32
 2378 |   naturalHeight a = primJS $ HTMLImageElement.prim__naturalHeight a
 2379 |
 2380 |
 2381 |   export
 2382 |   naturalWidth : (obj : HTMLImageElement) -> JSIO Bits32
 2383 |   naturalWidth a = primJS $ HTMLImageElement.prim__naturalWidth a
 2384 |
 2385 |
 2386 |   export
 2387 |   referrerPolicy : HTMLImageElement -> Attribute True Prelude.id String
 2388 |   referrerPolicy v = fromPrim
 2389 |                        "HTMLImageElement.getreferrerPolicy"
 2390 |                        prim__referrerPolicy
 2391 |                        prim__setReferrerPolicy
 2392 |                        v
 2393 |
 2394 |
 2395 |   export
 2396 |   sizes : HTMLImageElement -> Attribute True Prelude.id String
 2397 |   sizes v = fromPrim "HTMLImageElement.getsizes" prim__sizes prim__setSizes v
 2398 |
 2399 |
 2400 |   export
 2401 |   src : HTMLImageElement -> Attribute True Prelude.id String
 2402 |   src v = fromPrim "HTMLImageElement.getsrc" prim__src prim__setSrc v
 2403 |
 2404 |
 2405 |   export
 2406 |   srcset : HTMLImageElement -> Attribute True Prelude.id String
 2407 |   srcset v = fromPrim
 2408 |                "HTMLImageElement.getsrcset"
 2409 |                prim__srcset
 2410 |                prim__setSrcset
 2411 |                v
 2412 |
 2413 |
 2414 |   export
 2415 |   useMap : HTMLImageElement -> Attribute True Prelude.id String
 2416 |   useMap v = fromPrim
 2417 |                "HTMLImageElement.getuseMap"
 2418 |                prim__useMap
 2419 |                prim__setUseMap
 2420 |                v
 2421 |
 2422 |
 2423 |   export
 2424 |   vspace : HTMLImageElement -> Attribute True Prelude.id Bits32
 2425 |   vspace v = fromPrim
 2426 |                "HTMLImageElement.getvspace"
 2427 |                prim__vspace
 2428 |                prim__setVspace
 2429 |                v
 2430 |
 2431 |
 2432 |   export
 2433 |   width : HTMLImageElement -> Attribute True Prelude.id Bits32
 2434 |   width v = fromPrim "HTMLImageElement.getwidth" prim__width prim__setWidth v
 2435 |
 2436 |
 2437 |   export
 2438 |   x : (obj : HTMLImageElement) -> JSIO Int32
 2439 |   x a = primJS $ HTMLImageElement.prim__x a
 2440 |
 2441 |
 2442 |   export
 2443 |   y : (obj : HTMLImageElement) -> JSIO Int32
 2444 |   y a = primJS $ HTMLImageElement.prim__y a
 2445 |
 2446 |
 2447 |   export
 2448 |   decode : (obj : HTMLImageElement) -> JSIO (Promise Undefined)
 2449 |   decode a = primJS $ HTMLImageElement.prim__decode a
 2450 |
 2451 |
 2452 |
 2453 | namespace HTMLInputElement
 2454 |
 2455 |   export
 2456 |   new : JSIO HTMLInputElement
 2457 |   new = primJS $ HTMLInputElement.prim__new
 2458 |
 2459 |
 2460 |   export
 2461 |   accept : HTMLInputElement -> Attribute True Prelude.id String
 2462 |   accept v = fromPrim
 2463 |                "HTMLInputElement.getaccept"
 2464 |                prim__accept
 2465 |                prim__setAccept
 2466 |                v
 2467 |
 2468 |
 2469 |   export
 2470 |   align : HTMLInputElement -> Attribute True Prelude.id String
 2471 |   align v = fromPrim "HTMLInputElement.getalign" prim__align prim__setAlign v
 2472 |
 2473 |
 2474 |   export
 2475 |   alt : HTMLInputElement -> Attribute True Prelude.id String
 2476 |   alt v = fromPrim "HTMLInputElement.getalt" prim__alt prim__setAlt v
 2477 |
 2478 |
 2479 |   export
 2480 |   autocomplete : HTMLInputElement -> Attribute True Prelude.id String
 2481 |   autocomplete v = fromPrim
 2482 |                      "HTMLInputElement.getautocomplete"
 2483 |                      prim__autocomplete
 2484 |                      prim__setAutocomplete
 2485 |                      v
 2486 |
 2487 |
 2488 |   export
 2489 |   checked : HTMLInputElement -> Attribute True Prelude.id Bool
 2490 |   checked v = fromPrim
 2491 |                 "HTMLInputElement.getchecked"
 2492 |                 prim__checked
 2493 |                 prim__setChecked
 2494 |                 v
 2495 |
 2496 |
 2497 |   export
 2498 |   defaultChecked : HTMLInputElement -> Attribute True Prelude.id Bool
 2499 |   defaultChecked v = fromPrim
 2500 |                        "HTMLInputElement.getdefaultChecked"
 2501 |                        prim__defaultChecked
 2502 |                        prim__setDefaultChecked
 2503 |                        v
 2504 |
 2505 |
 2506 |   export
 2507 |   defaultValue : HTMLInputElement -> Attribute True Prelude.id String
 2508 |   defaultValue v = fromPrim
 2509 |                      "HTMLInputElement.getdefaultValue"
 2510 |                      prim__defaultValue
 2511 |                      prim__setDefaultValue
 2512 |                      v
 2513 |
 2514 |
 2515 |   export
 2516 |   dirName : HTMLInputElement -> Attribute True Prelude.id String
 2517 |   dirName v = fromPrim
 2518 |                 "HTMLInputElement.getdirName"
 2519 |                 prim__dirName
 2520 |                 prim__setDirName
 2521 |                 v
 2522 |
 2523 |
 2524 |   export
 2525 |   disabled : HTMLInputElement -> Attribute True Prelude.id Bool
 2526 |   disabled v = fromPrim
 2527 |                  "HTMLInputElement.getdisabled"
 2528 |                  prim__disabled
 2529 |                  prim__setDisabled
 2530 |                  v
 2531 |
 2532 |
 2533 |   export
 2534 |   files : HTMLInputElement -> Attribute False Maybe FileList
 2535 |   files v = fromNullablePrim
 2536 |               "HTMLInputElement.getfiles"
 2537 |               prim__files
 2538 |               prim__setFiles
 2539 |               v
 2540 |
 2541 |
 2542 |   export
 2543 |   form : (obj : HTMLInputElement) -> JSIO (Maybe HTMLFormElement)
 2544 |   form a = tryJS "HTMLInputElement.form" $ HTMLInputElement.prim__form a
 2545 |
 2546 |
 2547 |   export
 2548 |   formAction : HTMLInputElement -> Attribute True Prelude.id String
 2549 |   formAction v = fromPrim
 2550 |                    "HTMLInputElement.getformAction"
 2551 |                    prim__formAction
 2552 |                    prim__setFormAction
 2553 |                    v
 2554 |
 2555 |
 2556 |   export
 2557 |   formEnctype : HTMLInputElement -> Attribute True Prelude.id String
 2558 |   formEnctype v = fromPrim
 2559 |                     "HTMLInputElement.getformEnctype"
 2560 |                     prim__formEnctype
 2561 |                     prim__setFormEnctype
 2562 |                     v
 2563 |
 2564 |
 2565 |   export
 2566 |   formMethod : HTMLInputElement -> Attribute True Prelude.id String
 2567 |   formMethod v = fromPrim
 2568 |                    "HTMLInputElement.getformMethod"
 2569 |                    prim__formMethod
 2570 |                    prim__setFormMethod
 2571 |                    v
 2572 |
 2573 |
 2574 |   export
 2575 |   formNoValidate : HTMLInputElement -> Attribute True Prelude.id Bool
 2576 |   formNoValidate v = fromPrim
 2577 |                        "HTMLInputElement.getformNoValidate"
 2578 |                        prim__formNoValidate
 2579 |                        prim__setFormNoValidate
 2580 |                        v
 2581 |
 2582 |
 2583 |   export
 2584 |   formTarget : HTMLInputElement -> Attribute True Prelude.id String
 2585 |   formTarget v = fromPrim
 2586 |                    "HTMLInputElement.getformTarget"
 2587 |                    prim__formTarget
 2588 |                    prim__setFormTarget
 2589 |                    v
 2590 |
 2591 |
 2592 |   export
 2593 |   height : HTMLInputElement -> Attribute True Prelude.id Bits32
 2594 |   height v = fromPrim
 2595 |                "HTMLInputElement.getheight"
 2596 |                prim__height
 2597 |                prim__setHeight
 2598 |                v
 2599 |
 2600 |
 2601 |   export
 2602 |   indeterminate : HTMLInputElement -> Attribute True Prelude.id Bool
 2603 |   indeterminate v = fromPrim
 2604 |                       "HTMLInputElement.getindeterminate"
 2605 |                       prim__indeterminate
 2606 |                       prim__setIndeterminate
 2607 |                       v
 2608 |
 2609 |
 2610 |   export
 2611 |   labels : (obj : HTMLInputElement) -> JSIO (Maybe NodeList)
 2612 |   labels a = tryJS "HTMLInputElement.labels" $ HTMLInputElement.prim__labels a
 2613 |
 2614 |
 2615 |   export
 2616 |   list : (obj : HTMLInputElement) -> JSIO (Maybe HTMLElement)
 2617 |   list a = tryJS "HTMLInputElement.list" $ HTMLInputElement.prim__list a
 2618 |
 2619 |
 2620 |   export
 2621 |   max : HTMLInputElement -> Attribute True Prelude.id String
 2622 |   max v = fromPrim "HTMLInputElement.getmax" prim__max prim__setMax v
 2623 |
 2624 |
 2625 |   export
 2626 |   maxLength : HTMLInputElement -> Attribute True Prelude.id Int32
 2627 |   maxLength v = fromPrim
 2628 |                   "HTMLInputElement.getmaxLength"
 2629 |                   prim__maxLength
 2630 |                   prim__setMaxLength
 2631 |                   v
 2632 |
 2633 |
 2634 |   export
 2635 |   min : HTMLInputElement -> Attribute True Prelude.id String
 2636 |   min v = fromPrim "HTMLInputElement.getmin" prim__min prim__setMin v
 2637 |
 2638 |
 2639 |   export
 2640 |   minLength : HTMLInputElement -> Attribute True Prelude.id Int32
 2641 |   minLength v = fromPrim
 2642 |                   "HTMLInputElement.getminLength"
 2643 |                   prim__minLength
 2644 |                   prim__setMinLength
 2645 |                   v
 2646 |
 2647 |
 2648 |   export
 2649 |   multiple : HTMLInputElement -> Attribute True Prelude.id Bool
 2650 |   multiple v = fromPrim
 2651 |                  "HTMLInputElement.getmultiple"
 2652 |                  prim__multiple
 2653 |                  prim__setMultiple
 2654 |                  v
 2655 |
 2656 |
 2657 |   export
 2658 |   name : HTMLInputElement -> Attribute True Prelude.id String
 2659 |   name v = fromPrim "HTMLInputElement.getname" prim__name prim__setName v
 2660 |
 2661 |
 2662 |   export
 2663 |   pattern : HTMLInputElement -> Attribute True Prelude.id String
 2664 |   pattern v = fromPrim
 2665 |                 "HTMLInputElement.getpattern"
 2666 |                 prim__pattern
 2667 |                 prim__setPattern
 2668 |                 v
 2669 |
 2670 |
 2671 |   export
 2672 |   placeholder : HTMLInputElement -> Attribute True Prelude.id String
 2673 |   placeholder v = fromPrim
 2674 |                     "HTMLInputElement.getplaceholder"
 2675 |                     prim__placeholder
 2676 |                     prim__setPlaceholder
 2677 |                     v
 2678 |
 2679 |
 2680 |   export
 2681 |   readOnly : HTMLInputElement -> Attribute True Prelude.id Bool
 2682 |   readOnly v = fromPrim
 2683 |                  "HTMLInputElement.getreadOnly"
 2684 |                  prim__readOnly
 2685 |                  prim__setReadOnly
 2686 |                  v
 2687 |
 2688 |
 2689 |   export
 2690 |   required : HTMLInputElement -> Attribute True Prelude.id Bool
 2691 |   required v = fromPrim
 2692 |                  "HTMLInputElement.getrequired"
 2693 |                  prim__required
 2694 |                  prim__setRequired
 2695 |                  v
 2696 |
 2697 |
 2698 |   export
 2699 |   selectionDirection : HTMLInputElement -> Attribute False Maybe String
 2700 |   selectionDirection v = fromNullablePrim
 2701 |                            "HTMLInputElement.getselectionDirection"
 2702 |                            prim__selectionDirection
 2703 |                            prim__setSelectionDirection
 2704 |                            v
 2705 |
 2706 |
 2707 |   export
 2708 |   selectionEnd : HTMLInputElement -> Attribute False Maybe Bits32
 2709 |   selectionEnd v = fromNullablePrim
 2710 |                      "HTMLInputElement.getselectionEnd"
 2711 |                      prim__selectionEnd
 2712 |                      prim__setSelectionEnd
 2713 |                      v
 2714 |
 2715 |
 2716 |   export
 2717 |   selectionStart : HTMLInputElement -> Attribute False Maybe Bits32
 2718 |   selectionStart v = fromNullablePrim
 2719 |                        "HTMLInputElement.getselectionStart"
 2720 |                        prim__selectionStart
 2721 |                        prim__setSelectionStart
 2722 |                        v
 2723 |
 2724 |
 2725 |   export
 2726 |   size : HTMLInputElement -> Attribute True Prelude.id Bits32
 2727 |   size v = fromPrim "HTMLInputElement.getsize" prim__size prim__setSize v
 2728 |
 2729 |
 2730 |   export
 2731 |   src : HTMLInputElement -> Attribute True Prelude.id String
 2732 |   src v = fromPrim "HTMLInputElement.getsrc" prim__src prim__setSrc v
 2733 |
 2734 |
 2735 |   export
 2736 |   step : HTMLInputElement -> Attribute True Prelude.id String
 2737 |   step v = fromPrim "HTMLInputElement.getstep" prim__step prim__setStep v
 2738 |
 2739 |
 2740 |   export
 2741 |   type : HTMLInputElement -> Attribute True Prelude.id String
 2742 |   type v = fromPrim "HTMLInputElement.gettype" prim__type prim__setType v
 2743 |
 2744 |
 2745 |   export
 2746 |   useMap : HTMLInputElement -> Attribute True Prelude.id String
 2747 |   useMap v = fromPrim
 2748 |                "HTMLInputElement.getuseMap"
 2749 |                prim__useMap
 2750 |                prim__setUseMap
 2751 |                v
 2752 |
 2753 |
 2754 |   export
 2755 |   validationMessage : (obj : HTMLInputElement) -> JSIO String
 2756 |   validationMessage a = primJS $ HTMLInputElement.prim__validationMessage a
 2757 |
 2758 |
 2759 |   export
 2760 |   validity : (obj : HTMLInputElement) -> JSIO ValidityState
 2761 |   validity a = primJS $ HTMLInputElement.prim__validity a
 2762 |
 2763 |
 2764 |   export
 2765 |   value : HTMLInputElement -> Attribute True Prelude.id String
 2766 |   value v = fromPrim "HTMLInputElement.getvalue" prim__value prim__setValue v
 2767 |
 2768 |
 2769 |   export
 2770 |   valueAsDate : HTMLInputElement -> Attribute False Maybe Object
 2771 |   valueAsDate v = fromNullablePrim
 2772 |                     "HTMLInputElement.getvalueAsDate"
 2773 |                     prim__valueAsDate
 2774 |                     prim__setValueAsDate
 2775 |                     v
 2776 |
 2777 |
 2778 |   export
 2779 |   valueAsNumber : HTMLInputElement -> Attribute True Prelude.id Double
 2780 |   valueAsNumber v = fromPrim
 2781 |                       "HTMLInputElement.getvalueAsNumber"
 2782 |                       prim__valueAsNumber
 2783 |                       prim__setValueAsNumber
 2784 |                       v
 2785 |
 2786 |
 2787 |   export
 2788 |   width : HTMLInputElement -> Attribute True Prelude.id Bits32
 2789 |   width v = fromPrim "HTMLInputElement.getwidth" prim__width prim__setWidth v
 2790 |
 2791 |
 2792 |   export
 2793 |   willValidate : (obj : HTMLInputElement) -> JSIO Bool
 2794 |   willValidate a = tryJS "HTMLInputElement.willValidate" $
 2795 |     HTMLInputElement.prim__willValidate a
 2796 |
 2797 |
 2798 |   export
 2799 |   checkValidity : (obj : HTMLInputElement) -> JSIO Bool
 2800 |   checkValidity a = tryJS "HTMLInputElement.checkValidity" $
 2801 |     HTMLInputElement.prim__checkValidity a
 2802 |
 2803 |
 2804 |   export
 2805 |   reportValidity : (obj : HTMLInputElement) -> JSIO Bool
 2806 |   reportValidity a = tryJS "HTMLInputElement.reportValidity" $
 2807 |     HTMLInputElement.prim__reportValidity a
 2808 |
 2809 |
 2810 |   export
 2811 |   select : (obj : HTMLInputElement) -> JSIO ()
 2812 |   select a = primJS $ HTMLInputElement.prim__select a
 2813 |
 2814 |
 2815 |   export
 2816 |   setCustomValidity : (obj : HTMLInputElement) -> (error : String) -> JSIO ()
 2817 |   setCustomValidity a b = primJS $ HTMLInputElement.prim__setCustomValidity a b
 2818 |
 2819 |
 2820 |   export
 2821 |   setRangeText : (obj : HTMLInputElement) -> (replacement : String) -> JSIO ()
 2822 |   setRangeText a b = primJS $ HTMLInputElement.prim__setRangeText a b
 2823 |
 2824 |
 2825 |   export
 2826 |   setRangeText1' :
 2827 |        (obj : HTMLInputElement)
 2828 |     -> (replacement : String)
 2829 |     -> (start : Bits32)
 2830 |     -> (end : Bits32)
 2831 |     -> (selectionMode : Optional SelectionMode)
 2832 |     -> JSIO ()
 2833 |   setRangeText1' a b c d e = primJS $
 2834 |     HTMLInputElement.prim__setRangeText1 a b c d (toFFI e)
 2835 |
 2836 |   export
 2837 |   setRangeText1 :
 2838 |        (obj : HTMLInputElement)
 2839 |     -> (replacement : String)
 2840 |     -> (start : Bits32)
 2841 |     -> (end : Bits32)
 2842 |     -> JSIO ()
 2843 |   setRangeText1 a b c d = primJS $
 2844 |     HTMLInputElement.prim__setRangeText1 a b c d undef
 2845 |
 2846 |
 2847 |   export
 2848 |   setSelectionRange' :
 2849 |        (obj : HTMLInputElement)
 2850 |     -> (start : Bits32)
 2851 |     -> (end : Bits32)
 2852 |     -> (direction : Optional String)
 2853 |     -> JSIO ()
 2854 |   setSelectionRange' a b c d = primJS $
 2855 |     HTMLInputElement.prim__setSelectionRange a b c (toFFI d)
 2856 |
 2857 |   export
 2858 |   setSelectionRange :
 2859 |        (obj : HTMLInputElement)
 2860 |     -> (start : Bits32)
 2861 |     -> (end : Bits32)
 2862 |     -> JSIO ()
 2863 |   setSelectionRange a b c = primJS $
 2864 |     HTMLInputElement.prim__setSelectionRange a b c undef
 2865 |
 2866 |
 2867 |   export
 2868 |   stepDown' : (obj : HTMLInputElement) -> (n : Optional Int32) -> JSIO ()
 2869 |   stepDown' a b = primJS $ HTMLInputElement.prim__stepDown a (toFFI b)
 2870 |
 2871 |   export
 2872 |   stepDown : (obj : HTMLInputElement) -> JSIO ()
 2873 |   stepDown a = primJS $ HTMLInputElement.prim__stepDown a undef
 2874 |
 2875 |
 2876 |   export
 2877 |   stepUp' : (obj : HTMLInputElement) -> (n : Optional Int32) -> JSIO ()
 2878 |   stepUp' a b = primJS $ HTMLInputElement.prim__stepUp a (toFFI b)
 2879 |
 2880 |   export
 2881 |   stepUp : (obj : HTMLInputElement) -> JSIO ()
 2882 |   stepUp a = primJS $ HTMLInputElement.prim__stepUp a undef
 2883 |
 2884 |
 2885 |
 2886 | namespace HTMLLIElement
 2887 |
 2888 |   export
 2889 |   new : JSIO HTMLLIElement
 2890 |   new = primJS $ HTMLLIElement.prim__new
 2891 |
 2892 |
 2893 |   export
 2894 |   type : HTMLLIElement -> Attribute True Prelude.id String
 2895 |   type v = fromPrim "HTMLLIElement.gettype" prim__type prim__setType v
 2896 |
 2897 |
 2898 |   export
 2899 |   value : HTMLLIElement -> Attribute True Prelude.id Int32
 2900 |   value v = fromPrim "HTMLLIElement.getvalue" prim__value prim__setValue v
 2901 |
 2902 |
 2903 |
 2904 | namespace HTMLLabelElement
 2905 |
 2906 |   export
 2907 |   new : JSIO HTMLLabelElement
 2908 |   new = primJS $ HTMLLabelElement.prim__new
 2909 |
 2910 |
 2911 |   export
 2912 |   control : (obj : HTMLLabelElement) -> JSIO (Maybe HTMLElement)
 2913 |   control a = tryJS "HTMLLabelElement.control" $
 2914 |     HTMLLabelElement.prim__control a
 2915 |
 2916 |
 2917 |   export
 2918 |   form : (obj : HTMLLabelElement) -> JSIO (Maybe HTMLFormElement)
 2919 |   form a = tryJS "HTMLLabelElement.form" $ HTMLLabelElement.prim__form a
 2920 |
 2921 |
 2922 |   export
 2923 |   htmlFor : HTMLLabelElement -> Attribute True Prelude.id String
 2924 |   htmlFor v = fromPrim
 2925 |                 "HTMLLabelElement.gethtmlFor"
 2926 |                 prim__htmlFor
 2927 |                 prim__setHtmlFor
 2928 |                 v
 2929 |
 2930 |
 2931 |
 2932 | namespace HTMLLegendElement
 2933 |
 2934 |   export
 2935 |   new : JSIO HTMLLegendElement
 2936 |   new = primJS $ HTMLLegendElement.prim__new
 2937 |
 2938 |
 2939 |   export
 2940 |   align : HTMLLegendElement -> Attribute True Prelude.id String
 2941 |   align v = fromPrim "HTMLLegendElement.getalign" prim__align prim__setAlign v
 2942 |
 2943 |
 2944 |   export
 2945 |   form : (obj : HTMLLegendElement) -> JSIO (Maybe HTMLFormElement)
 2946 |   form a = tryJS "HTMLLegendElement.form" $ HTMLLegendElement.prim__form a
 2947 |
 2948 |
 2949 |
 2950 | namespace HTMLLinkElement
 2951 |
 2952 |   export
 2953 |   new : JSIO HTMLLinkElement
 2954 |   new = primJS $ HTMLLinkElement.prim__new
 2955 |
 2956 |
 2957 |   export
 2958 |   as : HTMLLinkElement -> Attribute True Prelude.id String
 2959 |   as v = fromPrim "HTMLLinkElement.getas" prim__as prim__setAs v
 2960 |
 2961 |
 2962 |   export
 2963 |   charset : HTMLLinkElement -> Attribute True Prelude.id String
 2964 |   charset v = fromPrim
 2965 |                 "HTMLLinkElement.getcharset"
 2966 |                 prim__charset
 2967 |                 prim__setCharset
 2968 |                 v
 2969 |
 2970 |
 2971 |   export
 2972 |   crossOrigin : HTMLLinkElement -> Attribute False Maybe String
 2973 |   crossOrigin v = fromNullablePrim
 2974 |                     "HTMLLinkElement.getcrossOrigin"
 2975 |                     prim__crossOrigin
 2976 |                     prim__setCrossOrigin
 2977 |                     v
 2978 |
 2979 |
 2980 |   export
 2981 |   disabled : HTMLLinkElement -> Attribute True Prelude.id Bool
 2982 |   disabled v = fromPrim
 2983 |                  "HTMLLinkElement.getdisabled"
 2984 |                  prim__disabled
 2985 |                  prim__setDisabled
 2986 |                  v
 2987 |
 2988 |
 2989 |   export
 2990 |   href : HTMLLinkElement -> Attribute True Prelude.id String
 2991 |   href v = fromPrim "HTMLLinkElement.gethref" prim__href prim__setHref v
 2992 |
 2993 |
 2994 |   export
 2995 |   hreflang : HTMLLinkElement -> Attribute True Prelude.id String
 2996 |   hreflang v = fromPrim
 2997 |                  "HTMLLinkElement.gethreflang"
 2998 |                  prim__hreflang
 2999 |                  prim__setHreflang
 3000 |                  v
 3001 |
 3002 |
 3003 |   export
 3004 |   imageSizes : HTMLLinkElement -> Attribute True Prelude.id String
 3005 |   imageSizes v = fromPrim
 3006 |                    "HTMLLinkElement.getimageSizes"
 3007 |                    prim__imageSizes
 3008 |                    prim__setImageSizes
 3009 |                    v
 3010 |
 3011 |
 3012 |   export
 3013 |   imageSrcset : HTMLLinkElement -> Attribute True Prelude.id String
 3014 |   imageSrcset v = fromPrim
 3015 |                     "HTMLLinkElement.getimageSrcset"
 3016 |                     prim__imageSrcset
 3017 |                     prim__setImageSrcset
 3018 |                     v
 3019 |
 3020 |
 3021 |   export
 3022 |   integrity : HTMLLinkElement -> Attribute True Prelude.id String
 3023 |   integrity v = fromPrim
 3024 |                   "HTMLLinkElement.getintegrity"
 3025 |                   prim__integrity
 3026 |                   prim__setIntegrity
 3027 |                   v
 3028 |
 3029 |
 3030 |   export
 3031 |   media : HTMLLinkElement -> Attribute True Prelude.id String
 3032 |   media v = fromPrim "HTMLLinkElement.getmedia" prim__media prim__setMedia v
 3033 |
 3034 |
 3035 |   export
 3036 |   referrerPolicy : HTMLLinkElement -> Attribute True Prelude.id String
 3037 |   referrerPolicy v = fromPrim
 3038 |                        "HTMLLinkElement.getreferrerPolicy"
 3039 |                        prim__referrerPolicy
 3040 |                        prim__setReferrerPolicy
 3041 |                        v
 3042 |
 3043 |
 3044 |   export
 3045 |   rel : HTMLLinkElement -> Attribute True Prelude.id String
 3046 |   rel v = fromPrim "HTMLLinkElement.getrel" prim__rel prim__setRel v
 3047 |
 3048 |
 3049 |   export
 3050 |   relList : (obj : HTMLLinkElement) -> JSIO DOMTokenList
 3051 |   relList a = primJS $ HTMLLinkElement.prim__relList a
 3052 |
 3053 |
 3054 |   export
 3055 |   rev : HTMLLinkElement -> Attribute True Prelude.id String
 3056 |   rev v = fromPrim "HTMLLinkElement.getrev" prim__rev prim__setRev v
 3057 |
 3058 |
 3059 |   export
 3060 |   sizes : (obj : HTMLLinkElement) -> JSIO DOMTokenList
 3061 |   sizes a = primJS $ HTMLLinkElement.prim__sizes a
 3062 |
 3063 |
 3064 |   export
 3065 |   target : HTMLLinkElement -> Attribute True Prelude.id String
 3066 |   target v = fromPrim "HTMLLinkElement.gettarget" prim__target prim__setTarget v
 3067 |
 3068 |
 3069 |   export
 3070 |   type : HTMLLinkElement -> Attribute True Prelude.id String
 3071 |   type v = fromPrim "HTMLLinkElement.gettype" prim__type prim__setType v
 3072 |
 3073 |
 3074 |
 3075 | namespace HTMLMapElement
 3076 |
 3077 |   export
 3078 |   new : JSIO HTMLMapElement
 3079 |   new = primJS $ HTMLMapElement.prim__new
 3080 |
 3081 |
 3082 |   export
 3083 |   areas : (obj : HTMLMapElement) -> JSIO HTMLCollection
 3084 |   areas a = primJS $ HTMLMapElement.prim__areas a
 3085 |
 3086 |
 3087 |   export
 3088 |   name : HTMLMapElement -> Attribute True Prelude.id String
 3089 |   name v = fromPrim "HTMLMapElement.getname" prim__name prim__setName v
 3090 |
 3091 |
 3092 |
 3093 | namespace HTMLMarqueeElement
 3094 |
 3095 |   export
 3096 |   new : JSIO HTMLMarqueeElement
 3097 |   new = primJS $ HTMLMarqueeElement.prim__new
 3098 |
 3099 |
 3100 |   export
 3101 |   behavior : HTMLMarqueeElement -> Attribute True Prelude.id String
 3102 |   behavior v = fromPrim
 3103 |                  "HTMLMarqueeElement.getbehavior"
 3104 |                  prim__behavior
 3105 |                  prim__setBehavior
 3106 |                  v
 3107 |
 3108 |
 3109 |   export
 3110 |   bgColor : HTMLMarqueeElement -> Attribute True Prelude.id String
 3111 |   bgColor v = fromPrim
 3112 |                 "HTMLMarqueeElement.getbgColor"
 3113 |                 prim__bgColor
 3114 |                 prim__setBgColor
 3115 |                 v
 3116 |
 3117 |
 3118 |   export
 3119 |   direction : HTMLMarqueeElement -> Attribute True Prelude.id String
 3120 |   direction v = fromPrim
 3121 |                   "HTMLMarqueeElement.getdirection"
 3122 |                   prim__direction
 3123 |                   prim__setDirection
 3124 |                   v
 3125 |
 3126 |
 3127 |   export
 3128 |   height : HTMLMarqueeElement -> Attribute True Prelude.id String
 3129 |   height v = fromPrim
 3130 |                "HTMLMarqueeElement.getheight"
 3131 |                prim__height
 3132 |                prim__setHeight
 3133 |                v
 3134 |
 3135 |
 3136 |   export
 3137 |   hspace : HTMLMarqueeElement -> Attribute True Prelude.id Bits32
 3138 |   hspace v = fromPrim
 3139 |                "HTMLMarqueeElement.gethspace"
 3140 |                prim__hspace
 3141 |                prim__setHspace
 3142 |                v
 3143 |
 3144 |
 3145 |   export
 3146 |   loop : HTMLMarqueeElement -> Attribute True Prelude.id Int32
 3147 |   loop v = fromPrim "HTMLMarqueeElement.getloop" prim__loop prim__setLoop v
 3148 |
 3149 |
 3150 |   export
 3151 |   scrollAmount : HTMLMarqueeElement -> Attribute True Prelude.id Bits32
 3152 |   scrollAmount v = fromPrim
 3153 |                      "HTMLMarqueeElement.getscrollAmount"
 3154 |                      prim__scrollAmount
 3155 |                      prim__setScrollAmount
 3156 |                      v
 3157 |
 3158 |
 3159 |   export
 3160 |   scrollDelay : HTMLMarqueeElement -> Attribute True Prelude.id Bits32
 3161 |   scrollDelay v = fromPrim
 3162 |                     "HTMLMarqueeElement.getscrollDelay"
 3163 |                     prim__scrollDelay
 3164 |                     prim__setScrollDelay
 3165 |                     v
 3166 |
 3167 |
 3168 |   export
 3169 |   trueSpeed : HTMLMarqueeElement -> Attribute True Prelude.id Bool
 3170 |   trueSpeed v = fromPrim
 3171 |                   "HTMLMarqueeElement.gettrueSpeed"
 3172 |                   prim__trueSpeed
 3173 |                   prim__setTrueSpeed
 3174 |                   v
 3175 |
 3176 |
 3177 |   export
 3178 |   vspace : HTMLMarqueeElement -> Attribute True Prelude.id Bits32
 3179 |   vspace v = fromPrim
 3180 |                "HTMLMarqueeElement.getvspace"
 3181 |                prim__vspace
 3182 |                prim__setVspace
 3183 |                v
 3184 |
 3185 |
 3186 |   export
 3187 |   width : HTMLMarqueeElement -> Attribute True Prelude.id String
 3188 |   width v = fromPrim "HTMLMarqueeElement.getwidth" prim__width prim__setWidth v
 3189 |
 3190 |
 3191 |   export
 3192 |   start : (obj : HTMLMarqueeElement) -> JSIO ()
 3193 |   start a = primJS $ HTMLMarqueeElement.prim__start a
 3194 |
 3195 |
 3196 |   export
 3197 |   stop : (obj : HTMLMarqueeElement) -> JSIO ()
 3198 |   stop a = primJS $ HTMLMarqueeElement.prim__stop a
 3199 |
 3200 |
 3201 |
 3202 | namespace HTMLMediaElement
 3203 |
 3204 |   public export
 3205 |   HAVE_CURRENT_DATA : Bits16
 3206 |   HAVE_CURRENT_DATA = 2
 3207 |
 3208 |
 3209 |   public export
 3210 |   HAVE_ENOUGH_DATA : Bits16
 3211 |   HAVE_ENOUGH_DATA = 4
 3212 |
 3213 |
 3214 |   public export
 3215 |   HAVE_FUTURE_DATA : Bits16
 3216 |   HAVE_FUTURE_DATA = 3
 3217 |
 3218 |
 3219 |   public export
 3220 |   HAVE_METADATA : Bits16
 3221 |   HAVE_METADATA = 1
 3222 |
 3223 |
 3224 |   public export
 3225 |   HAVE_NOTHING : Bits16
 3226 |   HAVE_NOTHING = 0
 3227 |
 3228 |
 3229 |   public export
 3230 |   NETWORK_EMPTY : Bits16
 3231 |   NETWORK_EMPTY = 0
 3232 |
 3233 |
 3234 |   public export
 3235 |   NETWORK_IDLE : Bits16
 3236 |   NETWORK_IDLE = 1
 3237 |
 3238 |
 3239 |   public export
 3240 |   NETWORK_LOADING : Bits16
 3241 |   NETWORK_LOADING = 2
 3242 |
 3243 |
 3244 |   public export
 3245 |   NETWORK_NO_SOURCE : Bits16
 3246 |   NETWORK_NO_SOURCE = 3
 3247 |
 3248 |
 3249 |   export
 3250 |   audioTracks :
 3251 |        {auto 0 _ : JSType t1}
 3252 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3253 |     -> (obj : t1)
 3254 |     -> JSIO AudioTrackList
 3255 |   audioTracks a = primJS $ HTMLMediaElement.prim__audioTracks (up a)
 3256 |
 3257 |
 3258 |   export
 3259 |   autoplay :
 3260 |        {auto 0 _ : JSType t}
 3261 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3262 |     -> t
 3263 |     -> Attribute True Prelude.id Bool
 3264 |   autoplay v = fromPrim
 3265 |                  "HTMLMediaElement.getautoplay"
 3266 |                  prim__autoplay
 3267 |                  prim__setAutoplay
 3268 |                  (v :> HTMLMediaElement)
 3269 |
 3270 |
 3271 |   export
 3272 |   buffered :
 3273 |        {auto 0 _ : JSType t1}
 3274 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3275 |     -> (obj : t1)
 3276 |     -> JSIO TimeRanges
 3277 |   buffered a = primJS $ HTMLMediaElement.prim__buffered (up a)
 3278 |
 3279 |
 3280 |   export
 3281 |   controls :
 3282 |        {auto 0 _ : JSType t}
 3283 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3284 |     -> t
 3285 |     -> Attribute True Prelude.id Bool
 3286 |   controls v = fromPrim
 3287 |                  "HTMLMediaElement.getcontrols"
 3288 |                  prim__controls
 3289 |                  prim__setControls
 3290 |                  (v :> HTMLMediaElement)
 3291 |
 3292 |
 3293 |   export
 3294 |   crossOrigin :
 3295 |        {auto 0 _ : JSType t}
 3296 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3297 |     -> t
 3298 |     -> Attribute False Maybe String
 3299 |   crossOrigin v = fromNullablePrim
 3300 |                     "HTMLMediaElement.getcrossOrigin"
 3301 |                     prim__crossOrigin
 3302 |                     prim__setCrossOrigin
 3303 |                     (v :> HTMLMediaElement)
 3304 |
 3305 |
 3306 |   export
 3307 |   currentSrc :
 3308 |        {auto 0 _ : JSType t1}
 3309 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3310 |     -> (obj : t1)
 3311 |     -> JSIO String
 3312 |   currentSrc a = primJS $ HTMLMediaElement.prim__currentSrc (up a)
 3313 |
 3314 |
 3315 |   export
 3316 |   currentTime :
 3317 |        {auto 0 _ : JSType t}
 3318 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3319 |     -> t
 3320 |     -> Attribute True Prelude.id Double
 3321 |   currentTime v = fromPrim
 3322 |                     "HTMLMediaElement.getcurrentTime"
 3323 |                     prim__currentTime
 3324 |                     prim__setCurrentTime
 3325 |                     (v :> HTMLMediaElement)
 3326 |
 3327 |
 3328 |   export
 3329 |   defaultMuted :
 3330 |        {auto 0 _ : JSType t}
 3331 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3332 |     -> t
 3333 |     -> Attribute True Prelude.id Bool
 3334 |   defaultMuted v = fromPrim
 3335 |                      "HTMLMediaElement.getdefaultMuted"
 3336 |                      prim__defaultMuted
 3337 |                      prim__setDefaultMuted
 3338 |                      (v :> HTMLMediaElement)
 3339 |
 3340 |
 3341 |   export
 3342 |   defaultPlaybackRate :
 3343 |        {auto 0 _ : JSType t}
 3344 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3345 |     -> t
 3346 |     -> Attribute True Prelude.id Double
 3347 |   defaultPlaybackRate v = fromPrim
 3348 |                             "HTMLMediaElement.getdefaultPlaybackRate"
 3349 |                             prim__defaultPlaybackRate
 3350 |                             prim__setDefaultPlaybackRate
 3351 |                             (v :> HTMLMediaElement)
 3352 |
 3353 |
 3354 |   export
 3355 |   duration :
 3356 |        {auto 0 _ : JSType t1}
 3357 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3358 |     -> (obj : t1)
 3359 |     -> JSIO Double
 3360 |   duration a = primJS $ HTMLMediaElement.prim__duration (up a)
 3361 |
 3362 |
 3363 |   export
 3364 |   ended :
 3365 |        {auto 0 _ : JSType t1}
 3366 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3367 |     -> (obj : t1)
 3368 |     -> JSIO Bool
 3369 |   ended a = tryJS "HTMLMediaElement.ended" $ HTMLMediaElement.prim__ended (up a)
 3370 |
 3371 |
 3372 |   export
 3373 |   error :
 3374 |        {auto 0 _ : JSType t1}
 3375 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3376 |     -> (obj : t1)
 3377 |     -> JSIO (Maybe MediaError)
 3378 |   error a = tryJS "HTMLMediaElement.error" $ HTMLMediaElement.prim__error (up a)
 3379 |
 3380 |
 3381 |   export
 3382 |   loop :
 3383 |        {auto 0 _ : JSType t}
 3384 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3385 |     -> t
 3386 |     -> Attribute True Prelude.id Bool
 3387 |   loop v = fromPrim
 3388 |              "HTMLMediaElement.getloop"
 3389 |              prim__loop
 3390 |              prim__setLoop
 3391 |              (v :> HTMLMediaElement)
 3392 |
 3393 |
 3394 |   export
 3395 |   muted :
 3396 |        {auto 0 _ : JSType t}
 3397 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3398 |     -> t
 3399 |     -> Attribute True Prelude.id Bool
 3400 |   muted v = fromPrim
 3401 |               "HTMLMediaElement.getmuted"
 3402 |               prim__muted
 3403 |               prim__setMuted
 3404 |               (v :> HTMLMediaElement)
 3405 |
 3406 |
 3407 |   export
 3408 |   networkState :
 3409 |        {auto 0 _ : JSType t1}
 3410 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3411 |     -> (obj : t1)
 3412 |     -> JSIO Bits16
 3413 |   networkState a = primJS $ HTMLMediaElement.prim__networkState (up a)
 3414 |
 3415 |
 3416 |   export
 3417 |   paused :
 3418 |        {auto 0 _ : JSType t1}
 3419 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3420 |     -> (obj : t1)
 3421 |     -> JSIO Bool
 3422 |   paused a = tryJS "HTMLMediaElement.paused" $
 3423 |     HTMLMediaElement.prim__paused (up a)
 3424 |
 3425 |
 3426 |   export
 3427 |   playbackRate :
 3428 |        {auto 0 _ : JSType t}
 3429 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3430 |     -> t
 3431 |     -> Attribute True Prelude.id Double
 3432 |   playbackRate v = fromPrim
 3433 |                      "HTMLMediaElement.getplaybackRate"
 3434 |                      prim__playbackRate
 3435 |                      prim__setPlaybackRate
 3436 |                      (v :> HTMLMediaElement)
 3437 |
 3438 |
 3439 |   export
 3440 |   played :
 3441 |        {auto 0 _ : JSType t1}
 3442 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3443 |     -> (obj : t1)
 3444 |     -> JSIO TimeRanges
 3445 |   played a = primJS $ HTMLMediaElement.prim__played (up a)
 3446 |
 3447 |
 3448 |   export
 3449 |   preload :
 3450 |        {auto 0 _ : JSType t}
 3451 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3452 |     -> t
 3453 |     -> Attribute True Prelude.id String
 3454 |   preload v = fromPrim
 3455 |                 "HTMLMediaElement.getpreload"
 3456 |                 prim__preload
 3457 |                 prim__setPreload
 3458 |                 (v :> HTMLMediaElement)
 3459 |
 3460 |
 3461 |   export
 3462 |   preservesPitch :
 3463 |        {auto 0 _ : JSType t}
 3464 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3465 |     -> t
 3466 |     -> Attribute True Prelude.id Bool
 3467 |   preservesPitch v = fromPrim
 3468 |                        "HTMLMediaElement.getpreservesPitch"
 3469 |                        prim__preservesPitch
 3470 |                        prim__setPreservesPitch
 3471 |                        (v :> HTMLMediaElement)
 3472 |
 3473 |
 3474 |   export
 3475 |   readyState :
 3476 |        {auto 0 _ : JSType t1}
 3477 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3478 |     -> (obj : t1)
 3479 |     -> JSIO Bits16
 3480 |   readyState a = primJS $ HTMLMediaElement.prim__readyState (up a)
 3481 |
 3482 |
 3483 |   export
 3484 |   seekable :
 3485 |        {auto 0 _ : JSType t1}
 3486 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3487 |     -> (obj : t1)
 3488 |     -> JSIO TimeRanges
 3489 |   seekable a = primJS $ HTMLMediaElement.prim__seekable (up a)
 3490 |
 3491 |
 3492 |   export
 3493 |   seeking :
 3494 |        {auto 0 _ : JSType t1}
 3495 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3496 |     -> (obj : t1)
 3497 |     -> JSIO Bool
 3498 |   seeking a = tryJS "HTMLMediaElement.seeking" $
 3499 |     HTMLMediaElement.prim__seeking (up a)
 3500 |
 3501 |
 3502 |   export
 3503 |   src :
 3504 |        {auto 0 _ : JSType t}
 3505 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3506 |     -> t
 3507 |     -> Attribute True Prelude.id String
 3508 |   src v = fromPrim
 3509 |             "HTMLMediaElement.getsrc"
 3510 |             prim__src
 3511 |             prim__setSrc
 3512 |             (v :> HTMLMediaElement)
 3513 |
 3514 |
 3515 |   export
 3516 |   srcObject :
 3517 |        {auto 0 _ : JSType t}
 3518 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3519 |     -> t
 3520 |     -> Attribute False Maybe (HSum [MediaStream, MediaSource, Blob])
 3521 |   srcObject v = fromNullablePrim
 3522 |                   "HTMLMediaElement.getsrcObject"
 3523 |                   prim__srcObject
 3524 |                   prim__setSrcObject
 3525 |                   (v :> HTMLMediaElement)
 3526 |
 3527 |
 3528 |   export
 3529 |   textTracks :
 3530 |        {auto 0 _ : JSType t1}
 3531 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3532 |     -> (obj : t1)
 3533 |     -> JSIO TextTrackList
 3534 |   textTracks a = primJS $ HTMLMediaElement.prim__textTracks (up a)
 3535 |
 3536 |
 3537 |   export
 3538 |   videoTracks :
 3539 |        {auto 0 _ : JSType t1}
 3540 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3541 |     -> (obj : t1)
 3542 |     -> JSIO VideoTrackList
 3543 |   videoTracks a = primJS $ HTMLMediaElement.prim__videoTracks (up a)
 3544 |
 3545 |
 3546 |   export
 3547 |   volume :
 3548 |        {auto 0 _ : JSType t}
 3549 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t)}
 3550 |     -> t
 3551 |     -> Attribute True Prelude.id Double
 3552 |   volume v = fromPrim
 3553 |                "HTMLMediaElement.getvolume"
 3554 |                prim__volume
 3555 |                prim__setVolume
 3556 |                (v :> HTMLMediaElement)
 3557 |
 3558 |
 3559 |   export
 3560 |   addTextTrack' :
 3561 |        {auto 0 _ : JSType t1}
 3562 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3563 |     -> (obj : t1)
 3564 |     -> (kind : TextTrackKind)
 3565 |     -> (label : Optional String)
 3566 |     -> (language : Optional String)
 3567 |     -> JSIO TextTrack
 3568 |   addTextTrack' a b c d = primJS $
 3569 |     HTMLMediaElement.prim__addTextTrack (up a) (toFFI b) (toFFI c) (toFFI d)
 3570 |
 3571 |   export
 3572 |   addTextTrack :
 3573 |        {auto 0 _ : JSType t1}
 3574 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3575 |     -> (obj : t1)
 3576 |     -> (kind : TextTrackKind)
 3577 |     -> JSIO TextTrack
 3578 |   addTextTrack a b = primJS $
 3579 |     HTMLMediaElement.prim__addTextTrack (up a) (toFFI b) undef undef
 3580 |
 3581 |
 3582 |   export
 3583 |   canPlayType :
 3584 |        {auto 0 _ : JSType t1}
 3585 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3586 |     -> (obj : t1)
 3587 |     -> (type : String)
 3588 |     -> JSIO CanPlayTypeResult
 3589 |   canPlayType a b = tryJS "HTMLMediaElement.canPlayType" $
 3590 |     HTMLMediaElement.prim__canPlayType (up a) b
 3591 |
 3592 |
 3593 |   export
 3594 |   fastSeek :
 3595 |        {auto 0 _ : JSType t1}
 3596 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3597 |     -> (obj : t1)
 3598 |     -> (time : Double)
 3599 |     -> JSIO ()
 3600 |   fastSeek a b = primJS $ HTMLMediaElement.prim__fastSeek (up a) b
 3601 |
 3602 |
 3603 |   export
 3604 |   getStartDate :
 3605 |        {auto 0 _ : JSType t1}
 3606 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3607 |     -> (obj : t1)
 3608 |     -> JSIO Object
 3609 |   getStartDate a = primJS $ HTMLMediaElement.prim__getStartDate (up a)
 3610 |
 3611 |
 3612 |   export
 3613 |   load :
 3614 |        {auto 0 _ : JSType t1}
 3615 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3616 |     -> (obj : t1)
 3617 |     -> JSIO ()
 3618 |   load a = primJS $ HTMLMediaElement.prim__load (up a)
 3619 |
 3620 |
 3621 |   export
 3622 |   pause :
 3623 |        {auto 0 _ : JSType t1}
 3624 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3625 |     -> (obj : t1)
 3626 |     -> JSIO ()
 3627 |   pause a = primJS $ HTMLMediaElement.prim__pause (up a)
 3628 |
 3629 |
 3630 |   export
 3631 |   play :
 3632 |        {auto 0 _ : JSType t1}
 3633 |     -> {auto 0 _ : Elem HTMLMediaElement (Types t1)}
 3634 |     -> (obj : t1)
 3635 |     -> JSIO (Promise Undefined)
 3636 |   play a = primJS $ HTMLMediaElement.prim__play (up a)
 3637 |
 3638 |
 3639 |
 3640 | namespace HTMLMenuElement
 3641 |
 3642 |   export
 3643 |   new : JSIO HTMLMenuElement
 3644 |   new = primJS $ HTMLMenuElement.prim__new
 3645 |
 3646 |
 3647 |   export
 3648 |   compact : HTMLMenuElement -> Attribute True Prelude.id Bool
 3649 |   compact v = fromPrim
 3650 |                 "HTMLMenuElement.getcompact"
 3651 |                 prim__compact
 3652 |                 prim__setCompact
 3653 |                 v
 3654 |
 3655 |
 3656 |
 3657 | namespace HTMLMetaElement
 3658 |
 3659 |   export
 3660 |   new : JSIO HTMLMetaElement
 3661 |   new = primJS $ HTMLMetaElement.prim__new
 3662 |
 3663 |
 3664 |   export
 3665 |   content : HTMLMetaElement -> Attribute True Prelude.id String
 3666 |   content v = fromPrim
 3667 |                 "HTMLMetaElement.getcontent"
 3668 |                 prim__content
 3669 |                 prim__setContent
 3670 |                 v
 3671 |
 3672 |
 3673 |   export
 3674 |   httpEquiv : HTMLMetaElement -> Attribute True Prelude.id String
 3675 |   httpEquiv v = fromPrim
 3676 |                   "HTMLMetaElement.gethttpEquiv"
 3677 |                   prim__httpEquiv
 3678 |                   prim__setHttpEquiv
 3679 |                   v
 3680 |
 3681 |
 3682 |   export
 3683 |   name : HTMLMetaElement -> Attribute True Prelude.id String
 3684 |   name v = fromPrim "HTMLMetaElement.getname" prim__name prim__setName v
 3685 |
 3686 |
 3687 |   export
 3688 |   scheme : HTMLMetaElement -> Attribute True Prelude.id String
 3689 |   scheme v = fromPrim "HTMLMetaElement.getscheme" prim__scheme prim__setScheme v
 3690 |
 3691 |
 3692 |
 3693 | namespace HTMLMeterElement
 3694 |
 3695 |   export
 3696 |   new : JSIO HTMLMeterElement
 3697 |   new = primJS $ HTMLMeterElement.prim__new
 3698 |
 3699 |
 3700 |   export
 3701 |   high : HTMLMeterElement -> Attribute True Prelude.id Double
 3702 |   high v = fromPrim "HTMLMeterElement.gethigh" prim__high prim__setHigh v
 3703 |
 3704 |
 3705 |   export
 3706 |   labels : (obj : HTMLMeterElement) -> JSIO NodeList
 3707 |   labels a = primJS $ HTMLMeterElement.prim__labels a
 3708 |
 3709 |
 3710 |   export
 3711 |   low : HTMLMeterElement -> Attribute True Prelude.id Double
 3712 |   low v = fromPrim "HTMLMeterElement.getlow" prim__low prim__setLow v
 3713 |
 3714 |
 3715 |   export
 3716 |   max : HTMLMeterElement -> Attribute True Prelude.id Double
 3717 |   max v = fromPrim "HTMLMeterElement.getmax" prim__max prim__setMax v
 3718 |
 3719 |
 3720 |   export
 3721 |   min : HTMLMeterElement -> Attribute True Prelude.id Double
 3722 |   min v = fromPrim "HTMLMeterElement.getmin" prim__min prim__setMin v
 3723 |
 3724 |
 3725 |   export
 3726 |   optimum : HTMLMeterElement -> Attribute True Prelude.id Double
 3727 |   optimum v = fromPrim
 3728 |                 "HTMLMeterElement.getoptimum"
 3729 |                 prim__optimum
 3730 |                 prim__setOptimum
 3731 |                 v
 3732 |
 3733 |
 3734 |   export
 3735 |   value : HTMLMeterElement -> Attribute True Prelude.id Double
 3736 |   value v = fromPrim "HTMLMeterElement.getvalue" prim__value prim__setValue v
 3737 |
 3738 |
 3739 |
 3740 | namespace HTMLModElement
 3741 |
 3742 |   export
 3743 |   new : JSIO HTMLModElement
 3744 |   new = primJS $ HTMLModElement.prim__new
 3745 |
 3746 |
 3747 |   export
 3748 |   cite : HTMLModElement -> Attribute True Prelude.id String
 3749 |   cite v = fromPrim "HTMLModElement.getcite" prim__cite prim__setCite v
 3750 |
 3751 |
 3752 |   export
 3753 |   dateTime : HTMLModElement -> Attribute True Prelude.id String
 3754 |   dateTime v = fromPrim
 3755 |                  "HTMLModElement.getdateTime"
 3756 |                  prim__dateTime
 3757 |                  prim__setDateTime
 3758 |                  v
 3759 |
 3760 |
 3761 |
 3762 | namespace HTMLOListElement
 3763 |
 3764 |   export
 3765 |   new : JSIO HTMLOListElement
 3766 |   new = primJS $ HTMLOListElement.prim__new
 3767 |
 3768 |
 3769 |   export
 3770 |   compact : HTMLOListElement -> Attribute True Prelude.id Bool
 3771 |   compact v = fromPrim
 3772 |                 "HTMLOListElement.getcompact"
 3773 |                 prim__compact
 3774 |                 prim__setCompact
 3775 |                 v
 3776 |
 3777 |
 3778 |   export
 3779 |   reversed : HTMLOListElement -> Attribute True Prelude.id Bool
 3780 |   reversed v = fromPrim
 3781 |                  "HTMLOListElement.getreversed"
 3782 |                  prim__reversed
 3783 |                  prim__setReversed
 3784 |                  v
 3785 |
 3786 |
 3787 |   export
 3788 |   start : HTMLOListElement -> Attribute True Prelude.id Int32
 3789 |   start v = fromPrim "HTMLOListElement.getstart" prim__start prim__setStart v
 3790 |
 3791 |
 3792 |   export
 3793 |   type : HTMLOListElement -> Attribute True Prelude.id String
 3794 |   type v = fromPrim "HTMLOListElement.gettype" prim__type prim__setType v
 3795 |
 3796 |
 3797 |
 3798 | namespace HTMLObjectElement
 3799 |
 3800 |   export
 3801 |   new : JSIO HTMLObjectElement
 3802 |   new = primJS $ HTMLObjectElement.prim__new
 3803 |
 3804 |
 3805 |   export
 3806 |   align : HTMLObjectElement -> Attribute True Prelude.id String
 3807 |   align v = fromPrim "HTMLObjectElement.getalign" prim__align prim__setAlign v
 3808 |
 3809 |
 3810 |   export
 3811 |   archive : HTMLObjectElement -> Attribute True Prelude.id String
 3812 |   archive v = fromPrim
 3813 |                 "HTMLObjectElement.getarchive"
 3814 |                 prim__archive
 3815 |                 prim__setArchive
 3816 |                 v
 3817 |
 3818 |
 3819 |   export
 3820 |   border : HTMLObjectElement -> Attribute True Prelude.id String
 3821 |   border v = fromPrim
 3822 |                "HTMLObjectElement.getborder"
 3823 |                prim__border
 3824 |                prim__setBorder
 3825 |                v
 3826 |
 3827 |
 3828 |   export
 3829 |   code : HTMLObjectElement -> Attribute True Prelude.id String
 3830 |   code v = fromPrim "HTMLObjectElement.getcode" prim__code prim__setCode v
 3831 |
 3832 |
 3833 |   export
 3834 |   codeBase : HTMLObjectElement -> Attribute True Prelude.id String
 3835 |   codeBase v = fromPrim
 3836 |                  "HTMLObjectElement.getcodeBase"
 3837 |                  prim__codeBase
 3838 |                  prim__setCodeBase
 3839 |                  v
 3840 |
 3841 |
 3842 |   export
 3843 |   codeType : HTMLObjectElement -> Attribute True Prelude.id String
 3844 |   codeType v = fromPrim
 3845 |                  "HTMLObjectElement.getcodeType"
 3846 |                  prim__codeType
 3847 |                  prim__setCodeType
 3848 |                  v
 3849 |
 3850 |
 3851 |   export
 3852 |   contentDocument : (obj : HTMLObjectElement) -> JSIO (Maybe Document)
 3853 |   contentDocument a = tryJS "HTMLObjectElement.contentDocument" $
 3854 |     HTMLObjectElement.prim__contentDocument a
 3855 |
 3856 |
 3857 |   export
 3858 |   contentWindow : (obj : HTMLObjectElement) -> JSIO (Maybe WindowProxy)
 3859 |   contentWindow a = tryJS "HTMLObjectElement.contentWindow" $
 3860 |     HTMLObjectElement.prim__contentWindow a
 3861 |
 3862 |
 3863 |   export
 3864 |   data_ : HTMLObjectElement -> Attribute True Prelude.id String
 3865 |   data_ v = fromPrim "HTMLObjectElement.getdata" prim__data prim__setData v
 3866 |
 3867 |
 3868 |   export
 3869 |   declare : HTMLObjectElement -> Attribute True Prelude.id Bool
 3870 |   declare v = fromPrim
 3871 |                 "HTMLObjectElement.getdeclare"
 3872 |                 prim__declare
 3873 |                 prim__setDeclare
 3874 |                 v
 3875 |
 3876 |
 3877 |   export
 3878 |   form : (obj : HTMLObjectElement) -> JSIO (Maybe HTMLFormElement)
 3879 |   form a = tryJS "HTMLObjectElement.form" $ HTMLObjectElement.prim__form a
 3880 |
 3881 |
 3882 |   export
 3883 |   height : HTMLObjectElement -> Attribute True Prelude.id String
 3884 |   height v = fromPrim
 3885 |                "HTMLObjectElement.getheight"
 3886 |                prim__height
 3887 |                prim__setHeight
 3888 |                v
 3889 |
 3890 |
 3891 |   export
 3892 |   hspace : HTMLObjectElement -> Attribute True Prelude.id Bits32
 3893 |   hspace v = fromPrim
 3894 |                "HTMLObjectElement.gethspace"
 3895 |                prim__hspace
 3896 |                prim__setHspace
 3897 |                v
 3898 |
 3899 |
 3900 |   export
 3901 |   name : HTMLObjectElement -> Attribute True Prelude.id String
 3902 |   name v = fromPrim "HTMLObjectElement.getname" prim__name prim__setName v
 3903 |
 3904 |
 3905 |   export
 3906 |   standby : HTMLObjectElement -> Attribute True Prelude.id String
 3907 |   standby v = fromPrim
 3908 |                 "HTMLObjectElement.getstandby"
 3909 |                 prim__standby
 3910 |                 prim__setStandby
 3911 |                 v
 3912 |
 3913 |
 3914 |   export
 3915 |   type : HTMLObjectElement -> Attribute True Prelude.id String
 3916 |   type v = fromPrim "HTMLObjectElement.gettype" prim__type prim__setType v
 3917 |
 3918 |
 3919 |   export
 3920 |   useMap : HTMLObjectElement -> Attribute True Prelude.id String
 3921 |   useMap v = fromPrim
 3922 |                "HTMLObjectElement.getuseMap"
 3923 |                prim__useMap
 3924 |                prim__setUseMap
 3925 |                v
 3926 |
 3927 |
 3928 |   export
 3929 |   validationMessage : (obj : HTMLObjectElement) -> JSIO String
 3930 |   validationMessage a = primJS $ HTMLObjectElement.prim__validationMessage a
 3931 |
 3932 |
 3933 |   export
 3934 |   validity : (obj : HTMLObjectElement) -> JSIO ValidityState
 3935 |   validity a = primJS $ HTMLObjectElement.prim__validity a
 3936 |
 3937 |
 3938 |   export
 3939 |   vspace : HTMLObjectElement -> Attribute True Prelude.id Bits32
 3940 |   vspace v = fromPrim
 3941 |                "HTMLObjectElement.getvspace"
 3942 |                prim__vspace
 3943 |                prim__setVspace
 3944 |                v
 3945 |
 3946 |
 3947 |   export
 3948 |   width : HTMLObjectElement -> Attribute True Prelude.id String
 3949 |   width v = fromPrim "HTMLObjectElement.getwidth" prim__width prim__setWidth v
 3950 |
 3951 |
 3952 |   export
 3953 |   willValidate : (obj : HTMLObjectElement) -> JSIO Bool
 3954 |   willValidate a = tryJS "HTMLObjectElement.willValidate" $
 3955 |     HTMLObjectElement.prim__willValidate a
 3956 |
 3957 |
 3958 |   export
 3959 |   checkValidity : (obj : HTMLObjectElement) -> JSIO Bool
 3960 |   checkValidity a = tryJS "HTMLObjectElement.checkValidity" $
 3961 |     HTMLObjectElement.prim__checkValidity a
 3962 |
 3963 |
 3964 |   export
 3965 |   getSVGDocument : (obj : HTMLObjectElement) -> JSIO (Maybe Document)
 3966 |   getSVGDocument a = tryJS "HTMLObjectElement.getSVGDocument" $
 3967 |     HTMLObjectElement.prim__getSVGDocument a
 3968 |
 3969 |
 3970 |   export
 3971 |   reportValidity : (obj : HTMLObjectElement) -> JSIO Bool
 3972 |   reportValidity a = tryJS "HTMLObjectElement.reportValidity" $
 3973 |     HTMLObjectElement.prim__reportValidity a
 3974 |
 3975 |
 3976 |   export
 3977 |   setCustomValidity : (obj : HTMLObjectElement) -> (error : String) -> JSIO ()
 3978 |   setCustomValidity a b = primJS $ HTMLObjectElement.prim__setCustomValidity a b
 3979 |
 3980 |
 3981 |
 3982 | namespace HTMLOptGroupElement
 3983 |
 3984 |   export
 3985 |   new : JSIO HTMLOptGroupElement
 3986 |   new = primJS $ HTMLOptGroupElement.prim__new
 3987 |
 3988 |
 3989 |   export
 3990 |   disabled : HTMLOptGroupElement -> Attribute True Prelude.id Bool
 3991 |   disabled v = fromPrim
 3992 |                  "HTMLOptGroupElement.getdisabled"
 3993 |                  prim__disabled
 3994 |                  prim__setDisabled
 3995 |                  v
 3996 |
 3997 |
 3998 |   export
 3999 |   label : HTMLOptGroupElement -> Attribute True Prelude.id String
 4000 |   label v = fromPrim "HTMLOptGroupElement.getlabel" prim__label prim__setLabel v
 4001 |
 4002 |
 4003 |
 4004 | namespace HTMLOptionElement
 4005 |
 4006 |   export
 4007 |   new : JSIO HTMLOptionElement
 4008 |   new = primJS $ HTMLOptionElement.prim__new
 4009 |
 4010 |
 4011 |   export
 4012 |   defaultSelected : HTMLOptionElement -> Attribute True Prelude.id Bool
 4013 |   defaultSelected v = fromPrim
 4014 |                         "HTMLOptionElement.getdefaultSelected"
 4015 |                         prim__defaultSelected
 4016 |                         prim__setDefaultSelected
 4017 |                         v
 4018 |
 4019 |
 4020 |   export
 4021 |   disabled : HTMLOptionElement -> Attribute True Prelude.id Bool
 4022 |   disabled v = fromPrim
 4023 |                  "HTMLOptionElement.getdisabled"
 4024 |                  prim__disabled
 4025 |                  prim__setDisabled
 4026 |                  v
 4027 |
 4028 |
 4029 |   export
 4030 |   form : (obj : HTMLOptionElement) -> JSIO (Maybe HTMLFormElement)
 4031 |   form a = tryJS "HTMLOptionElement.form" $ HTMLOptionElement.prim__form a
 4032 |
 4033 |
 4034 |   export
 4035 |   index : (obj : HTMLOptionElement) -> JSIO Int32
 4036 |   index a = primJS $ HTMLOptionElement.prim__index a
 4037 |
 4038 |
 4039 |   export
 4040 |   label : HTMLOptionElement -> Attribute True Prelude.id String
 4041 |   label v = fromPrim "HTMLOptionElement.getlabel" prim__label prim__setLabel v
 4042 |
 4043 |
 4044 |   export
 4045 |   selected : HTMLOptionElement -> Attribute True Prelude.id Bool
 4046 |   selected v = fromPrim
 4047 |                  "HTMLOptionElement.getselected"
 4048 |                  prim__selected
 4049 |                  prim__setSelected
 4050 |                  v
 4051 |
 4052 |
 4053 |   export
 4054 |   text : HTMLOptionElement -> Attribute True Prelude.id String
 4055 |   text v = fromPrim "HTMLOptionElement.gettext" prim__text prim__setText v
 4056 |
 4057 |
 4058 |   export
 4059 |   value : HTMLOptionElement -> Attribute True Prelude.id String
 4060 |   value v = fromPrim "HTMLOptionElement.getvalue" prim__value prim__setValue v
 4061 |
 4062 |
 4063 |
 4064 | namespace HTMLOptionsCollection
 4065 |
 4066 |   export
 4067 |   set :
 4068 |        (obj : HTMLOptionsCollection)
 4069 |     -> (index : Bits32)
 4070 |     -> (option : Maybe HTMLOptionElement)
 4071 |     -> JSIO ()
 4072 |   set a b c = primJS $ HTMLOptionsCollection.prim__set a b (toFFI c)
 4073 |
 4074 |
 4075 |   export
 4076 |   length : HTMLOptionsCollection -> Attribute True Prelude.id Bits32
 4077 |   length v = fromPrim
 4078 |                "HTMLOptionsCollection.getlength"
 4079 |                prim__length
 4080 |                prim__setLength
 4081 |                v
 4082 |
 4083 |
 4084 |   export
 4085 |   selectedIndex : HTMLOptionsCollection -> Attribute True Prelude.id Int32
 4086 |   selectedIndex v = fromPrim
 4087 |                       "HTMLOptionsCollection.getselectedIndex"
 4088 |                       prim__selectedIndex
 4089 |                       prim__setSelectedIndex
 4090 |                       v
 4091 |
 4092 |
 4093 |   export
 4094 |   add' :
 4095 |        (obj : HTMLOptionsCollection)
 4096 |     -> (element : HSum [HTMLOptionElement, HTMLOptGroupElement])
 4097 |     -> (before : Optional (Maybe (HSum [HTMLElement, Int32])))
 4098 |     -> JSIO ()
 4099 |   add' a b c = primJS $ HTMLOptionsCollection.prim__add a (toFFI b) (toFFI c)
 4100 |
 4101 |   export
 4102 |   add :
 4103 |        (obj : HTMLOptionsCollection)
 4104 |     -> (element : HSum [HTMLOptionElement, HTMLOptGroupElement])
 4105 |     -> JSIO ()
 4106 |   add a b = primJS $ HTMLOptionsCollection.prim__add a (toFFI b) undef
 4107 |
 4108 |
 4109 |   export
 4110 |   remove : (obj : HTMLOptionsCollection) -> (index : Int32) -> JSIO ()
 4111 |   remove a b = primJS $ HTMLOptionsCollection.prim__remove a b
 4112 |
 4113 |
 4114 |
 4115 | namespace HTMLOutputElement
 4116 |
 4117 |   export
 4118 |   new : JSIO HTMLOutputElement
 4119 |   new = primJS $ HTMLOutputElement.prim__new
 4120 |
 4121 |
 4122 |   export
 4123 |   defaultValue : HTMLOutputElement -> Attribute True Prelude.id String
 4124 |   defaultValue v = fromPrim
 4125 |                      "HTMLOutputElement.getdefaultValue"
 4126 |                      prim__defaultValue
 4127 |                      prim__setDefaultValue
 4128 |                      v
 4129 |
 4130 |
 4131 |   export
 4132 |   form : (obj : HTMLOutputElement) -> JSIO (Maybe HTMLFormElement)
 4133 |   form a = tryJS "HTMLOutputElement.form" $ HTMLOutputElement.prim__form a
 4134 |
 4135 |
 4136 |   export
 4137 |   htmlFor : (obj : HTMLOutputElement) -> JSIO DOMTokenList
 4138 |   htmlFor a = primJS $ HTMLOutputElement.prim__htmlFor a
 4139 |
 4140 |
 4141 |   export
 4142 |   labels : (obj : HTMLOutputElement) -> JSIO NodeList
 4143 |   labels a = primJS $ HTMLOutputElement.prim__labels a
 4144 |
 4145 |
 4146 |   export
 4147 |   name : HTMLOutputElement -> Attribute True Prelude.id String
 4148 |   name v = fromPrim "HTMLOutputElement.getname" prim__name prim__setName v
 4149 |
 4150 |
 4151 |   export
 4152 |   type : (obj : HTMLOutputElement) -> JSIO String
 4153 |   type a = primJS $ HTMLOutputElement.prim__type a
 4154 |
 4155 |
 4156 |   export
 4157 |   validationMessage : (obj : HTMLOutputElement) -> JSIO String
 4158 |   validationMessage a = primJS $ HTMLOutputElement.prim__validationMessage a
 4159 |
 4160 |
 4161 |   export
 4162 |   validity : (obj : HTMLOutputElement) -> JSIO ValidityState
 4163 |   validity a = primJS $ HTMLOutputElement.prim__validity a
 4164 |
 4165 |
 4166 |   export
 4167 |   value : HTMLOutputElement -> Attribute True Prelude.id String
 4168 |   value v = fromPrim "HTMLOutputElement.getvalue" prim__value prim__setValue v
 4169 |
 4170 |
 4171 |   export
 4172 |   willValidate : (obj : HTMLOutputElement) -> JSIO Bool
 4173 |   willValidate a = tryJS "HTMLOutputElement.willValidate" $
 4174 |     HTMLOutputElement.prim__willValidate a
 4175 |
 4176 |
 4177 |   export
 4178 |   checkValidity : (obj : HTMLOutputElement) -> JSIO Bool
 4179 |   checkValidity a = tryJS "HTMLOutputElement.checkValidity" $
 4180 |     HTMLOutputElement.prim__checkValidity a
 4181 |
 4182 |
 4183 |   export
 4184 |   reportValidity : (obj : HTMLOutputElement) -> JSIO Bool
 4185 |   reportValidity a = tryJS "HTMLOutputElement.reportValidity" $
 4186 |     HTMLOutputElement.prim__reportValidity a
 4187 |
 4188 |
 4189 |   export
 4190 |   setCustomValidity : (obj : HTMLOutputElement) -> (error : String) -> JSIO ()
 4191 |   setCustomValidity a b = primJS $ HTMLOutputElement.prim__setCustomValidity a b
 4192 |
 4193 |
 4194 |
 4195 | namespace HTMLParagraphElement
 4196 |
 4197 |   export
 4198 |   new : JSIO HTMLParagraphElement
 4199 |   new = primJS $ HTMLParagraphElement.prim__new
 4200 |
 4201 |
 4202 |   export
 4203 |   align : HTMLParagraphElement -> Attribute True Prelude.id String
 4204 |   align v = fromPrim
 4205 |               "HTMLParagraphElement.getalign"
 4206 |               prim__align
 4207 |               prim__setAlign
 4208 |               v
 4209 |
 4210 |
 4211 |
 4212 | namespace HTMLParamElement
 4213 |
 4214 |   export
 4215 |   new : JSIO HTMLParamElement
 4216 |   new = primJS $ HTMLParamElement.prim__new
 4217 |
 4218 |
 4219 |   export
 4220 |   name : HTMLParamElement -> Attribute True Prelude.id String
 4221 |   name v = fromPrim "HTMLParamElement.getname" prim__name prim__setName v
 4222 |
 4223 |
 4224 |   export
 4225 |   type : HTMLParamElement -> Attribute True Prelude.id String
 4226 |   type v = fromPrim "HTMLParamElement.gettype" prim__type prim__setType v
 4227 |
 4228 |
 4229 |   export
 4230 |   value : HTMLParamElement -> Attribute True Prelude.id String
 4231 |   value v = fromPrim "HTMLParamElement.getvalue" prim__value prim__setValue v
 4232 |
 4233 |
 4234 |   export
 4235 |   valueType : HTMLParamElement -> Attribute True Prelude.id String
 4236 |   valueType v = fromPrim
 4237 |                   "HTMLParamElement.getvalueType"
 4238 |                   prim__valueType
 4239 |                   prim__setValueType
 4240 |                   v
 4241 |
 4242 |
 4243 |
 4244 | namespace HTMLPictureElement
 4245 |
 4246 |   export
 4247 |   new : JSIO HTMLPictureElement
 4248 |   new = primJS $ HTMLPictureElement.prim__new
 4249 |
 4250 |
 4251 |
 4252 | namespace HTMLPreElement
 4253 |
 4254 |   export
 4255 |   new : JSIO HTMLPreElement
 4256 |   new = primJS $ HTMLPreElement.prim__new
 4257 |
 4258 |
 4259 |   export
 4260 |   width : HTMLPreElement -> Attribute True Prelude.id Int32
 4261 |   width v = fromPrim "HTMLPreElement.getwidth" prim__width prim__setWidth v
 4262 |
 4263 |
 4264 |
 4265 | namespace HTMLProgressElement
 4266 |
 4267 |   export
 4268 |   new : JSIO HTMLProgressElement
 4269 |   new = primJS $ HTMLProgressElement.prim__new
 4270 |
 4271 |
 4272 |   export
 4273 |   labels : (obj : HTMLProgressElement) -> JSIO NodeList
 4274 |   labels a = primJS $ HTMLProgressElement.prim__labels a
 4275 |
 4276 |
 4277 |   export
 4278 |   max : HTMLProgressElement -> Attribute True Prelude.id Double
 4279 |   max v = fromPrim "HTMLProgressElement.getmax" prim__max prim__setMax v
 4280 |
 4281 |
 4282 |   export
 4283 |   position : (obj : HTMLProgressElement) -> JSIO Double
 4284 |   position a = primJS $ HTMLProgressElement.prim__position a
 4285 |
 4286 |
 4287 |   export
 4288 |   value : HTMLProgressElement -> Attribute True Prelude.id Double
 4289 |   value v = fromPrim "HTMLProgressElement.getvalue" prim__value prim__setValue v
 4290 |
 4291 |
 4292 |
 4293 | namespace HTMLQuoteElement
 4294 |
 4295 |   export
 4296 |   new : JSIO HTMLQuoteElement
 4297 |   new = primJS $ HTMLQuoteElement.prim__new
 4298 |
 4299 |
 4300 |   export
 4301 |   cite : HTMLQuoteElement -> Attribute True Prelude.id String
 4302 |   cite v = fromPrim "HTMLQuoteElement.getcite" prim__cite prim__setCite v
 4303 |
 4304 |
 4305 |
 4306 | namespace HTMLScriptElement
 4307 |
 4308 |   export
 4309 |   new : JSIO HTMLScriptElement
 4310 |   new = primJS $ HTMLScriptElement.prim__new
 4311 |
 4312 |
 4313 |   export
 4314 |   async : HTMLScriptElement -> Attribute True Prelude.id Bool
 4315 |   async v = fromPrim "HTMLScriptElement.getasync" prim__async prim__setAsync v
 4316 |
 4317 |
 4318 |   export
 4319 |   charset : HTMLScriptElement -> Attribute True Prelude.id String
 4320 |   charset v = fromPrim
 4321 |                 "HTMLScriptElement.getcharset"
 4322 |                 prim__charset
 4323 |                 prim__setCharset
 4324 |                 v
 4325 |
 4326 |
 4327 |   export
 4328 |   crossOrigin : HTMLScriptElement -> Attribute False Maybe String
 4329 |   crossOrigin v = fromNullablePrim
 4330 |                     "HTMLScriptElement.getcrossOrigin"
 4331 |                     prim__crossOrigin
 4332 |                     prim__setCrossOrigin
 4333 |                     v
 4334 |
 4335 |
 4336 |   export
 4337 |   defer : HTMLScriptElement -> Attribute True Prelude.id Bool
 4338 |   defer v = fromPrim "HTMLScriptElement.getdefer" prim__defer prim__setDefer v
 4339 |
 4340 |
 4341 |   export
 4342 |   event : HTMLScriptElement -> Attribute True Prelude.id String
 4343 |   event v = fromPrim "HTMLScriptElement.getevent" prim__event prim__setEvent v
 4344 |
 4345 |
 4346 |   export
 4347 |   htmlFor : HTMLScriptElement -> Attribute True Prelude.id String
 4348 |   htmlFor v = fromPrim
 4349 |                 "HTMLScriptElement.gethtmlFor"
 4350 |                 prim__htmlFor
 4351 |                 prim__setHtmlFor
 4352 |                 v
 4353 |
 4354 |
 4355 |   export
 4356 |   integrity : HTMLScriptElement -> Attribute True Prelude.id String
 4357 |   integrity v = fromPrim
 4358 |                   "HTMLScriptElement.getintegrity"
 4359 |                   prim__integrity
 4360 |                   prim__setIntegrity
 4361 |                   v
 4362 |
 4363 |
 4364 |   export
 4365 |   noModule : HTMLScriptElement -> Attribute True Prelude.id Bool
 4366 |   noModule v = fromPrim
 4367 |                  "HTMLScriptElement.getnoModule"
 4368 |                  prim__noModule
 4369 |                  prim__setNoModule
 4370 |                  v
 4371 |
 4372 |
 4373 |   export
 4374 |   referrerPolicy : HTMLScriptElement -> Attribute True Prelude.id String
 4375 |   referrerPolicy v = fromPrim
 4376 |                        "HTMLScriptElement.getreferrerPolicy"
 4377 |                        prim__referrerPolicy
 4378 |                        prim__setReferrerPolicy
 4379 |                        v
 4380 |
 4381 |
 4382 |   export
 4383 |   src : HTMLScriptElement -> Attribute True Prelude.id String
 4384 |   src v = fromPrim "HTMLScriptElement.getsrc" prim__src prim__setSrc v
 4385 |
 4386 |
 4387 |   export
 4388 |   text : HTMLScriptElement -> Attribute True Prelude.id String
 4389 |   text v = fromPrim "HTMLScriptElement.gettext" prim__text prim__setText v
 4390 |
 4391 |
 4392 |   export
 4393 |   type : HTMLScriptElement -> Attribute True Prelude.id String
 4394 |   type v = fromPrim "HTMLScriptElement.gettype" prim__type prim__setType v
 4395 |
 4396 |
 4397 |
 4398 | namespace HTMLSelectElement
 4399 |
 4400 |   export
 4401 |   new : JSIO HTMLSelectElement
 4402 |   new = primJS $ HTMLSelectElement.prim__new
 4403 |
 4404 |
 4405 |   export
 4406 |   set :
 4407 |        (obj : HTMLSelectElement)
 4408 |     -> (index : Bits32)
 4409 |     -> (option : Maybe HTMLOptionElement)
 4410 |     -> JSIO ()
 4411 |   set a b c = primJS $ HTMLSelectElement.prim__set a b (toFFI c)
 4412 |
 4413 |
 4414 |   export
 4415 |   autocomplete : HTMLSelectElement -> Attribute True Prelude.id String
 4416 |   autocomplete v = fromPrim
 4417 |                      "HTMLSelectElement.getautocomplete"
 4418 |                      prim__autocomplete
 4419 |                      prim__setAutocomplete
 4420 |                      v
 4421 |
 4422 |
 4423 |   export
 4424 |   disabled : HTMLSelectElement -> Attribute True Prelude.id Bool
 4425 |   disabled v = fromPrim
 4426 |                  "HTMLSelectElement.getdisabled"
 4427 |                  prim__disabled
 4428 |                  prim__setDisabled
 4429 |                  v
 4430 |
 4431 |
 4432 |   export
 4433 |   form : (obj : HTMLSelectElement) -> JSIO (Maybe HTMLFormElement)
 4434 |   form a = tryJS "HTMLSelectElement.form" $ HTMLSelectElement.prim__form a
 4435 |
 4436 |
 4437 |   export
 4438 |   labels : (obj : HTMLSelectElement) -> JSIO NodeList
 4439 |   labels a = primJS $ HTMLSelectElement.prim__labels a
 4440 |
 4441 |
 4442 |   export
 4443 |   length : HTMLSelectElement -> Attribute True Prelude.id Bits32
 4444 |   length v = fromPrim
 4445 |                "HTMLSelectElement.getlength"
 4446 |                prim__length
 4447 |                prim__setLength
 4448 |                v
 4449 |
 4450 |
 4451 |   export
 4452 |   multiple : HTMLSelectElement -> Attribute True Prelude.id Bool
 4453 |   multiple v = fromPrim
 4454 |                  "HTMLSelectElement.getmultiple"
 4455 |                  prim__multiple
 4456 |                  prim__setMultiple
 4457 |                  v
 4458 |
 4459 |
 4460 |   export
 4461 |   name : HTMLSelectElement -> Attribute True Prelude.id String
 4462 |   name v = fromPrim "HTMLSelectElement.getname" prim__name prim__setName v
 4463 |
 4464 |
 4465 |   export
 4466 |   options : (obj : HTMLSelectElement) -> JSIO HTMLOptionsCollection
 4467 |   options a = primJS $ HTMLSelectElement.prim__options a
 4468 |
 4469 |
 4470 |   export
 4471 |   required : HTMLSelectElement -> Attribute True Prelude.id Bool
 4472 |   required v = fromPrim
 4473 |                  "HTMLSelectElement.getrequired"
 4474 |                  prim__required
 4475 |                  prim__setRequired
 4476 |                  v
 4477 |
 4478 |
 4479 |   export
 4480 |   selectedIndex : HTMLSelectElement -> Attribute True Prelude.id Int32
 4481 |   selectedIndex v = fromPrim
 4482 |                       "HTMLSelectElement.getselectedIndex"
 4483 |                       prim__selectedIndex
 4484 |                       prim__setSelectedIndex
 4485 |                       v
 4486 |
 4487 |
 4488 |   export
 4489 |   selectedOptions : (obj : HTMLSelectElement) -> JSIO HTMLCollection
 4490 |   selectedOptions a = primJS $ HTMLSelectElement.prim__selectedOptions a
 4491 |
 4492 |
 4493 |   export
 4494 |   size : HTMLSelectElement -> Attribute True Prelude.id Bits32
 4495 |   size v = fromPrim "HTMLSelectElement.getsize" prim__size prim__setSize v
 4496 |
 4497 |
 4498 |   export
 4499 |   type : (obj : HTMLSelectElement) -> JSIO String
 4500 |   type a = primJS $ HTMLSelectElement.prim__type a
 4501 |
 4502 |
 4503 |   export
 4504 |   validationMessage : (obj : HTMLSelectElement) -> JSIO String
 4505 |   validationMessage a = primJS $ HTMLSelectElement.prim__validationMessage a
 4506 |
 4507 |
 4508 |   export
 4509 |   validity : (obj : HTMLSelectElement) -> JSIO ValidityState
 4510 |   validity a = primJS $ HTMLSelectElement.prim__validity a
 4511 |
 4512 |
 4513 |   export
 4514 |   value : HTMLSelectElement -> Attribute True Prelude.id String
 4515 |   value v = fromPrim "HTMLSelectElement.getvalue" prim__value prim__setValue v
 4516 |
 4517 |
 4518 |   export
 4519 |   willValidate : (obj : HTMLSelectElement) -> JSIO Bool
 4520 |   willValidate a = tryJS "HTMLSelectElement.willValidate" $
 4521 |     HTMLSelectElement.prim__willValidate a
 4522 |
 4523 |
 4524 |   export
 4525 |   add' :
 4526 |        (obj : HTMLSelectElement)
 4527 |     -> (element : HSum [HTMLOptionElement, HTMLOptGroupElement])
 4528 |     -> (before : Optional (Maybe (HSum [HTMLElement, Int32])))
 4529 |     -> JSIO ()
 4530 |   add' a b c = primJS $ HTMLSelectElement.prim__add a (toFFI b) (toFFI c)
 4531 |
 4532 |   export
 4533 |   add :
 4534 |        (obj : HTMLSelectElement)
 4535 |     -> (element : HSum [HTMLOptionElement, HTMLOptGroupElement])
 4536 |     -> JSIO ()
 4537 |   add a b = primJS $ HTMLSelectElement.prim__add a (toFFI b) undef
 4538 |
 4539 |
 4540 |   export
 4541 |   checkValidity : (obj : HTMLSelectElement) -> JSIO Bool
 4542 |   checkValidity a = tryJS "HTMLSelectElement.checkValidity" $
 4543 |     HTMLSelectElement.prim__checkValidity a
 4544 |
 4545 |
 4546 |   export
 4547 |   item : (obj : HTMLSelectElement) -> (index : Bits32) -> JSIO (Maybe Element)
 4548 |   item a b = tryJS "HTMLSelectElement.item" $ HTMLSelectElement.prim__item a b
 4549 |
 4550 |
 4551 |   export
 4552 |   namedItem :
 4553 |        (obj : HTMLSelectElement)
 4554 |     -> (name : String)
 4555 |     -> JSIO (Maybe HTMLOptionElement)
 4556 |   namedItem a b = tryJS "HTMLSelectElement.namedItem" $
 4557 |     HTMLSelectElement.prim__namedItem a b
 4558 |
 4559 |
 4560 |   export
 4561 |   remove : (obj : HTMLSelectElement) -> JSIO ()
 4562 |   remove a = primJS $ HTMLSelectElement.prim__remove a
 4563 |
 4564 |
 4565 |   export
 4566 |   remove1 : (obj : HTMLSelectElement) -> (index : Int32) -> JSIO ()
 4567 |   remove1 a b = primJS $ HTMLSelectElement.prim__remove1 a b
 4568 |
 4569 |
 4570 |   export
 4571 |   reportValidity : (obj : HTMLSelectElement) -> JSIO Bool
 4572 |   reportValidity a = tryJS "HTMLSelectElement.reportValidity" $
 4573 |     HTMLSelectElement.prim__reportValidity a
 4574 |
 4575 |
 4576 |   export
 4577 |   setCustomValidity : (obj : HTMLSelectElement) -> (error : String) -> JSIO ()
 4578 |   setCustomValidity a b = primJS $ HTMLSelectElement.prim__setCustomValidity a b
 4579 |
 4580 |
 4581 |
 4582 | namespace HTMLSlotElement
 4583 |
 4584 |   export
 4585 |   new : JSIO HTMLSlotElement
 4586 |   new = primJS $ HTMLSlotElement.prim__new
 4587 |
 4588 |
 4589 |   export
 4590 |   name : HTMLSlotElement -> Attribute True Prelude.id String
 4591 |   name v = fromPrim "HTMLSlotElement.getname" prim__name prim__setName v
 4592 |
 4593 |
 4594 |   export
 4595 |   assignedElements' :
 4596 |        {auto 0 _ : JSType t2}
 4597 |     -> {auto 0 _ : Elem AssignedNodesOptions (Types t2)}
 4598 |     -> (obj : HTMLSlotElement)
 4599 |     -> (options : Optional t2)
 4600 |     -> JSIO (Array Element)
 4601 |   assignedElements' a b = primJS $
 4602 |     HTMLSlotElement.prim__assignedElements a (optUp b)
 4603 |
 4604 |   export
 4605 |   assignedElements : (obj : HTMLSlotElement) -> JSIO (Array Element)
 4606 |   assignedElements a = primJS $ HTMLSlotElement.prim__assignedElements a undef
 4607 |
 4608 |
 4609 |   export
 4610 |   assignedNodes' :
 4611 |        {auto 0 _ : JSType t2}
 4612 |     -> {auto 0 _ : Elem AssignedNodesOptions (Types t2)}
 4613 |     -> (obj : HTMLSlotElement)
 4614 |     -> (options : Optional t2)
 4615 |     -> JSIO (Array Node)
 4616 |   assignedNodes' a b = primJS $ HTMLSlotElement.prim__assignedNodes a (optUp b)
 4617 |
 4618 |   export
 4619 |   assignedNodes : (obj : HTMLSlotElement) -> JSIO (Array Node)
 4620 |   assignedNodes a = primJS $ HTMLSlotElement.prim__assignedNodes a undef
 4621 |
 4622 |
 4623 |
 4624 | namespace HTMLSourceElement
 4625 |
 4626 |   export
 4627 |   new : JSIO HTMLSourceElement
 4628 |   new = primJS $ HTMLSourceElement.prim__new
 4629 |
 4630 |
 4631 |   export
 4632 |   height : HTMLSourceElement -> Attribute True Prelude.id Bits32
 4633 |   height v = fromPrim
 4634 |                "HTMLSourceElement.getheight"
 4635 |                prim__height
 4636 |                prim__setHeight
 4637 |                v
 4638 |
 4639 |
 4640 |   export
 4641 |   media : HTMLSourceElement -> Attribute True Prelude.id String
 4642 |   media v = fromPrim "HTMLSourceElement.getmedia" prim__media prim__setMedia v
 4643 |
 4644 |
 4645 |   export
 4646 |   sizes : HTMLSourceElement -> Attribute True Prelude.id String
 4647 |   sizes v = fromPrim "HTMLSourceElement.getsizes" prim__sizes prim__setSizes v
 4648 |
 4649 |
 4650 |   export
 4651 |   src : HTMLSourceElement -> Attribute True Prelude.id String
 4652 |   src v = fromPrim "HTMLSourceElement.getsrc" prim__src prim__setSrc v
 4653 |
 4654 |
 4655 |   export
 4656 |   srcset : HTMLSourceElement -> Attribute True Prelude.id String
 4657 |   srcset v = fromPrim
 4658 |                "HTMLSourceElement.getsrcset"
 4659 |                prim__srcset
 4660 |                prim__setSrcset
 4661 |                v
 4662 |
 4663 |
 4664 |   export
 4665 |   type : HTMLSourceElement -> Attribute True Prelude.id String
 4666 |   type v = fromPrim "HTMLSourceElement.gettype" prim__type prim__setType v
 4667 |
 4668 |
 4669 |   export
 4670 |   width : HTMLSourceElement -> Attribute True Prelude.id Bits32
 4671 |   width v = fromPrim "HTMLSourceElement.getwidth" prim__width prim__setWidth v
 4672 |
 4673 |
 4674 |
 4675 | namespace HTMLSpanElement
 4676 |
 4677 |   export
 4678 |   new : JSIO HTMLSpanElement
 4679 |   new = primJS $ HTMLSpanElement.prim__new
 4680 |
 4681 |
 4682 |
 4683 | namespace HTMLStyleElement
 4684 |
 4685 |   export
 4686 |   new : JSIO HTMLStyleElement
 4687 |   new = primJS $ HTMLStyleElement.prim__new
 4688 |
 4689 |
 4690 |   export
 4691 |   media : HTMLStyleElement -> Attribute True Prelude.id String
 4692 |   media v = fromPrim "HTMLStyleElement.getmedia" prim__media prim__setMedia v
 4693 |
 4694 |
 4695 |   export
 4696 |   type : HTMLStyleElement -> Attribute True Prelude.id String
 4697 |   type v = fromPrim "HTMLStyleElement.gettype" prim__type prim__setType v
 4698 |
 4699 |
 4700 |
 4701 | namespace HTMLTableCaptionElement
 4702 |
 4703 |   export
 4704 |   new : JSIO HTMLTableCaptionElement
 4705 |   new = primJS $ HTMLTableCaptionElement.prim__new
 4706 |
 4707 |
 4708 |   export
 4709 |   align : HTMLTableCaptionElement -> Attribute True Prelude.id String
 4710 |   align v = fromPrim
 4711 |               "HTMLTableCaptionElement.getalign"
 4712 |               prim__align
 4713 |               prim__setAlign
 4714 |               v
 4715 |
 4716 |
 4717 |
 4718 | namespace HTMLTableCellElement
 4719 |
 4720 |   export
 4721 |   new : JSIO HTMLTableCellElement
 4722 |   new = primJS $ HTMLTableCellElement.prim__new
 4723 |
 4724 |
 4725 |   export
 4726 |   abbr : HTMLTableCellElement -> Attribute True Prelude.id String
 4727 |   abbr v = fromPrim "HTMLTableCellElement.getabbr" prim__abbr prim__setAbbr v
 4728 |
 4729 |
 4730 |   export
 4731 |   align : HTMLTableCellElement -> Attribute True Prelude.id String
 4732 |   align v = fromPrim
 4733 |               "HTMLTableCellElement.getalign"
 4734 |               prim__align
 4735 |               prim__setAlign
 4736 |               v
 4737 |
 4738 |
 4739 |   export
 4740 |   axis : HTMLTableCellElement -> Attribute True Prelude.id String
 4741 |   axis v = fromPrim "HTMLTableCellElement.getaxis" prim__axis prim__setAxis v
 4742 |
 4743 |
 4744 |   export
 4745 |   bgColor : HTMLTableCellElement -> Attribute True Prelude.id String
 4746 |   bgColor v = fromPrim
 4747 |                 "HTMLTableCellElement.getbgColor"
 4748 |                 prim__bgColor
 4749 |                 prim__setBgColor
 4750 |                 v
 4751 |
 4752 |
 4753 |   export
 4754 |   cellIndex : (obj : HTMLTableCellElement) -> JSIO Int32
 4755 |   cellIndex a = primJS $ HTMLTableCellElement.prim__cellIndex a
 4756 |
 4757 |
 4758 |   export
 4759 |   ch : HTMLTableCellElement -> Attribute True Prelude.id String
 4760 |   ch v = fromPrim "HTMLTableCellElement.getch" prim__ch prim__setCh v
 4761 |
 4762 |
 4763 |   export
 4764 |   chOff : HTMLTableCellElement -> Attribute True Prelude.id String
 4765 |   chOff v = fromPrim
 4766 |               "HTMLTableCellElement.getchOff"
 4767 |               prim__chOff
 4768 |               prim__setChOff
 4769 |               v
 4770 |
 4771 |
 4772 |   export
 4773 |   colSpan : HTMLTableCellElement -> Attribute True Prelude.id Bits32
 4774 |   colSpan v = fromPrim
 4775 |                 "HTMLTableCellElement.getcolSpan"
 4776 |                 prim__colSpan
 4777 |                 prim__setColSpan
 4778 |                 v
 4779 |
 4780 |
 4781 |   export
 4782 |   headers : HTMLTableCellElement -> Attribute True Prelude.id String
 4783 |   headers v = fromPrim
 4784 |                 "HTMLTableCellElement.getheaders"
 4785 |                 prim__headers
 4786 |                 prim__setHeaders
 4787 |                 v
 4788 |
 4789 |
 4790 |   export
 4791 |   height : HTMLTableCellElement -> Attribute True Prelude.id String
 4792 |   height v = fromPrim
 4793 |                "HTMLTableCellElement.getheight"
 4794 |                prim__height
 4795 |                prim__setHeight
 4796 |                v
 4797 |
 4798 |
 4799 |   export
 4800 |   noWrap : HTMLTableCellElement -> Attribute True Prelude.id Bool
 4801 |   noWrap v = fromPrim
 4802 |                "HTMLTableCellElement.getnoWrap"
 4803 |                prim__noWrap
 4804 |                prim__setNoWrap
 4805 |                v
 4806 |
 4807 |
 4808 |   export
 4809 |   rowSpan : HTMLTableCellElement -> Attribute True Prelude.id Bits32
 4810 |   rowSpan v = fromPrim
 4811 |                 "HTMLTableCellElement.getrowSpan"
 4812 |                 prim__rowSpan
 4813 |                 prim__setRowSpan
 4814 |                 v
 4815 |
 4816 |
 4817 |   export
 4818 |   scope : HTMLTableCellElement -> Attribute True Prelude.id String
 4819 |   scope v = fromPrim
 4820 |               "HTMLTableCellElement.getscope"
 4821 |               prim__scope
 4822 |               prim__setScope
 4823 |               v
 4824 |
 4825 |
 4826 |   export
 4827 |   vAlign : HTMLTableCellElement -> Attribute True Prelude.id String
 4828 |   vAlign v = fromPrim
 4829 |                "HTMLTableCellElement.getvAlign"
 4830 |                prim__vAlign
 4831 |                prim__setVAlign
 4832 |                v
 4833 |
 4834 |
 4835 |   export
 4836 |   width : HTMLTableCellElement -> Attribute True Prelude.id String
 4837 |   width v = fromPrim
 4838 |               "HTMLTableCellElement.getwidth"
 4839 |               prim__width
 4840 |               prim__setWidth
 4841 |               v
 4842 |
 4843 |
 4844 |
 4845 | namespace HTMLTableColElement
 4846 |
 4847 |   export
 4848 |   new : JSIO HTMLTableColElement
 4849 |   new = primJS $ HTMLTableColElement.prim__new
 4850 |
 4851 |
 4852 |   export
 4853 |   align : HTMLTableColElement -> Attribute True Prelude.id String
 4854 |   align v = fromPrim "HTMLTableColElement.getalign" prim__align prim__setAlign v
 4855 |
 4856 |
 4857 |   export
 4858 |   ch : HTMLTableColElement -> Attribute True Prelude.id String
 4859 |   ch v = fromPrim "HTMLTableColElement.getch" prim__ch prim__setCh v
 4860 |
 4861 |
 4862 |   export
 4863 |   chOff : HTMLTableColElement -> Attribute True Prelude.id String
 4864 |   chOff v = fromPrim "HTMLTableColElement.getchOff" prim__chOff prim__setChOff v
 4865 |
 4866 |
 4867 |   export
 4868 |   span : HTMLTableColElement -> Attribute True Prelude.id Bits32
 4869 |   span v = fromPrim "HTMLTableColElement.getspan" prim__span prim__setSpan v
 4870 |
 4871 |
 4872 |   export
 4873 |   vAlign : HTMLTableColElement -> Attribute True Prelude.id String
 4874 |   vAlign v = fromPrim
 4875 |                "HTMLTableColElement.getvAlign"
 4876 |                prim__vAlign
 4877 |                prim__setVAlign
 4878 |                v
 4879 |
 4880 |
 4881 |   export
 4882 |   width : HTMLTableColElement -> Attribute True Prelude.id String
 4883 |   width v = fromPrim "HTMLTableColElement.getwidth" prim__width prim__setWidth v
 4884 |
 4885 |
 4886 |
 4887 | namespace HTMLTableElement
 4888 |
 4889 |   export
 4890 |   new : JSIO HTMLTableElement
 4891 |   new = primJS $ HTMLTableElement.prim__new
 4892 |
 4893 |
 4894 |   export
 4895 |   align : HTMLTableElement -> Attribute True Prelude.id String
 4896 |   align v = fromPrim "HTMLTableElement.getalign" prim__align prim__setAlign v
 4897 |
 4898 |
 4899 |   export
 4900 |   bgColor : HTMLTableElement -> Attribute True Prelude.id String
 4901 |   bgColor v = fromPrim
 4902 |                 "HTMLTableElement.getbgColor"
 4903 |                 prim__bgColor
 4904 |                 prim__setBgColor
 4905 |                 v
 4906 |
 4907 |
 4908 |   export
 4909 |   border : HTMLTableElement -> Attribute True Prelude.id String
 4910 |   border v = fromPrim
 4911 |                "HTMLTableElement.getborder"
 4912 |                prim__border
 4913 |                prim__setBorder
 4914 |                v
 4915 |
 4916 |
 4917 |   export
 4918 |   caption : HTMLTableElement -> Attribute False Maybe HTMLTableCaptionElement
 4919 |   caption v = fromNullablePrim
 4920 |                 "HTMLTableElement.getcaption"
 4921 |                 prim__caption
 4922 |                 prim__setCaption
 4923 |                 v
 4924 |
 4925 |
 4926 |   export
 4927 |   cellPadding : HTMLTableElement -> Attribute True Prelude.id String
 4928 |   cellPadding v = fromPrim
 4929 |                     "HTMLTableElement.getcellPadding"
 4930 |                     prim__cellPadding
 4931 |                     prim__setCellPadding
 4932 |                     v
 4933 |
 4934 |
 4935 |   export
 4936 |   cellSpacing : HTMLTableElement -> Attribute True Prelude.id String
 4937 |   cellSpacing v = fromPrim
 4938 |                     "HTMLTableElement.getcellSpacing"
 4939 |                     prim__cellSpacing
 4940 |                     prim__setCellSpacing
 4941 |                     v
 4942 |
 4943 |
 4944 |   export
 4945 |   frame : HTMLTableElement -> Attribute True Prelude.id String
 4946 |   frame v = fromPrim "HTMLTableElement.getframe" prim__frame prim__setFrame v
 4947 |
 4948 |
 4949 |   export
 4950 |   rows : (obj : HTMLTableElement) -> JSIO HTMLCollection
 4951 |   rows a = primJS $ HTMLTableElement.prim__rows a
 4952 |
 4953 |
 4954 |   export
 4955 |   rules : HTMLTableElement -> Attribute True Prelude.id String
 4956 |   rules v = fromPrim "HTMLTableElement.getrules" prim__rules prim__setRules v
 4957 |
 4958 |
 4959 |   export
 4960 |   summary : HTMLTableElement -> Attribute True Prelude.id String
 4961 |   summary v = fromPrim
 4962 |                 "HTMLTableElement.getsummary"
 4963 |                 prim__summary
 4964 |                 prim__setSummary
 4965 |                 v
 4966 |
 4967 |
 4968 |   export
 4969 |   tBodies : (obj : HTMLTableElement) -> JSIO HTMLCollection
 4970 |   tBodies a = primJS $ HTMLTableElement.prim__tBodies a
 4971 |
 4972 |
 4973 |   export
 4974 |   tFoot : HTMLTableElement -> Attribute False Maybe HTMLTableSectionElement
 4975 |   tFoot v = fromNullablePrim
 4976 |               "HTMLTableElement.gettFoot"
 4977 |               prim__tFoot
 4978 |               prim__setTFoot
 4979 |               v
 4980 |
 4981 |
 4982 |   export
 4983 |   tHead : HTMLTableElement -> Attribute False Maybe HTMLTableSectionElement
 4984 |   tHead v = fromNullablePrim
 4985 |               "HTMLTableElement.gettHead"
 4986 |               prim__tHead
 4987 |               prim__setTHead
 4988 |               v
 4989 |
 4990 |
 4991 |   export
 4992 |   width : HTMLTableElement -> Attribute True Prelude.id String
 4993 |   width v = fromPrim "HTMLTableElement.getwidth" prim__width prim__setWidth v
 4994 |
 4995 |
 4996 |   export
 4997 |   createCaption : (obj : HTMLTableElement) -> JSIO HTMLTableCaptionElement
 4998 |   createCaption a = primJS $ HTMLTableElement.prim__createCaption a
 4999 |
 5000 |
 5001 |   export
 5002 |   createTBody : (obj : HTMLTableElement) -> JSIO HTMLTableSectionElement
 5003 |   createTBody a = primJS $ HTMLTableElement.prim__createTBody a
 5004 |
 5005 |
 5006 |   export
 5007 |   createTFoot : (obj : HTMLTableElement) -> JSIO HTMLTableSectionElement
 5008 |   createTFoot a = primJS $ HTMLTableElement.prim__createTFoot a
 5009 |
 5010 |
 5011 |   export
 5012 |   createTHead : (obj : HTMLTableElement) -> JSIO HTMLTableSectionElement
 5013 |   createTHead a = primJS $ HTMLTableElement.prim__createTHead a
 5014 |
 5015 |
 5016 |   export
 5017 |   deleteCaption : (obj : HTMLTableElement) -> JSIO ()
 5018 |   deleteCaption a = primJS $ HTMLTableElement.prim__deleteCaption a
 5019 |
 5020 |
 5021 |   export
 5022 |   deleteRow : (obj : HTMLTableElement) -> (index : Int32) -> JSIO ()
 5023 |   deleteRow a b = primJS $ HTMLTableElement.prim__deleteRow a b
 5024 |
 5025 |
 5026 |   export
 5027 |   deleteTFoot : (obj : HTMLTableElement) -> JSIO ()
 5028 |   deleteTFoot a = primJS $ HTMLTableElement.prim__deleteTFoot a
 5029 |
 5030 |
 5031 |   export
 5032 |   deleteTHead : (obj : HTMLTableElement) -> JSIO ()
 5033 |   deleteTHead a = primJS $ HTMLTableElement.prim__deleteTHead a
 5034 |
 5035 |
 5036 |   export
 5037 |   insertRow' :
 5038 |        (obj : HTMLTableElement)
 5039 |     -> (index : Optional Int32)
 5040 |     -> JSIO HTMLTableRowElement
 5041 |   insertRow' a b = primJS $ HTMLTableElement.prim__insertRow a (toFFI b)
 5042 |
 5043 |   export
 5044 |   insertRow : (obj : HTMLTableElement) -> JSIO HTMLTableRowElement
 5045 |   insertRow a = primJS $ HTMLTableElement.prim__insertRow a undef
 5046 |
 5047 |
 5048 |
 5049 | namespace HTMLTableRowElement
 5050 |
 5051 |   export
 5052 |   new : JSIO HTMLTableRowElement
 5053 |   new = primJS $ HTMLTableRowElement.prim__new
 5054 |
 5055 |
 5056 |   export
 5057 |   align : HTMLTableRowElement -> Attribute True Prelude.id String
 5058 |   align v = fromPrim "HTMLTableRowElement.getalign" prim__align prim__setAlign v
 5059 |
 5060 |
 5061 |   export
 5062 |   bgColor : HTMLTableRowElement -> Attribute True Prelude.id String
 5063 |   bgColor v = fromPrim
 5064 |                 "HTMLTableRowElement.getbgColor"
 5065 |                 prim__bgColor
 5066 |                 prim__setBgColor
 5067 |                 v
 5068 |
 5069 |
 5070 |   export
 5071 |   cells : (obj : HTMLTableRowElement) -> JSIO HTMLCollection
 5072 |   cells a = primJS $ HTMLTableRowElement.prim__cells a
 5073 |
 5074 |
 5075 |   export
 5076 |   ch : HTMLTableRowElement -> Attribute True Prelude.id String
 5077 |   ch v = fromPrim "HTMLTableRowElement.getch" prim__ch prim__setCh v
 5078 |
 5079 |
 5080 |   export
 5081 |   chOff : HTMLTableRowElement -> Attribute True Prelude.id String
 5082 |   chOff v = fromPrim "HTMLTableRowElement.getchOff" prim__chOff prim__setChOff v
 5083 |
 5084 |
 5085 |   export
 5086 |   rowIndex : (obj : HTMLTableRowElement) -> JSIO Int32
 5087 |   rowIndex a = primJS $ HTMLTableRowElement.prim__rowIndex a
 5088 |
 5089 |
 5090 |   export
 5091 |   sectionRowIndex : (obj : HTMLTableRowElement) -> JSIO Int32
 5092 |   sectionRowIndex a = primJS $ HTMLTableRowElement.prim__sectionRowIndex a
 5093 |
 5094 |
 5095 |   export
 5096 |   vAlign : HTMLTableRowElement -> Attribute True Prelude.id String
 5097 |   vAlign v = fromPrim
 5098 |                "HTMLTableRowElement.getvAlign"
 5099 |                prim__vAlign
 5100 |                prim__setVAlign
 5101 |                v
 5102 |
 5103 |
 5104 |   export
 5105 |   deleteCell : (obj : HTMLTableRowElement) -> (index : Int32) -> JSIO ()
 5106 |   deleteCell a b = primJS $ HTMLTableRowElement.prim__deleteCell a b
 5107 |
 5108 |
 5109 |   export
 5110 |   insertCell' :
 5111 |        (obj : HTMLTableRowElement)
 5112 |     -> (index : Optional Int32)
 5113 |     -> JSIO HTMLTableCellElement
 5114 |   insertCell' a b = primJS $ HTMLTableRowElement.prim__insertCell a (toFFI b)
 5115 |
 5116 |   export
 5117 |   insertCell : (obj : HTMLTableRowElement) -> JSIO HTMLTableCellElement
 5118 |   insertCell a = primJS $ HTMLTableRowElement.prim__insertCell a undef
 5119 |
 5120 |
 5121 |
 5122 | namespace HTMLTableSectionElement
 5123 |
 5124 |   export
 5125 |   new : JSIO HTMLTableSectionElement
 5126 |   new = primJS $ HTMLTableSectionElement.prim__new
 5127 |
 5128 |
 5129 |   export
 5130 |   align : HTMLTableSectionElement -> Attribute True Prelude.id String
 5131 |   align v = fromPrim
 5132 |               "HTMLTableSectionElement.getalign"
 5133 |               prim__align
 5134 |               prim__setAlign
 5135 |               v
 5136 |
 5137 |
 5138 |   export
 5139 |   ch : HTMLTableSectionElement -> Attribute True Prelude.id String
 5140 |   ch v = fromPrim "HTMLTableSectionElement.getch" prim__ch prim__setCh v
 5141 |
 5142 |
 5143 |   export
 5144 |   chOff : HTMLTableSectionElement -> Attribute True Prelude.id String
 5145 |   chOff v = fromPrim
 5146 |               "HTMLTableSectionElement.getchOff"
 5147 |               prim__chOff
 5148 |               prim__setChOff
 5149 |               v
 5150 |
 5151 |
 5152 |   export
 5153 |   rows : (obj : HTMLTableSectionElement) -> JSIO HTMLCollection
 5154 |   rows a = primJS $ HTMLTableSectionElement.prim__rows a
 5155 |
 5156 |
 5157 |   export
 5158 |   vAlign : HTMLTableSectionElement -> Attribute True Prelude.id String
 5159 |   vAlign v = fromPrim
 5160 |                "HTMLTableSectionElement.getvAlign"
 5161 |                prim__vAlign
 5162 |                prim__setVAlign
 5163 |                v
 5164 |
 5165 |
 5166 |   export
 5167 |   deleteRow : (obj : HTMLTableSectionElement) -> (index : Int32) -> JSIO ()
 5168 |   deleteRow a b = primJS $ HTMLTableSectionElement.prim__deleteRow a b
 5169 |
 5170 |
 5171 |   export
 5172 |   insertRow' :
 5173 |        (obj : HTMLTableSectionElement)
 5174 |     -> (index : Optional Int32)
 5175 |     -> JSIO HTMLTableRowElement
 5176 |   insertRow' a b = primJS $ HTMLTableSectionElement.prim__insertRow a (toFFI b)
 5177 |
 5178 |   export
 5179 |   insertRow : (obj : HTMLTableSectionElement) -> JSIO HTMLTableRowElement
 5180 |   insertRow a = primJS $ HTMLTableSectionElement.prim__insertRow a undef
 5181 |
 5182 |
 5183 |
 5184 | namespace HTMLTemplateElement
 5185 |
 5186 |   export
 5187 |   new : JSIO HTMLTemplateElement
 5188 |   new = primJS $ HTMLTemplateElement.prim__new
 5189 |
 5190 |
 5191 |   export
 5192 |   content : (obj : HTMLTemplateElement) -> JSIO DocumentFragment
 5193 |   content a = primJS $ HTMLTemplateElement.prim__content a
 5194 |
 5195 |
 5196 |
 5197 | namespace HTMLTextAreaElement
 5198 |
 5199 |   export
 5200 |   new : JSIO HTMLTextAreaElement
 5201 |   new = primJS $ HTMLTextAreaElement.prim__new
 5202 |
 5203 |
 5204 |   export
 5205 |   autocomplete : HTMLTextAreaElement -> Attribute True Prelude.id String
 5206 |   autocomplete v = fromPrim
 5207 |                      "HTMLTextAreaElement.getautocomplete"
 5208 |                      prim__autocomplete
 5209 |                      prim__setAutocomplete
 5210 |                      v
 5211 |
 5212 |
 5213 |   export
 5214 |   cols : HTMLTextAreaElement -> Attribute True Prelude.id Bits32
 5215 |   cols v = fromPrim "HTMLTextAreaElement.getcols" prim__cols prim__setCols v
 5216 |
 5217 |
 5218 |   export
 5219 |   defaultValue : HTMLTextAreaElement -> Attribute True Prelude.id String
 5220 |   defaultValue v = fromPrim
 5221 |                      "HTMLTextAreaElement.getdefaultValue"
 5222 |                      prim__defaultValue
 5223 |                      prim__setDefaultValue
 5224 |                      v
 5225 |
 5226 |
 5227 |   export
 5228 |   dirName : HTMLTextAreaElement -> Attribute True Prelude.id String
 5229 |   dirName v = fromPrim
 5230 |                 "HTMLTextAreaElement.getdirName"
 5231 |                 prim__dirName
 5232 |                 prim__setDirName
 5233 |                 v
 5234 |
 5235 |
 5236 |   export
 5237 |   disabled : HTMLTextAreaElement -> Attribute True Prelude.id Bool
 5238 |   disabled v = fromPrim
 5239 |                  "HTMLTextAreaElement.getdisabled"
 5240 |                  prim__disabled
 5241 |                  prim__setDisabled
 5242 |                  v
 5243 |
 5244 |
 5245 |   export
 5246 |   form : (obj : HTMLTextAreaElement) -> JSIO (Maybe HTMLFormElement)
 5247 |   form a = tryJS "HTMLTextAreaElement.form" $ HTMLTextAreaElement.prim__form a
 5248 |
 5249 |
 5250 |   export
 5251 |   labels : (obj : HTMLTextAreaElement) -> JSIO NodeList
 5252 |   labels a = primJS $ HTMLTextAreaElement.prim__labels a
 5253 |
 5254 |
 5255 |   export
 5256 |   maxLength : HTMLTextAreaElement -> Attribute True Prelude.id Int32
 5257 |   maxLength v = fromPrim
 5258 |                   "HTMLTextAreaElement.getmaxLength"
 5259 |                   prim__maxLength
 5260 |                   prim__setMaxLength
 5261 |                   v
 5262 |
 5263 |
 5264 |   export
 5265 |   minLength : HTMLTextAreaElement -> Attribute True Prelude.id Int32
 5266 |   minLength v = fromPrim
 5267 |                   "HTMLTextAreaElement.getminLength"
 5268 |                   prim__minLength
 5269 |                   prim__setMinLength
 5270 |                   v
 5271 |
 5272 |
 5273 |   export
 5274 |   name : HTMLTextAreaElement -> Attribute True Prelude.id String
 5275 |   name v = fromPrim "HTMLTextAreaElement.getname" prim__name prim__setName v
 5276 |
 5277 |
 5278 |   export
 5279 |   placeholder : HTMLTextAreaElement -> Attribute True Prelude.id String
 5280 |   placeholder v = fromPrim
 5281 |                     "HTMLTextAreaElement.getplaceholder"
 5282 |                     prim__placeholder
 5283 |                     prim__setPlaceholder
 5284 |                     v
 5285 |
 5286 |
 5287 |   export
 5288 |   readOnly : HTMLTextAreaElement -> Attribute True Prelude.id Bool
 5289 |   readOnly v = fromPrim
 5290 |                  "HTMLTextAreaElement.getreadOnly"
 5291 |                  prim__readOnly
 5292 |                  prim__setReadOnly
 5293 |                  v
 5294 |
 5295 |
 5296 |   export
 5297 |   required : HTMLTextAreaElement -> Attribute True Prelude.id Bool
 5298 |   required v = fromPrim
 5299 |                  "HTMLTextAreaElement.getrequired"
 5300 |                  prim__required
 5301 |                  prim__setRequired
 5302 |                  v
 5303 |
 5304 |
 5305 |   export
 5306 |   rows : HTMLTextAreaElement -> Attribute True Prelude.id Bits32
 5307 |   rows v = fromPrim "HTMLTextAreaElement.getrows" prim__rows prim__setRows v
 5308 |
 5309 |
 5310 |   export
 5311 |   selectionDirection : HTMLTextAreaElement -> Attribute True Prelude.id String
 5312 |   selectionDirection v = fromPrim
 5313 |                            "HTMLTextAreaElement.getselectionDirection"
 5314 |                            prim__selectionDirection
 5315 |                            prim__setSelectionDirection
 5316 |                            v
 5317 |
 5318 |
 5319 |   export
 5320 |   selectionEnd : HTMLTextAreaElement -> Attribute True Prelude.id Bits32
 5321 |   selectionEnd v = fromPrim
 5322 |                      "HTMLTextAreaElement.getselectionEnd"
 5323 |                      prim__selectionEnd
 5324 |                      prim__setSelectionEnd
 5325 |                      v
 5326 |
 5327 |
 5328 |   export
 5329 |   selectionStart : HTMLTextAreaElement -> Attribute True Prelude.id Bits32
 5330 |   selectionStart v = fromPrim
 5331 |                        "HTMLTextAreaElement.getselectionStart"
 5332 |                        prim__selectionStart
 5333 |                        prim__setSelectionStart
 5334 |                        v
 5335 |
 5336 |
 5337 |   export
 5338 |   textLength : (obj : HTMLTextAreaElement) -> JSIO Bits32
 5339 |   textLength a = primJS $ HTMLTextAreaElement.prim__textLength a
 5340 |
 5341 |
 5342 |   export
 5343 |   type : (obj : HTMLTextAreaElement) -> JSIO String
 5344 |   type a = primJS $ HTMLTextAreaElement.prim__type a
 5345 |
 5346 |
 5347 |   export
 5348 |   validationMessage : (obj : HTMLTextAreaElement) -> JSIO String
 5349 |   validationMessage a = primJS $ HTMLTextAreaElement.prim__validationMessage a
 5350 |
 5351 |
 5352 |   export
 5353 |   validity : (obj : HTMLTextAreaElement) -> JSIO ValidityState
 5354 |   validity a = primJS $ HTMLTextAreaElement.prim__validity a
 5355 |
 5356 |
 5357 |   export
 5358 |   value : HTMLTextAreaElement -> Attribute True Prelude.id String
 5359 |   value v = fromPrim "HTMLTextAreaElement.getvalue" prim__value prim__setValue v
 5360 |
 5361 |
 5362 |   export
 5363 |   willValidate : (obj : HTMLTextAreaElement) -> JSIO Bool
 5364 |   willValidate a = tryJS "HTMLTextAreaElement.willValidate" $
 5365 |     HTMLTextAreaElement.prim__willValidate a
 5366 |
 5367 |
 5368 |   export
 5369 |   wrap : HTMLTextAreaElement -> Attribute True Prelude.id String
 5370 |   wrap v = fromPrim "HTMLTextAreaElement.getwrap" prim__wrap prim__setWrap v
 5371 |
 5372 |
 5373 |   export
 5374 |   checkValidity : (obj : HTMLTextAreaElement) -> JSIO Bool
 5375 |   checkValidity a = tryJS "HTMLTextAreaElement.checkValidity" $
 5376 |     HTMLTextAreaElement.prim__checkValidity a
 5377 |
 5378 |
 5379 |   export
 5380 |   reportValidity : (obj : HTMLTextAreaElement) -> JSIO Bool
 5381 |   reportValidity a = tryJS "HTMLTextAreaElement.reportValidity" $
 5382 |     HTMLTextAreaElement.prim__reportValidity a
 5383 |
 5384 |
 5385 |   export
 5386 |   select : (obj : HTMLTextAreaElement) -> JSIO ()
 5387 |   select a = primJS $ HTMLTextAreaElement.prim__select a
 5388 |
 5389 |
 5390 |   export
 5391 |   setCustomValidity : (obj : HTMLTextAreaElement) -> (error : String) -> JSIO ()
 5392 |   setCustomValidity a b = primJS $
 5393 |     HTMLTextAreaElement.prim__setCustomValidity a b
 5394 |
 5395 |
 5396 |   export
 5397 |   setRangeText :
 5398 |        (obj : HTMLTextAreaElement)
 5399 |     -> (replacement : String)
 5400 |     -> JSIO ()
 5401 |   setRangeText a b = primJS $ HTMLTextAreaElement.prim__setRangeText a b
 5402 |
 5403 |
 5404 |   export
 5405 |   setRangeText1' :
 5406 |        (obj : HTMLTextAreaElement)
 5407 |     -> (replacement : String)
 5408 |     -> (start : Bits32)
 5409 |     -> (end : Bits32)
 5410 |     -> (selectionMode : Optional SelectionMode)
 5411 |     -> JSIO ()
 5412 |   setRangeText1' a b c d e = primJS $
 5413 |     HTMLTextAreaElement.prim__setRangeText1 a b c d (toFFI e)
 5414 |
 5415 |   export
 5416 |   setRangeText1 :
 5417 |        (obj : HTMLTextAreaElement)
 5418 |     -> (replacement : String)
 5419 |     -> (start : Bits32)
 5420 |     -> (end : Bits32)
 5421 |     -> JSIO ()
 5422 |   setRangeText1 a b c d = primJS $
 5423 |     HTMLTextAreaElement.prim__setRangeText1 a b c d undef
 5424 |
 5425 |
 5426 |   export
 5427 |   setSelectionRange' :
 5428 |        (obj : HTMLTextAreaElement)
 5429 |     -> (start : Bits32)
 5430 |     -> (end : Bits32)
 5431 |     -> (direction : Optional String)
 5432 |     -> JSIO ()
 5433 |   setSelectionRange' a b c d = primJS $
 5434 |     HTMLTextAreaElement.prim__setSelectionRange a b c (toFFI d)
 5435 |
 5436 |   export
 5437 |   setSelectionRange :
 5438 |        (obj : HTMLTextAreaElement)
 5439 |     -> (start : Bits32)
 5440 |     -> (end : Bits32)
 5441 |     -> JSIO ()
 5442 |   setSelectionRange a b c = primJS $
 5443 |     HTMLTextAreaElement.prim__setSelectionRange a b c undef
 5444 |
 5445 |
 5446 |
 5447 | namespace HTMLTimeElement
 5448 |
 5449 |   export
 5450 |   new : JSIO HTMLTimeElement
 5451 |   new = primJS $ HTMLTimeElement.prim__new
 5452 |
 5453 |
 5454 |   export
 5455 |   dateTime : HTMLTimeElement -> Attribute True Prelude.id String
 5456 |   dateTime v = fromPrim
 5457 |                  "HTMLTimeElement.getdateTime"
 5458 |                  prim__dateTime
 5459 |                  prim__setDateTime
 5460 |                  v
 5461 |
 5462 |
 5463 |
 5464 | namespace HTMLTitleElement
 5465 |
 5466 |   export
 5467 |   new : JSIO HTMLTitleElement
 5468 |   new = primJS $ HTMLTitleElement.prim__new
 5469 |
 5470 |
 5471 |   export
 5472 |   text : HTMLTitleElement -> Attribute True Prelude.id String
 5473 |   text v = fromPrim "HTMLTitleElement.gettext" prim__text prim__setText v
 5474 |
 5475 |
 5476 |
 5477 | namespace HTMLTrackElement
 5478 |
 5479 |   public export
 5480 |   ERROR : Bits16
 5481 |   ERROR = 3
 5482 |
 5483 |
 5484 |   public export
 5485 |   LOADED : Bits16
 5486 |   LOADED = 2
 5487 |
 5488 |
 5489 |   public export
 5490 |   LOADING : Bits16
 5491 |   LOADING = 1
 5492 |
 5493 |
 5494 |   public export
 5495 |   NONE : Bits16
 5496 |   NONE = 0
 5497 |
 5498 |
 5499 |   export
 5500 |   new : JSIO HTMLTrackElement
 5501 |   new = primJS $ HTMLTrackElement.prim__new
 5502 |
 5503 |
 5504 |   export
 5505 |   default_ : HTMLTrackElement -> Attribute True Prelude.id Bool
 5506 |   default_ v = fromPrim
 5507 |                  "HTMLTrackElement.getdefault"
 5508 |                  prim__default
 5509 |                  prim__setDefault
 5510 |                  v
 5511 |
 5512 |
 5513 |   export
 5514 |   kind : HTMLTrackElement -> Attribute True Prelude.id String
 5515 |   kind v = fromPrim "HTMLTrackElement.getkind" prim__kind prim__setKind v
 5516 |
 5517 |
 5518 |   export
 5519 |   label : HTMLTrackElement -> Attribute True Prelude.id String
 5520 |   label v = fromPrim "HTMLTrackElement.getlabel" prim__label prim__setLabel v
 5521 |
 5522 |
 5523 |   export
 5524 |   readyState : (obj : HTMLTrackElement) -> JSIO Bits16
 5525 |   readyState a = primJS $ HTMLTrackElement.prim__readyState a
 5526 |
 5527 |
 5528 |   export
 5529 |   src : HTMLTrackElement -> Attribute True Prelude.id String
 5530 |   src v = fromPrim "HTMLTrackElement.getsrc" prim__src prim__setSrc v
 5531 |
 5532 |
 5533 |   export
 5534 |   srclang : HTMLTrackElement -> Attribute True Prelude.id String
 5535 |   srclang v = fromPrim
 5536 |                 "HTMLTrackElement.getsrclang"
 5537 |                 prim__srclang
 5538 |                 prim__setSrclang
 5539 |                 v
 5540 |
 5541 |
 5542 |   export
 5543 |   track : (obj : HTMLTrackElement) -> JSIO TextTrack
 5544 |   track a = primJS $ HTMLTrackElement.prim__track a
 5545 |
 5546 |
 5547 |
 5548 | namespace HTMLUListElement
 5549 |
 5550 |   export
 5551 |   new : JSIO HTMLUListElement
 5552 |   new = primJS $ HTMLUListElement.prim__new
 5553 |
 5554 |
 5555 |   export
 5556 |   compact : HTMLUListElement -> Attribute True Prelude.id Bool
 5557 |   compact v = fromPrim
 5558 |                 "HTMLUListElement.getcompact"
 5559 |                 prim__compact
 5560 |                 prim__setCompact
 5561 |                 v
 5562 |
 5563 |
 5564 |   export
 5565 |   type : HTMLUListElement -> Attribute True Prelude.id String
 5566 |   type v = fromPrim "HTMLUListElement.gettype" prim__type prim__setType v
 5567 |
 5568 |
 5569 |
 5570 |
 5571 | namespace HTMLVideoElement
 5572 |
 5573 |   export
 5574 |   new : JSIO HTMLVideoElement
 5575 |   new = primJS $ HTMLVideoElement.prim__new
 5576 |
 5577 |
 5578 |   export
 5579 |   height : HTMLVideoElement -> Attribute True Prelude.id Bits32
 5580 |   height v = fromPrim
 5581 |                "HTMLVideoElement.getheight"
 5582 |                prim__height
 5583 |                prim__setHeight
 5584 |                v
 5585 |
 5586 |
 5587 |   export
 5588 |   playsInline : HTMLVideoElement -> Attribute True Prelude.id Bool
 5589 |   playsInline v = fromPrim
 5590 |                     "HTMLVideoElement.getplaysInline"
 5591 |                     prim__playsInline
 5592 |                     prim__setPlaysInline
 5593 |                     v
 5594 |
 5595 |
 5596 |   export
 5597 |   poster : HTMLVideoElement -> Attribute True Prelude.id String
 5598 |   poster v = fromPrim
 5599 |                "HTMLVideoElement.getposter"
 5600 |                prim__poster
 5601 |                prim__setPoster
 5602 |                v
 5603 |
 5604 |
 5605 |   export
 5606 |   videoHeight : (obj : HTMLVideoElement) -> JSIO Bits32
 5607 |   videoHeight a = primJS $ HTMLVideoElement.prim__videoHeight a
 5608 |
 5609 |
 5610 |   export
 5611 |   videoWidth : (obj : HTMLVideoElement) -> JSIO Bits32
 5612 |   videoWidth a = primJS $ HTMLVideoElement.prim__videoWidth a
 5613 |
 5614 |
 5615 |   export
 5616 |   width : HTMLVideoElement -> Attribute True Prelude.id Bits32
 5617 |   width v = fromPrim "HTMLVideoElement.getwidth" prim__width prim__setWidth v
 5618 |
 5619 |
 5620 |
 5621 | namespace HashChangeEvent
 5622 |
 5623 |   export
 5624 |   new' :
 5625 |        {auto 0 _ : JSType t2}
 5626 |     -> {auto 0 _ : Elem HashChangeEventInit (Types t2)}
 5627 |     -> (type : String)
 5628 |     -> (eventInitDict : Optional t2)
 5629 |     -> JSIO HashChangeEvent
 5630 |   new' a b = primJS $ HashChangeEvent.prim__new a (optUp b)
 5631 |
 5632 |   export
 5633 |   new : (type : String) -> JSIO HashChangeEvent
 5634 |   new a = primJS $ HashChangeEvent.prim__new a undef
 5635 |
 5636 |
 5637 |   export
 5638 |   newURL : (obj : HashChangeEvent) -> JSIO String
 5639 |   newURL a = primJS $ HashChangeEvent.prim__newURL a
 5640 |
 5641 |
 5642 |   export
 5643 |   oldURL : (obj : HashChangeEvent) -> JSIO String
 5644 |   oldURL a = primJS $ HashChangeEvent.prim__oldURL a
 5645 |
 5646 |
 5647 |
 5648 | namespace History
 5649 |
 5650 |   export
 5651 |   length : (obj : History) -> JSIO Bits32
 5652 |   length a = primJS $ History.prim__length a
 5653 |
 5654 |
 5655 |   export
 5656 |   scrollRestoration : History -> Attribute True Prelude.id ScrollRestoration
 5657 |   scrollRestoration v = fromPrim
 5658 |                           "History.getscrollRestoration"
 5659 |                           prim__scrollRestoration
 5660 |                           prim__setScrollRestoration
 5661 |                           v
 5662 |
 5663 |
 5664 |   export
 5665 |   state : (obj : History) -> JSIO Any
 5666 |   state a = tryJS "History.state" $ History.prim__state a
 5667 |
 5668 |
 5669 |   export
 5670 |   back : (obj : History) -> JSIO ()
 5671 |   back a = primJS $ History.prim__back a
 5672 |
 5673 |
 5674 |   export
 5675 |   forward : (obj : History) -> JSIO ()
 5676 |   forward a = primJS $ History.prim__forward a
 5677 |
 5678 |
 5679 |   export
 5680 |   go' : (obj : History) -> (delta : Optional Int32) -> JSIO ()
 5681 |   go' a b = primJS $ History.prim__go a (toFFI b)
 5682 |
 5683 |   export
 5684 |   go : (obj : History) -> JSIO ()
 5685 |   go a = primJS $ History.prim__go a undef
 5686 |
 5687 |
 5688 |   export
 5689 |   pushState' :
 5690 |        (obj : History)
 5691 |     -> (data_ : Any)
 5692 |     -> (unused : String)
 5693 |     -> (url : Optional (Maybe String))
 5694 |     -> JSIO ()
 5695 |   pushState' a b c d = primJS $ History.prim__pushState a (toFFI b) c (toFFI d)
 5696 |
 5697 |   export
 5698 |   pushState : (obj : History) -> (data_ : Any) -> (unused : String) -> JSIO ()
 5699 |   pushState a b c = primJS $ History.prim__pushState a (toFFI b) c undef
 5700 |
 5701 |
 5702 |   export
 5703 |   replaceState' :
 5704 |        (obj : History)
 5705 |     -> (data_ : Any)
 5706 |     -> (unused : String)
 5707 |     -> (url : Optional (Maybe String))
 5708 |     -> JSIO ()
 5709 |   replaceState' a b c d = primJS $
 5710 |     History.prim__replaceState a (toFFI b) c (toFFI d)
 5711 |
 5712 |   export
 5713 |   replaceState :
 5714 |        (obj : History)
 5715 |     -> (data_ : Any)
 5716 |     -> (unused : String)
 5717 |     -> JSIO ()
 5718 |   replaceState a b c = primJS $ History.prim__replaceState a (toFFI b) c undef
 5719 |
 5720 |
 5721 |
 5722 | namespace ImageBitmap
 5723 |
 5724 |   export
 5725 |   height : (obj : ImageBitmap) -> JSIO Bits32
 5726 |   height a = primJS $ ImageBitmap.prim__height a
 5727 |
 5728 |
 5729 |   export
 5730 |   width : (obj : ImageBitmap) -> JSIO Bits32
 5731 |   width a = primJS $ ImageBitmap.prim__width a
 5732 |
 5733 |
 5734 |   export
 5735 |   close : (obj : ImageBitmap) -> JSIO ()
 5736 |   close a = primJS $ ImageBitmap.prim__close a
 5737 |
 5738 |
 5739 |
 5740 | namespace ImageBitmapRenderingContext
 5741 |
 5742 |   export
 5743 |   canvas :
 5744 |        (obj : ImageBitmapRenderingContext)
 5745 |     -> JSIO (HSum [HTMLCanvasElement, OffscreenCanvas])
 5746 |   canvas a = tryJS "ImageBitmapRenderingContext.canvas" $
 5747 |     ImageBitmapRenderingContext.prim__canvas a
 5748 |
 5749 |
 5750 |   export
 5751 |   transferFromImageBitmap :
 5752 |        (obj : ImageBitmapRenderingContext)
 5753 |     -> (bitmap : Maybe ImageBitmap)
 5754 |     -> JSIO ()
 5755 |   transferFromImageBitmap a b = primJS $
 5756 |     ImageBitmapRenderingContext.prim__transferFromImageBitmap a (toFFI b)
 5757 |
 5758 |
 5759 |
 5760 | namespace ImageData
 5761 |
 5762 |   export
 5763 |   new : (sw : Bits32) -> (sh : Bits32) -> JSIO ImageData
 5764 |   new a b = primJS $ ImageData.prim__new a b
 5765 |
 5766 |
 5767 |   export
 5768 |   new1' :
 5769 |        (data_ : UInt8ClampedArray)
 5770 |     -> (sw : Bits32)
 5771 |     -> (sh : Optional Bits32)
 5772 |     -> JSIO ImageData
 5773 |   new1' a b c = primJS $ ImageData.prim__new1 a b (toFFI c)
 5774 |
 5775 |   export
 5776 |   new1 : (data_ : UInt8ClampedArray) -> (sw : Bits32) -> JSIO ImageData
 5777 |   new1 a b = primJS $ ImageData.prim__new1 a b undef
 5778 |
 5779 |
 5780 |   export
 5781 |   data_ : (obj : ImageData) -> JSIO UInt8ClampedArray
 5782 |   data_ a = primJS $ ImageData.prim__data a
 5783 |
 5784 |
 5785 |   export
 5786 |   height : (obj : ImageData) -> JSIO Bits32
 5787 |   height a = primJS $ ImageData.prim__height a
 5788 |
 5789 |
 5790 |   export
 5791 |   width : (obj : ImageData) -> JSIO Bits32
 5792 |   width a = primJS $ ImageData.prim__width a
 5793 |
 5794 |
 5795 |
 5796 | namespace Location
 5797 |
 5798 |   export
 5799 |   ancestorOrigins : (obj : Location) -> JSIO DOMStringList
 5800 |   ancestorOrigins a = primJS $ Location.prim__ancestorOrigins a
 5801 |
 5802 |
 5803 |   export
 5804 |   hash : Location -> Attribute True Prelude.id String
 5805 |   hash v = fromPrim "Location.gethash" prim__hash prim__setHash v
 5806 |
 5807 |
 5808 |   export
 5809 |   host : Location -> Attribute True Prelude.id String
 5810 |   host v = fromPrim "Location.gethost" prim__host prim__setHost v
 5811 |
 5812 |
 5813 |   export
 5814 |   hostname : Location -> Attribute True Prelude.id String
 5815 |   hostname v = fromPrim
 5816 |                  "Location.gethostname"
 5817 |                  prim__hostname
 5818 |                  prim__setHostname
 5819 |                  v
 5820 |
 5821 |
 5822 |   export
 5823 |   href : Location -> Attribute True Prelude.id String
 5824 |   href v = fromPrim "Location.gethref" prim__href prim__setHref v
 5825 |
 5826 |
 5827 |   export
 5828 |   origin : (obj : Location) -> JSIO String
 5829 |   origin a = primJS $ Location.prim__origin a
 5830 |
 5831 |
 5832 |   export
 5833 |   pathname : Location -> Attribute True Prelude.id String
 5834 |   pathname v = fromPrim
 5835 |                  "Location.getpathname"
 5836 |                  prim__pathname
 5837 |                  prim__setPathname
 5838 |                  v
 5839 |
 5840 |
 5841 |   export
 5842 |   port : Location -> Attribute True Prelude.id String
 5843 |   port v = fromPrim "Location.getport" prim__port prim__setPort v
 5844 |
 5845 |
 5846 |   export
 5847 |   protocol : Location -> Attribute True Prelude.id String
 5848 |   protocol v = fromPrim
 5849 |                  "Location.getprotocol"
 5850 |                  prim__protocol
 5851 |                  prim__setProtocol
 5852 |                  v
 5853 |
 5854 |
 5855 |   export
 5856 |   search : Location -> Attribute True Prelude.id String
 5857 |   search v = fromPrim "Location.getsearch" prim__search prim__setSearch v
 5858 |
 5859 |
 5860 |   export
 5861 |   assign : (obj : Location) -> (url : String) -> JSIO ()
 5862 |   assign a b = primJS $ Location.prim__assign a b
 5863 |
 5864 |
 5865 |   export
 5866 |   reload : (obj : Location) -> JSIO ()
 5867 |   reload a = primJS $ Location.prim__reload a
 5868 |
 5869 |
 5870 |   export
 5871 |   replace : (obj : Location) -> (url : String) -> JSIO ()
 5872 |   replace a b = primJS $ Location.prim__replace a b
 5873 |
 5874 |
 5875 |
 5876 | namespace MediaError
 5877 |
 5878 |   public export
 5879 |   MEDIA_ERR_ABORTED : Bits16
 5880 |   MEDIA_ERR_ABORTED = 1
 5881 |
 5882 |
 5883 |   public export
 5884 |   MEDIA_ERR_DECODE : Bits16
 5885 |   MEDIA_ERR_DECODE = 3
 5886 |
 5887 |
 5888 |   public export
 5889 |   MEDIA_ERR_NETWORK : Bits16
 5890 |   MEDIA_ERR_NETWORK = 2
 5891 |
 5892 |
 5893 |   public export
 5894 |   MEDIA_ERR_SRC_NOT_SUPPORTED : Bits16
 5895 |   MEDIA_ERR_SRC_NOT_SUPPORTED = 4
 5896 |
 5897 |
 5898 |   export
 5899 |   code : (obj : MediaError) -> JSIO Bits16
 5900 |   code a = primJS $ MediaError.prim__code a
 5901 |
 5902 |
 5903 |   export
 5904 |   message : (obj : MediaError) -> JSIO String
 5905 |   message a = primJS $ MediaError.prim__message a
 5906 |
 5907 |
 5908 |
 5909 | namespace MessageChannel
 5910 |
 5911 |   export
 5912 |   new : JSIO MessageChannel
 5913 |   new = primJS $ MessageChannel.prim__new
 5914 |
 5915 |
 5916 |   export
 5917 |   port1 : (obj : MessageChannel) -> JSIO MessagePort
 5918 |   port1 a = primJS $ MessageChannel.prim__port1 a
 5919 |
 5920 |
 5921 |   export
 5922 |   port2 : (obj : MessageChannel) -> JSIO MessagePort
 5923 |   port2 a = primJS $ MessageChannel.prim__port2 a
 5924 |
 5925 |
 5926 |
 5927 | namespace MessageEvent
 5928 |
 5929 |   export
 5930 |   new' :
 5931 |        {auto 0 _ : JSType t2}
 5932 |     -> {auto 0 _ : Elem MessageEventInit (Types t2)}
 5933 |     -> (type : String)
 5934 |     -> (eventInitDict : Optional t2)
 5935 |     -> JSIO MessageEvent
 5936 |   new' a b = primJS $ MessageEvent.prim__new a (optUp b)
 5937 |
 5938 |   export
 5939 |   new : (type : String) -> JSIO MessageEvent
 5940 |   new a = primJS $ MessageEvent.prim__new a undef
 5941 |
 5942 |
 5943 |   export
 5944 |   data_ : (obj : MessageEvent) -> JSIO Any
 5945 |   data_ a = tryJS "MessageEvent.data_" $ MessageEvent.prim__data a
 5946 |
 5947 |
 5948 |   export
 5949 |   lastEventId : (obj : MessageEvent) -> JSIO String
 5950 |   lastEventId a = primJS $ MessageEvent.prim__lastEventId a
 5951 |
 5952 |
 5953 |   export
 5954 |   origin : (obj : MessageEvent) -> JSIO String
 5955 |   origin a = primJS $ MessageEvent.prim__origin a
 5956 |
 5957 |
 5958 |   export
 5959 |   ports : (obj : MessageEvent) -> JSIO (Array MessagePort)
 5960 |   ports a = primJS $ MessageEvent.prim__ports a
 5961 |
 5962 |
 5963 |   export
 5964 |   source :
 5965 |        (obj : MessageEvent)
 5966 |     -> JSIO (Maybe (Union3 WindowProxy MessagePort ServiceWorker))
 5967 |   source a = tryJS "MessageEvent.source" $ MessageEvent.prim__source a
 5968 |
 5969 |
 5970 |   export
 5971 |   initMessageEvent' :
 5972 |        (obj : MessageEvent)
 5973 |     -> (type : String)
 5974 |     -> (bubbles : Optional Bool)
 5975 |     -> (cancelable : Optional Bool)
 5976 |     -> (data_ : Optional Any)
 5977 |     -> (origin : Optional String)
 5978 |     -> (lastEventId : Optional String)
 5979 |     -> (source : Optional
 5980 |                    (Maybe (HSum [WindowProxy, MessagePort, ServiceWorker])))
 5981 |     -> (ports : Optional (Array MessagePort))
 5982 |     -> JSIO ()
 5983 |   initMessageEvent' a b c d e f g h i = primJS $
 5984 |     MessageEvent.prim__initMessageEvent
 5985 |       a
 5986 |       b
 5987 |       (toFFI c)
 5988 |       (toFFI d)
 5989 |       (toFFI e)
 5990 |       (toFFI f)
 5991 |       (toFFI g)
 5992 |       (toFFI h)
 5993 |       (toFFI i)
 5994 |
 5995 |   export
 5996 |   initMessageEvent : (obj : MessageEvent) -> (type : String) -> JSIO ()
 5997 |   initMessageEvent a b = primJS $
 5998 |     MessageEvent.prim__initMessageEvent
 5999 |       a
 6000 |       b
 6001 |       undef
 6002 |       undef
 6003 |       undef
 6004 |       undef
 6005 |       undef
 6006 |       undef
 6007 |       undef
 6008 |
 6009 |
 6010 |
 6011 | namespace MessagePort
 6012 |
 6013 |   export
 6014 |   onmessage : MessagePort -> Attribute False Maybe EventHandlerNonNull
 6015 |   onmessage v = fromNullablePrim
 6016 |                   "MessagePort.getonmessage"
 6017 |                   prim__onmessage
 6018 |                   prim__setOnmessage
 6019 |                   v
 6020 |
 6021 |
 6022 |   export
 6023 |   onmessageerror : MessagePort -> Attribute False Maybe EventHandlerNonNull
 6024 |   onmessageerror v = fromNullablePrim
 6025 |                        "MessagePort.getonmessageerror"
 6026 |                        prim__onmessageerror
 6027 |                        prim__setOnmessageerror
 6028 |                        v
 6029 |
 6030 |
 6031 |   export
 6032 |   close : (obj : MessagePort) -> JSIO ()
 6033 |   close a = primJS $ MessagePort.prim__close a
 6034 |
 6035 |
 6036 |   export
 6037 |   postMessage :
 6038 |        (obj : MessagePort)
 6039 |     -> (message : Any)
 6040 |     -> (transfer : Array Object)
 6041 |     -> JSIO ()
 6042 |   postMessage a b c = primJS $ MessagePort.prim__postMessage a (toFFI b) c
 6043 |
 6044 |
 6045 |   export
 6046 |   postMessage1' :
 6047 |        {auto 0 _ : JSType t3}
 6048 |     -> {auto 0 _ : Elem PostMessageOptions (Types t3)}
 6049 |     -> (obj : MessagePort)
 6050 |     -> (message : Any)
 6051 |     -> (options : Optional t3)
 6052 |     -> JSIO ()
 6053 |   postMessage1' a b c = primJS $
 6054 |     MessagePort.prim__postMessage1 a (toFFI b) (optUp c)
 6055 |
 6056 |   export
 6057 |   postMessage1 : (obj : MessagePort) -> (message : Any) -> JSIO ()
 6058 |   postMessage1 a b = primJS $ MessagePort.prim__postMessage1 a (toFFI b) undef
 6059 |
 6060 |
 6061 |   export
 6062 |   start : (obj : MessagePort) -> JSIO ()
 6063 |   start a = primJS $ MessagePort.prim__start a
 6064 |
 6065 |
 6066 |
 6067 | namespace MimeType
 6068 |
 6069 |   export
 6070 |   description : (obj : MimeType) -> JSIO ()
 6071 |   description a = primJS $ MimeType.prim__description a
 6072 |
 6073 |
 6074 |   export
 6075 |   enabledPlugin : (obj : MimeType) -> JSIO ()
 6076 |   enabledPlugin a = primJS $ MimeType.prim__enabledPlugin a
 6077 |
 6078 |
 6079 |   export
 6080 |   suffixes : (obj : MimeType) -> JSIO ()
 6081 |   suffixes a = primJS $ MimeType.prim__suffixes a
 6082 |
 6083 |
 6084 |   export
 6085 |   type : (obj : MimeType) -> JSIO ()
 6086 |   type a = primJS $ MimeType.prim__type a
 6087 |
 6088 |
 6089 |
 6090 | namespace MimeTypeArray
 6091 |
 6092 |   export
 6093 |   length : (obj : MimeTypeArray) -> JSIO Bits32
 6094 |   length a = primJS $ MimeTypeArray.prim__length a
 6095 |
 6096 |
 6097 |   export
 6098 |   item : (obj : MimeTypeArray) -> (index : Bits32) -> JSIO (Maybe Object)
 6099 |   item a b = tryJS "MimeTypeArray.item" $ MimeTypeArray.prim__item a b
 6100 |
 6101 |
 6102 |   export
 6103 |   namedItem : (obj : MimeTypeArray) -> (name : String) -> JSIO (Maybe Object)
 6104 |   namedItem a b = tryJS "MimeTypeArray.namedItem" $
 6105 |     MimeTypeArray.prim__namedItem a b
 6106 |
 6107 |
 6108 |
 6109 | namespace Navigator
 6110 |
 6111 |   export
 6112 |   clipboard : (obj : Navigator) -> JSIO Clipboard
 6113 |   clipboard a = primJS $ Navigator.prim__clipboard a
 6114 |
 6115 |
 6116 |   export
 6117 |   mediaDevices : (obj : Navigator) -> JSIO MediaDevices
 6118 |   mediaDevices a = primJS $ Navigator.prim__mediaDevices a
 6119 |
 6120 |
 6121 |   export
 6122 |   permissions : (obj : Navigator) -> JSIO Permissions
 6123 |   permissions a = primJS $ Navigator.prim__permissions a
 6124 |
 6125 |
 6126 |   export
 6127 |   serviceWorker : (obj : Navigator) -> JSIO ServiceWorkerContainer
 6128 |   serviceWorker a = primJS $ Navigator.prim__serviceWorker a
 6129 |
 6130 |
 6131 |   export
 6132 |   getUserMedia :
 6133 |        {auto 0 _ : JSType t2}
 6134 |     -> {auto 0 _ : Elem MediaStreamConstraints (Types t2)}
 6135 |     -> (obj : Navigator)
 6136 |     -> (constraints : t2)
 6137 |     -> (successCallback : NavigatorUserMediaSuccessCallback)
 6138 |     -> (errorCallback : NavigatorUserMediaErrorCallback)
 6139 |     -> JSIO ()
 6140 |   getUserMedia a b c d = primJS $ Navigator.prim__getUserMedia a (up b) c d
 6141 |
 6142 |
 6143 |
 6144 | namespace OffscreenCanvas
 6145 |
 6146 |   export
 6147 |   new : (width : JSBits64) -> (height : JSBits64) -> JSIO OffscreenCanvas
 6148 |   new a b = primJS $ OffscreenCanvas.prim__new a b
 6149 |
 6150 |
 6151 |   export
 6152 |   height : OffscreenCanvas -> Attribute True Prelude.id JSBits64
 6153 |   height v = fromPrim "OffscreenCanvas.getheight" prim__height prim__setHeight v
 6154 |
 6155 |
 6156 |   export
 6157 |   width : OffscreenCanvas -> Attribute True Prelude.id JSBits64
 6158 |   width v = fromPrim "OffscreenCanvas.getwidth" prim__width prim__setWidth v
 6159 |
 6160 |
 6161 |   export
 6162 |   convertToBlob' :
 6163 |        {auto 0 _ : JSType t2}
 6164 |     -> {auto 0 _ : Elem ImageEncodeOptions (Types t2)}
 6165 |     -> (obj : OffscreenCanvas)
 6166 |     -> (options : Optional t2)
 6167 |     -> JSIO (Promise Blob)
 6168 |   convertToBlob' a b = primJS $ OffscreenCanvas.prim__convertToBlob a (optUp b)
 6169 |
 6170 |   export
 6171 |   convertToBlob : (obj : OffscreenCanvas) -> JSIO (Promise Blob)
 6172 |   convertToBlob a = primJS $ OffscreenCanvas.prim__convertToBlob a undef
 6173 |
 6174 |
 6175 |   export
 6176 |   getContext' :
 6177 |        (obj : OffscreenCanvas)
 6178 |     -> (contextId : OffscreenRenderingContextId)
 6179 |     -> (options : Optional Any)
 6180 |     -> JSIO
 6181 |          (Maybe
 6182 |             (HSum
 6183 |                [ OffscreenCanvasRenderingContext2D
 6184 |                , ImageBitmapRenderingContext
 6185 |                , WebGLRenderingContext
 6186 |                , WebGL2RenderingContext
 6187 |                ]))
 6188 |   getContext' a b c = tryJS "OffscreenCanvas.getContext'" $
 6189 |     OffscreenCanvas.prim__getContext a (toFFI b) (toFFI c)
 6190 |
 6191 |   export
 6192 |   getContext :
 6193 |        (obj : OffscreenCanvas)
 6194 |     -> (contextId : OffscreenRenderingContextId)
 6195 |     -> JSIO
 6196 |          (Maybe
 6197 |             (HSum
 6198 |                [ OffscreenCanvasRenderingContext2D
 6199 |                , ImageBitmapRenderingContext
 6200 |                , WebGLRenderingContext
 6201 |                , WebGL2RenderingContext
 6202 |                ]))
 6203 |   getContext a b = tryJS "OffscreenCanvas.getContext" $
 6204 |     OffscreenCanvas.prim__getContext a (toFFI b) undef
 6205 |
 6206 |
 6207 |   export
 6208 |   transferToImageBitmap : (obj : OffscreenCanvas) -> JSIO ImageBitmap
 6209 |   transferToImageBitmap a = primJS $
 6210 |     OffscreenCanvas.prim__transferToImageBitmap a
 6211 |
 6212 |
 6213 |
 6214 | namespace OffscreenCanvasRenderingContext2D
 6215 |
 6216 |   export
 6217 |   canvas : (obj : OffscreenCanvasRenderingContext2D) -> JSIO OffscreenCanvas
 6218 |   canvas a = primJS $ OffscreenCanvasRenderingContext2D.prim__canvas a
 6219 |
 6220 |
 6221 |   export
 6222 |   commit : (obj : OffscreenCanvasRenderingContext2D) -> JSIO ()
 6223 |   commit a = primJS $ OffscreenCanvasRenderingContext2D.prim__commit a
 6224 |
 6225 |
 6226 |
 6227 | namespace PageTransitionEvent
 6228 |
 6229 |   export
 6230 |   new' :
 6231 |        {auto 0 _ : JSType t2}
 6232 |     -> {auto 0 _ : Elem PageTransitionEventInit (Types t2)}
 6233 |     -> (type : String)
 6234 |     -> (eventInitDict : Optional t2)
 6235 |     -> JSIO PageTransitionEvent
 6236 |   new' a b = primJS $ PageTransitionEvent.prim__new a (optUp b)
 6237 |
 6238 |   export
 6239 |   new : (type : String) -> JSIO PageTransitionEvent
 6240 |   new a = primJS $ PageTransitionEvent.prim__new a undef
 6241 |
 6242 |
 6243 |   export
 6244 |   persisted : (obj : PageTransitionEvent) -> JSIO Bool
 6245 |   persisted a = tryJS "PageTransitionEvent.persisted" $
 6246 |     PageTransitionEvent.prim__persisted a
 6247 |
 6248 |
 6249 |
 6250 | namespace Path2D
 6251 |
 6252 |   export
 6253 |   new' : (path : Optional (HSum [Path2D, String])) -> JSIO Path2D
 6254 |   new' a = primJS $ Path2D.prim__new (toFFI a)
 6255 |
 6256 |   export
 6257 |   new : JSIO Path2D
 6258 |   new = primJS $ Path2D.prim__new undef
 6259 |
 6260 |
 6261 |   export
 6262 |   addPath' :
 6263 |        {auto 0 _ : JSType t3}
 6264 |     -> {auto 0 _ : Elem DOMMatrix2DInit (Types t3)}
 6265 |     -> (obj : Path2D)
 6266 |     -> (path : Path2D)
 6267 |     -> (transform : Optional t3)
 6268 |     -> JSIO ()
 6269 |   addPath' a b c = primJS $ Path2D.prim__addPath a b (optUp c)
 6270 |
 6271 |   export
 6272 |   addPath : (obj : Path2D) -> (path : Path2D) -> JSIO ()
 6273 |   addPath a b = primJS $ Path2D.prim__addPath a b undef
 6274 |
 6275 |
 6276 |
 6277 | namespace Plugin
 6278 |
 6279 |   export
 6280 |   description : (obj : Plugin) -> JSIO ()
 6281 |   description a = primJS $ Plugin.prim__description a
 6282 |
 6283 |
 6284 |   export
 6285 |   filename : (obj : Plugin) -> JSIO ()
 6286 |   filename a = primJS $ Plugin.prim__filename a
 6287 |
 6288 |
 6289 |   export
 6290 |   length : (obj : Plugin) -> JSIO ()
 6291 |   length a = primJS $ Plugin.prim__length a
 6292 |
 6293 |
 6294 |   export
 6295 |   name : (obj : Plugin) -> JSIO ()
 6296 |   name a = primJS $ Plugin.prim__name a
 6297 |
 6298 |
 6299 |   export
 6300 |   item : (obj : Plugin) -> (index : Bits32) -> JSIO ()
 6301 |   item a b = primJS $ Plugin.prim__item a b
 6302 |
 6303 |
 6304 |   export
 6305 |   namedItem : (obj : Plugin) -> (name : String) -> JSIO ()
 6306 |   namedItem a b = primJS $ Plugin.prim__namedItem a b
 6307 |
 6308 |
 6309 |
 6310 | namespace PluginArray
 6311 |
 6312 |   export
 6313 |   length : (obj : PluginArray) -> JSIO Bits32
 6314 |   length a = primJS $ PluginArray.prim__length a
 6315 |
 6316 |
 6317 |   export
 6318 |   item : (obj : PluginArray) -> (index : Bits32) -> JSIO (Maybe Object)
 6319 |   item a b = tryJS "PluginArray.item" $ PluginArray.prim__item a b
 6320 |
 6321 |
 6322 |   export
 6323 |   namedItem : (obj : PluginArray) -> (name : String) -> JSIO (Maybe Object)
 6324 |   namedItem a b = tryJS "PluginArray.namedItem" $
 6325 |     PluginArray.prim__namedItem a b
 6326 |
 6327 |
 6328 |   export
 6329 |   refresh : (obj : PluginArray) -> JSIO ()
 6330 |   refresh a = primJS $ PluginArray.prim__refresh a
 6331 |
 6332 |
 6333 |
 6334 | namespace PopStateEvent
 6335 |
 6336 |   export
 6337 |   new' :
 6338 |        {auto 0 _ : JSType t2}
 6339 |     -> {auto 0 _ : Elem PopStateEventInit (Types t2)}
 6340 |     -> (type : String)
 6341 |     -> (eventInitDict : Optional t2)
 6342 |     -> JSIO PopStateEvent
 6343 |   new' a b = primJS $ PopStateEvent.prim__new a (optUp b)
 6344 |
 6345 |   export
 6346 |   new : (type : String) -> JSIO PopStateEvent
 6347 |   new a = primJS $ PopStateEvent.prim__new a undef
 6348 |
 6349 |
 6350 |   export
 6351 |   state : (obj : PopStateEvent) -> JSIO Any
 6352 |   state a = tryJS "PopStateEvent.state" $ PopStateEvent.prim__state a
 6353 |
 6354 |
 6355 |
 6356 | namespace PromiseRejectionEvent
 6357 |
 6358 |   export
 6359 |   new :
 6360 |        {auto 0 _ : JSType t2}
 6361 |     -> {auto 0 _ : Elem PromiseRejectionEventInit (Types t2)}
 6362 |     -> (type : String)
 6363 |     -> (eventInitDict : t2)
 6364 |     -> JSIO PromiseRejectionEvent
 6365 |   new a b = primJS $ PromiseRejectionEvent.prim__new a (up b)
 6366 |
 6367 |
 6368 |   export
 6369 |   promise : (obj : PromiseRejectionEvent) -> JSIO (Promise AnyPtr)
 6370 |   promise a = primJS $ PromiseRejectionEvent.prim__promise a
 6371 |
 6372 |
 6373 |   export
 6374 |   reason : (obj : PromiseRejectionEvent) -> JSIO Any
 6375 |   reason a = tryJS "PromiseRejectionEvent.reason" $
 6376 |     PromiseRejectionEvent.prim__reason a
 6377 |
 6378 |
 6379 |
 6380 | namespace RadioNodeList
 6381 |
 6382 |   export
 6383 |   value : RadioNodeList -> Attribute True Prelude.id String
 6384 |   value v = fromPrim "RadioNodeList.getvalue" prim__value prim__setValue v
 6385 |
 6386 |
 6387 |
 6388 | namespace SharedWorker
 6389 |
 6390 |   export
 6391 |   new' :
 6392 |        (scriptURL : String)
 6393 |     -> (options : Optional (HSum [String, WorkerOptions]))
 6394 |     -> JSIO SharedWorker
 6395 |   new' a b = primJS $ SharedWorker.prim__new a (toFFI b)
 6396 |
 6397 |   export
 6398 |   new : (scriptURL : String) -> JSIO SharedWorker
 6399 |   new a = primJS $ SharedWorker.prim__new a undef
 6400 |
 6401 |
 6402 |   export
 6403 |   port : (obj : SharedWorker) -> JSIO MessagePort
 6404 |   port a = primJS $ SharedWorker.prim__port a
 6405 |
 6406 |
 6407 |
 6408 | namespace SharedWorkerGlobalScope
 6409 |
 6410 |   export
 6411 |   name : (obj : SharedWorkerGlobalScope) -> JSIO String
 6412 |   name a = primJS $ SharedWorkerGlobalScope.prim__name a
 6413 |
 6414 |
 6415 |   export
 6416 |   onconnect :
 6417 |        SharedWorkerGlobalScope
 6418 |     -> Attribute False Maybe EventHandlerNonNull
 6419 |   onconnect v = fromNullablePrim
 6420 |                   "SharedWorkerGlobalScope.getonconnect"
 6421 |                   prim__onconnect
 6422 |                   prim__setOnconnect
 6423 |                   v
 6424 |
 6425 |
 6426 |   export
 6427 |   close : (obj : SharedWorkerGlobalScope) -> JSIO ()
 6428 |   close a = primJS $ SharedWorkerGlobalScope.prim__close a
 6429 |
 6430 |
 6431 |
 6432 | namespace Storage
 6433 |
 6434 |   export
 6435 |   length : (obj : Storage) -> JSIO Bits32
 6436 |   length a = primJS $ Storage.prim__length a
 6437 |
 6438 |
 6439 |   export
 6440 |   clear : (obj : Storage) -> JSIO ()
 6441 |   clear a = primJS $ Storage.prim__clear a
 6442 |
 6443 |
 6444 |   export
 6445 |   getItem : (obj : Storage) -> (key : String) -> JSIO (Maybe String)
 6446 |   getItem a b = tryJS "Storage.getItem" $ Storage.prim__getItem a b
 6447 |
 6448 |
 6449 |   export
 6450 |   key : (obj : Storage) -> (index : Bits32) -> JSIO (Maybe String)
 6451 |   key a b = tryJS "Storage.key" $ Storage.prim__key a b
 6452 |
 6453 |
 6454 |   export
 6455 |   setItem : (obj : Storage) -> (key : String) -> (value : String) -> JSIO ()
 6456 |   setItem a b c = primJS $ Storage.prim__setItem a b c
 6457 |
 6458 |
 6459 |
 6460 | namespace StorageEvent
 6461 |
 6462 |   export
 6463 |   new' :
 6464 |        {auto 0 _ : JSType t2}
 6465 |     -> {auto 0 _ : Elem StorageEventInit (Types t2)}
 6466 |     -> (type : String)
 6467 |     -> (eventInitDict : Optional t2)
 6468 |     -> JSIO StorageEvent
 6469 |   new' a b = primJS $ StorageEvent.prim__new a (optUp b)
 6470 |
 6471 |   export
 6472 |   new : (type : String) -> JSIO StorageEvent
 6473 |   new a = primJS $ StorageEvent.prim__new a undef
 6474 |
 6475 |
 6476 |   export
 6477 |   key : (obj : StorageEvent) -> JSIO (Maybe String)
 6478 |   key a = tryJS "StorageEvent.key" $ StorageEvent.prim__key a
 6479 |
 6480 |
 6481 |   export
 6482 |   newValue : (obj : StorageEvent) -> JSIO (Maybe String)
 6483 |   newValue a = tryJS "StorageEvent.newValue" $ StorageEvent.prim__newValue a
 6484 |
 6485 |
 6486 |   export
 6487 |   oldValue : (obj : StorageEvent) -> JSIO (Maybe String)
 6488 |   oldValue a = tryJS "StorageEvent.oldValue" $ StorageEvent.prim__oldValue a
 6489 |
 6490 |
 6491 |   export
 6492 |   storageArea : (obj : StorageEvent) -> JSIO (Maybe Storage)
 6493 |   storageArea a = tryJS "StorageEvent.storageArea" $
 6494 |     StorageEvent.prim__storageArea a
 6495 |
 6496 |
 6497 |   export
 6498 |   url : (obj : StorageEvent) -> JSIO String
 6499 |   url a = primJS $ StorageEvent.prim__url a
 6500 |
 6501 |
 6502 |   export
 6503 |   initStorageEvent' :
 6504 |        (obj : StorageEvent)
 6505 |     -> (type : String)
 6506 |     -> (bubbles : Optional Bool)
 6507 |     -> (cancelable : Optional Bool)
 6508 |     -> (key : Optional (Maybe String))
 6509 |     -> (oldValue : Optional (Maybe String))
 6510 |     -> (newValue : Optional (Maybe String))
 6511 |     -> (url : Optional String)
 6512 |     -> (storageArea : Optional (Maybe Storage))
 6513 |     -> JSIO ()
 6514 |   initStorageEvent' a b c d e f g h i = primJS $
 6515 |     StorageEvent.prim__initStorageEvent
 6516 |       a
 6517 |       b
 6518 |       (toFFI c)
 6519 |       (toFFI d)
 6520 |       (toFFI e)
 6521 |       (toFFI f)
 6522 |       (toFFI g)
 6523 |       (toFFI h)
 6524 |       (toFFI i)
 6525 |
 6526 |   export
 6527 |   initStorageEvent : (obj : StorageEvent) -> (type : String) -> JSIO ()
 6528 |   initStorageEvent a b = primJS $
 6529 |     StorageEvent.prim__initStorageEvent
 6530 |       a
 6531 |       b
 6532 |       undef
 6533 |       undef
 6534 |       undef
 6535 |       undef
 6536 |       undef
 6537 |       undef
 6538 |       undef
 6539 |
 6540 |
 6541 |
 6542 | namespace SubmitEvent
 6543 |
 6544 |   export
 6545 |   new' :
 6546 |        {auto 0 _ : JSType t2}
 6547 |     -> {auto 0 _ : Elem SubmitEventInit (Types t2)}
 6548 |     -> (type : String)
 6549 |     -> (eventInitDict : Optional t2)
 6550 |     -> JSIO SubmitEvent
 6551 |   new' a b = primJS $ SubmitEvent.prim__new a (optUp b)
 6552 |
 6553 |   export
 6554 |   new : (type : String) -> JSIO SubmitEvent
 6555 |   new a = primJS $ SubmitEvent.prim__new a undef
 6556 |
 6557 |
 6558 |   export
 6559 |   submitter : (obj : SubmitEvent) -> JSIO (Maybe HTMLElement)
 6560 |   submitter a = tryJS "SubmitEvent.submitter" $ SubmitEvent.prim__submitter a
 6561 |
 6562 |
 6563 |
 6564 | namespace TextMetrics
 6565 |
 6566 |   export
 6567 |   actualBoundingBoxAscent : (obj : TextMetrics) -> JSIO Double
 6568 |   actualBoundingBoxAscent a = primJS $
 6569 |     TextMetrics.prim__actualBoundingBoxAscent a
 6570 |
 6571 |
 6572 |   export
 6573 |   actualBoundingBoxDescent : (obj : TextMetrics) -> JSIO Double
 6574 |   actualBoundingBoxDescent a = primJS $
 6575 |     TextMetrics.prim__actualBoundingBoxDescent a
 6576 |
 6577 |
 6578 |   export
 6579 |   actualBoundingBoxLeft : (obj : TextMetrics) -> JSIO Double
 6580 |   actualBoundingBoxLeft a = primJS $ TextMetrics.prim__actualBoundingBoxLeft a
 6581 |
 6582 |
 6583 |   export
 6584 |   actualBoundingBoxRight : (obj : TextMetrics) -> JSIO Double
 6585 |   actualBoundingBoxRight a = primJS $ TextMetrics.prim__actualBoundingBoxRight a
 6586 |
 6587 |
 6588 |   export
 6589 |   alphabeticBaseline : (obj : TextMetrics) -> JSIO Double
 6590 |   alphabeticBaseline a = primJS $ TextMetrics.prim__alphabeticBaseline a
 6591 |
 6592 |
 6593 |   export
 6594 |   emHeightAscent : (obj : TextMetrics) -> JSIO Double
 6595 |   emHeightAscent a = primJS $ TextMetrics.prim__emHeightAscent a
 6596 |
 6597 |
 6598 |   export
 6599 |   emHeightDescent : (obj : TextMetrics) -> JSIO Double
 6600 |   emHeightDescent a = primJS $ TextMetrics.prim__emHeightDescent a
 6601 |
 6602 |
 6603 |   export
 6604 |   fontBoundingBoxAscent : (obj : TextMetrics) -> JSIO Double
 6605 |   fontBoundingBoxAscent a = primJS $ TextMetrics.prim__fontBoundingBoxAscent a
 6606 |
 6607 |
 6608 |   export
 6609 |   fontBoundingBoxDescent : (obj : TextMetrics) -> JSIO Double
 6610 |   fontBoundingBoxDescent a = primJS $ TextMetrics.prim__fontBoundingBoxDescent a
 6611 |
 6612 |
 6613 |   export
 6614 |   hangingBaseline : (obj : TextMetrics) -> JSIO Double
 6615 |   hangingBaseline a = primJS $ TextMetrics.prim__hangingBaseline a
 6616 |
 6617 |
 6618 |   export
 6619 |   ideographicBaseline : (obj : TextMetrics) -> JSIO Double
 6620 |   ideographicBaseline a = primJS $ TextMetrics.prim__ideographicBaseline a
 6621 |
 6622 |
 6623 |   export
 6624 |   width : (obj : TextMetrics) -> JSIO Double
 6625 |   width a = primJS $ TextMetrics.prim__width a
 6626 |
 6627 |
 6628 |
 6629 | namespace TextTrack
 6630 |
 6631 |   export
 6632 |   activeCues : (obj : TextTrack) -> JSIO (Maybe TextTrackCueList)
 6633 |   activeCues a = tryJS "TextTrack.activeCues" $ TextTrack.prim__activeCues a
 6634 |
 6635 |
 6636 |   export
 6637 |   cues : (obj : TextTrack) -> JSIO (Maybe TextTrackCueList)
 6638 |   cues a = tryJS "TextTrack.cues" $ TextTrack.prim__cues a
 6639 |
 6640 |
 6641 |   export
 6642 |   id : (obj : TextTrack) -> JSIO String
 6643 |   id a = primJS $ TextTrack.prim__id a
 6644 |
 6645 |
 6646 |   export
 6647 |   inBandMetadataTrackDispatchType : (obj : TextTrack) -> JSIO String
 6648 |   inBandMetadataTrackDispatchType a = primJS $
 6649 |     TextTrack.prim__inBandMetadataTrackDispatchType a
 6650 |
 6651 |
 6652 |   export
 6653 |   kind : (obj : TextTrack) -> JSIO TextTrackKind
 6654 |   kind a = tryJS "TextTrack.kind" $ TextTrack.prim__kind a
 6655 |
 6656 |
 6657 |   export
 6658 |   label : (obj : TextTrack) -> JSIO String
 6659 |   label a = primJS $ TextTrack.prim__label a
 6660 |
 6661 |
 6662 |   export
 6663 |   language : (obj : TextTrack) -> JSIO String
 6664 |   language a = primJS $ TextTrack.prim__language a
 6665 |
 6666 |
 6667 |   export
 6668 |   mode : TextTrack -> Attribute True Prelude.id TextTrackMode
 6669 |   mode v = fromPrim "TextTrack.getmode" prim__mode prim__setMode v
 6670 |
 6671 |
 6672 |   export
 6673 |   oncuechange : TextTrack -> Attribute False Maybe EventHandlerNonNull
 6674 |   oncuechange v = fromNullablePrim
 6675 |                     "TextTrack.getoncuechange"
 6676 |                     prim__oncuechange
 6677 |                     prim__setOncuechange
 6678 |                     v
 6679 |
 6680 |
 6681 |   export
 6682 |   sourceBuffer : (obj : TextTrack) -> JSIO (Maybe SourceBuffer)
 6683 |   sourceBuffer a = tryJS "TextTrack.sourceBuffer" $
 6684 |     TextTrack.prim__sourceBuffer a
 6685 |
 6686 |
 6687 |   export
 6688 |   addCue : (obj : TextTrack) -> (cue : TextTrackCue) -> JSIO ()
 6689 |   addCue a b = primJS $ TextTrack.prim__addCue a b
 6690 |
 6691 |
 6692 |   export
 6693 |   removeCue : (obj : TextTrack) -> (cue : TextTrackCue) -> JSIO ()
 6694 |   removeCue a b = primJS $ TextTrack.prim__removeCue a b
 6695 |
 6696 |
 6697 |
 6698 | namespace TextTrackCue
 6699 |
 6700 |   export
 6701 |   endTime : TextTrackCue -> Attribute True Prelude.id Double
 6702 |   endTime v = fromPrim
 6703 |                 "TextTrackCue.getendTime"
 6704 |                 prim__endTime
 6705 |                 prim__setEndTime
 6706 |                 v
 6707 |
 6708 |
 6709 |   export
 6710 |   id : TextTrackCue -> Attribute True Prelude.id String
 6711 |   id v = fromPrim "TextTrackCue.getid" prim__id prim__setId v
 6712 |
 6713 |
 6714 |   export
 6715 |   onenter : TextTrackCue -> Attribute False Maybe EventHandlerNonNull
 6716 |   onenter v = fromNullablePrim
 6717 |                 "TextTrackCue.getonenter"
 6718 |                 prim__onenter
 6719 |                 prim__setOnenter
 6720 |                 v
 6721 |
 6722 |
 6723 |   export
 6724 |   onexit : TextTrackCue -> Attribute False Maybe EventHandlerNonNull
 6725 |   onexit v = fromNullablePrim
 6726 |                "TextTrackCue.getonexit"
 6727 |                prim__onexit
 6728 |                prim__setOnexit
 6729 |                v
 6730 |
 6731 |
 6732 |   export
 6733 |   pauseOnExit : TextTrackCue -> Attribute True Prelude.id Bool
 6734 |   pauseOnExit v = fromPrim
 6735 |                     "TextTrackCue.getpauseOnExit"
 6736 |                     prim__pauseOnExit
 6737 |                     prim__setPauseOnExit
 6738 |                     v
 6739 |
 6740 |
 6741 |   export
 6742 |   startTime : TextTrackCue -> Attribute True Prelude.id Double
 6743 |   startTime v = fromPrim
 6744 |                   "TextTrackCue.getstartTime"
 6745 |                   prim__startTime
 6746 |                   prim__setStartTime
 6747 |                   v
 6748 |
 6749 |
 6750 |   export
 6751 |   track : (obj : TextTrackCue) -> JSIO (Maybe TextTrack)
 6752 |   track a = tryJS "TextTrackCue.track" $ TextTrackCue.prim__track a
 6753 |
 6754 |
 6755 |
 6756 | namespace TextTrackCueList
 6757 |
 6758 |   export
 6759 |   get : (obj : TextTrackCueList) -> (index : Bits32) -> JSIO TextTrackCue
 6760 |   get a b = primJS $ TextTrackCueList.prim__get a b
 6761 |
 6762 |
 6763 |   export
 6764 |   length : (obj : TextTrackCueList) -> JSIO Bits32
 6765 |   length a = primJS $ TextTrackCueList.prim__length a
 6766 |
 6767 |
 6768 |   export
 6769 |   getCueById :
 6770 |        (obj : TextTrackCueList)
 6771 |     -> (id : String)
 6772 |     -> JSIO (Maybe TextTrackCue)
 6773 |   getCueById a b = tryJS "TextTrackCueList.getCueById" $
 6774 |     TextTrackCueList.prim__getCueById a b
 6775 |
 6776 |
 6777 |
 6778 | namespace TextTrackList
 6779 |
 6780 |   export
 6781 |   get : (obj : TextTrackList) -> (index : Bits32) -> JSIO TextTrack
 6782 |   get a b = primJS $ TextTrackList.prim__get a b
 6783 |
 6784 |
 6785 |   export
 6786 |   length : (obj : TextTrackList) -> JSIO Bits32
 6787 |   length a = primJS $ TextTrackList.prim__length a
 6788 |
 6789 |
 6790 |   export
 6791 |   onaddtrack : TextTrackList -> Attribute False Maybe EventHandlerNonNull
 6792 |   onaddtrack v = fromNullablePrim
 6793 |                    "TextTrackList.getonaddtrack"
 6794 |                    prim__onaddtrack
 6795 |                    prim__setOnaddtrack
 6796 |                    v
 6797 |
 6798 |
 6799 |   export
 6800 |   onchange : TextTrackList -> Attribute False Maybe EventHandlerNonNull
 6801 |   onchange v = fromNullablePrim
 6802 |                  "TextTrackList.getonchange"
 6803 |                  prim__onchange
 6804 |                  prim__setOnchange
 6805 |                  v
 6806 |
 6807 |
 6808 |   export
 6809 |   onremovetrack : TextTrackList -> Attribute False Maybe EventHandlerNonNull
 6810 |   onremovetrack v = fromNullablePrim
 6811 |                       "TextTrackList.getonremovetrack"
 6812 |                       prim__onremovetrack
 6813 |                       prim__setOnremovetrack
 6814 |                       v
 6815 |
 6816 |
 6817 |   export
 6818 |   getTrackById :
 6819 |        (obj : TextTrackList)
 6820 |     -> (id : String)
 6821 |     -> JSIO (Maybe TextTrack)
 6822 |   getTrackById a b = tryJS "TextTrackList.getTrackById" $
 6823 |     TextTrackList.prim__getTrackById a b
 6824 |
 6825 |
 6826 |
 6827 | namespace TimeRanges
 6828 |
 6829 |   export
 6830 |   length : (obj : TimeRanges) -> JSIO Bits32
 6831 |   length a = primJS $ TimeRanges.prim__length a
 6832 |
 6833 |
 6834 |   export
 6835 |   end : (obj : TimeRanges) -> (index : Bits32) -> JSIO Double
 6836 |   end a b = primJS $ TimeRanges.prim__end a b
 6837 |
 6838 |
 6839 |   export
 6840 |   start : (obj : TimeRanges) -> (index : Bits32) -> JSIO Double
 6841 |   start a b = primJS $ TimeRanges.prim__start a b
 6842 |
 6843 |
 6844 |
 6845 | namespace TrackEvent
 6846 |
 6847 |   export
 6848 |   new' :
 6849 |        {auto 0 _ : JSType t2}
 6850 |     -> {auto 0 _ : Elem TrackEventInit (Types t2)}
 6851 |     -> (type : String)
 6852 |     -> (eventInitDict : Optional t2)
 6853 |     -> JSIO TrackEvent
 6854 |   new' a b = primJS $ TrackEvent.prim__new a (optUp b)
 6855 |
 6856 |   export
 6857 |   new : (type : String) -> JSIO TrackEvent
 6858 |   new a = primJS $ TrackEvent.prim__new a undef
 6859 |
 6860 |
 6861 |   export
 6862 |   track :
 6863 |        (obj : TrackEvent)
 6864 |     -> JSIO (Maybe (HSum [VideoTrack, AudioTrack, TextTrack]))
 6865 |   track a = tryJS "TrackEvent.track" $ TrackEvent.prim__track a
 6866 |
 6867 |
 6868 |
 6869 | namespace ValidityState
 6870 |
 6871 |   export
 6872 |   badInput : (obj : ValidityState) -> JSIO Bool
 6873 |   badInput a = tryJS "ValidityState.badInput" $ ValidityState.prim__badInput a
 6874 |
 6875 |
 6876 |   export
 6877 |   customError : (obj : ValidityState) -> JSIO Bool
 6878 |   customError a = tryJS "ValidityState.customError" $
 6879 |     ValidityState.prim__customError a
 6880 |
 6881 |
 6882 |   export
 6883 |   patternMismatch : (obj : ValidityState) -> JSIO Bool
 6884 |   patternMismatch a = tryJS "ValidityState.patternMismatch" $
 6885 |     ValidityState.prim__patternMismatch a
 6886 |
 6887 |
 6888 |   export
 6889 |   rangeOverflow : (obj : ValidityState) -> JSIO Bool
 6890 |   rangeOverflow a = tryJS "ValidityState.rangeOverflow" $
 6891 |     ValidityState.prim__rangeOverflow a
 6892 |
 6893 |
 6894 |   export
 6895 |   rangeUnderflow : (obj : ValidityState) -> JSIO Bool
 6896 |   rangeUnderflow a = tryJS "ValidityState.rangeUnderflow" $
 6897 |     ValidityState.prim__rangeUnderflow a
 6898 |
 6899 |
 6900 |   export
 6901 |   stepMismatch : (obj : ValidityState) -> JSIO Bool
 6902 |   stepMismatch a = tryJS "ValidityState.stepMismatch" $
 6903 |     ValidityState.prim__stepMismatch a
 6904 |
 6905 |
 6906 |   export
 6907 |   tooLong : (obj : ValidityState) -> JSIO Bool
 6908 |   tooLong a = tryJS "ValidityState.tooLong" $ ValidityState.prim__tooLong a
 6909 |
 6910 |
 6911 |   export
 6912 |   tooShort : (obj : ValidityState) -> JSIO Bool
 6913 |   tooShort a = tryJS "ValidityState.tooShort" $ ValidityState.prim__tooShort a
 6914 |
 6915 |
 6916 |   export
 6917 |   typeMismatch : (obj : ValidityState) -> JSIO Bool
 6918 |   typeMismatch a = tryJS "ValidityState.typeMismatch" $
 6919 |     ValidityState.prim__typeMismatch a
 6920 |
 6921 |
 6922 |   export
 6923 |   valid : (obj : ValidityState) -> JSIO Bool
 6924 |   valid a = tryJS "ValidityState.valid" $ ValidityState.prim__valid a
 6925 |
 6926 |
 6927 |   export
 6928 |   valueMissing : (obj : ValidityState) -> JSIO Bool
 6929 |   valueMissing a = tryJS "ValidityState.valueMissing" $
 6930 |     ValidityState.prim__valueMissing a
 6931 |
 6932 |
 6933 |
 6934 | namespace VideoTrack
 6935 |
 6936 |   export
 6937 |   id : (obj : VideoTrack) -> JSIO String
 6938 |   id a = primJS $ VideoTrack.prim__id a
 6939 |
 6940 |
 6941 |   export
 6942 |   kind : (obj : VideoTrack) -> JSIO String
 6943 |   kind a = primJS $ VideoTrack.prim__kind a
 6944 |
 6945 |
 6946 |   export
 6947 |   label : (obj : VideoTrack) -> JSIO String
 6948 |   label a = primJS $ VideoTrack.prim__label a
 6949 |
 6950 |
 6951 |   export
 6952 |   language : (obj : VideoTrack) -> JSIO String
 6953 |   language a = primJS $ VideoTrack.prim__language a
 6954 |
 6955 |
 6956 |   export
 6957 |   selected : VideoTrack -> Attribute True Prelude.id Bool
 6958 |   selected v = fromPrim
 6959 |                  "VideoTrack.getselected"
 6960 |                  prim__selected
 6961 |                  prim__setSelected
 6962 |                  v
 6963 |
 6964 |
 6965 |   export
 6966 |   sourceBuffer : (obj : VideoTrack) -> JSIO (Maybe SourceBuffer)
 6967 |   sourceBuffer a = tryJS "VideoTrack.sourceBuffer" $
 6968 |     VideoTrack.prim__sourceBuffer a
 6969 |
 6970 |
 6971 |
 6972 | namespace VideoTrackList
 6973 |
 6974 |   export
 6975 |   get : (obj : VideoTrackList) -> (index : Bits32) -> JSIO VideoTrack
 6976 |   get a b = primJS $ VideoTrackList.prim__get a b
 6977 |
 6978 |
 6979 |   export
 6980 |   length : (obj : VideoTrackList) -> JSIO Bits32
 6981 |   length a = primJS $ VideoTrackList.prim__length a
 6982 |
 6983 |
 6984 |   export
 6985 |   onaddtrack : VideoTrackList -> Attribute False Maybe EventHandlerNonNull
 6986 |   onaddtrack v = fromNullablePrim
 6987 |                    "VideoTrackList.getonaddtrack"
 6988 |                    prim__onaddtrack
 6989 |                    prim__setOnaddtrack
 6990 |                    v
 6991 |
 6992 |
 6993 |   export
 6994 |   onchange : VideoTrackList -> Attribute False Maybe EventHandlerNonNull
 6995 |   onchange v = fromNullablePrim
 6996 |                  "VideoTrackList.getonchange"
 6997 |                  prim__onchange
 6998 |                  prim__setOnchange
 6999 |                  v
 7000 |
 7001 |
 7002 |   export
 7003 |   onremovetrack : VideoTrackList -> Attribute False Maybe EventHandlerNonNull
 7004 |   onremovetrack v = fromNullablePrim
 7005 |                       "VideoTrackList.getonremovetrack"
 7006 |                       prim__onremovetrack
 7007 |                       prim__setOnremovetrack
 7008 |                       v
 7009 |
 7010 |
 7011 |   export
 7012 |   selectedIndex : (obj : VideoTrackList) -> JSIO Int32
 7013 |   selectedIndex a = primJS $ VideoTrackList.prim__selectedIndex a
 7014 |
 7015 |
 7016 |   export
 7017 |   getTrackById :
 7018 |        (obj : VideoTrackList)
 7019 |     -> (id : String)
 7020 |     -> JSIO (Maybe VideoTrack)
 7021 |   getTrackById a b = tryJS "VideoTrackList.getTrackById" $
 7022 |     VideoTrackList.prim__getTrackById a b
 7023 |
 7024 |
 7025 |
 7026 | namespace WebSocket
 7027 |
 7028 |   public export
 7029 |   CLOSED : Bits16
 7030 |   CLOSED = 3
 7031 |
 7032 |
 7033 |   public export
 7034 |   CLOSING : Bits16
 7035 |   CLOSING = 2
 7036 |
 7037 |
 7038 |   public export
 7039 |   CONNECTING : Bits16
 7040 |   CONNECTING = 0
 7041 |
 7042 |
 7043 |   public export
 7044 |   OPEN : Bits16
 7045 |   OPEN = 1
 7046 |
 7047 |
 7048 |   export
 7049 |   new' :
 7050 |        (url : String)
 7051 |     -> (protocols : Optional (HSum [String, Array String]))
 7052 |     -> JSIO WebSocket
 7053 |   new' a b = primJS $ WebSocket.prim__new a (toFFI b)
 7054 |
 7055 |   export
 7056 |   new : (url : String) -> JSIO WebSocket
 7057 |   new a = primJS $ WebSocket.prim__new a undef
 7058 |
 7059 |
 7060 |   export
 7061 |   binaryType : WebSocket -> Attribute True Prelude.id BinaryType
 7062 |   binaryType v = fromPrim
 7063 |                    "WebSocket.getbinaryType"
 7064 |                    prim__binaryType
 7065 |                    prim__setBinaryType
 7066 |                    v
 7067 |
 7068 |
 7069 |   export
 7070 |   bufferedAmount : (obj : WebSocket) -> JSIO JSBits64
 7071 |   bufferedAmount a = primJS $ WebSocket.prim__bufferedAmount a
 7072 |
 7073 |
 7074 |   export
 7075 |   extensions : (obj : WebSocket) -> JSIO String
 7076 |   extensions a = primJS $ WebSocket.prim__extensions a
 7077 |
 7078 |
 7079 |   export
 7080 |   onclose : WebSocket -> Attribute False Maybe EventHandlerNonNull
 7081 |   onclose v = fromNullablePrim
 7082 |                 "WebSocket.getonclose"
 7083 |                 prim__onclose
 7084 |                 prim__setOnclose
 7085 |                 v
 7086 |
 7087 |
 7088 |   export
 7089 |   onerror : WebSocket -> Attribute False Maybe EventHandlerNonNull
 7090 |   onerror v = fromNullablePrim
 7091 |                 "WebSocket.getonerror"
 7092 |                 prim__onerror
 7093 |                 prim__setOnerror
 7094 |                 v
 7095 |
 7096 |
 7097 |   export
 7098 |   onmessage : WebSocket -> Attribute False Maybe EventHandlerNonNull
 7099 |   onmessage v = fromNullablePrim
 7100 |                   "WebSocket.getonmessage"
 7101 |                   prim__onmessage
 7102 |                   prim__setOnmessage
 7103 |                   v
 7104 |
 7105 |
 7106 |   export
 7107 |   onopen : WebSocket -> Attribute False Maybe EventHandlerNonNull
 7108 |   onopen v = fromNullablePrim
 7109 |                "WebSocket.getonopen"
 7110 |                prim__onopen
 7111 |                prim__setOnopen
 7112 |                v
 7113 |
 7114 |
 7115 |   export
 7116 |   protocol : (obj : WebSocket) -> JSIO String
 7117 |   protocol a = primJS $ WebSocket.prim__protocol a
 7118 |
 7119 |
 7120 |   export
 7121 |   readyState : (obj : WebSocket) -> JSIO Bits16
 7122 |   readyState a = primJS $ WebSocket.prim__readyState a
 7123 |
 7124 |
 7125 |   export
 7126 |   url : (obj : WebSocket) -> JSIO String
 7127 |   url a = primJS $ WebSocket.prim__url a
 7128 |
 7129 |
 7130 |   export
 7131 |   close' :
 7132 |        (obj : WebSocket)
 7133 |     -> (code : Optional Bits16)
 7134 |     -> (reason : Optional String)
 7135 |     -> JSIO ()
 7136 |   close' a b c = primJS $ WebSocket.prim__close a (toFFI b) (toFFI c)
 7137 |
 7138 |   export
 7139 |   close : (obj : WebSocket) -> JSIO ()
 7140 |   close a = primJS $ WebSocket.prim__close a undef undef
 7141 |
 7142 |
 7143 |   export
 7144 |   send : (obj : WebSocket) -> (data_ : String) -> JSIO ()
 7145 |   send a b = primJS $ WebSocket.prim__send a b
 7146 |
 7147 |
 7148 |   export
 7149 |   send1 :
 7150 |        {auto 0 _ : JSType t2}
 7151 |     -> {auto 0 _ : Elem Blob (Types t2)}
 7152 |     -> (obj : WebSocket)
 7153 |     -> (data_ : t2)
 7154 |     -> JSIO ()
 7155 |   send1 a b = primJS $ WebSocket.prim__send1 a (up b)
 7156 |
 7157 |
 7158 |   export
 7159 |   send2 : (obj : WebSocket) -> (data_ : ArrayBuffer) -> JSIO ()
 7160 |   send2 a b = primJS $ WebSocket.prim__send2 a b
 7161 |
 7162 |
 7163 |   export
 7164 |   send3 :
 7165 |        (obj : WebSocket)
 7166 |     -> (data_ : HSum
 7167 |                   [ Int8Array
 7168 |                   , Int16Array
 7169 |                   , Int32Array
 7170 |                   , UInt8Array
 7171 |                   , UInt8Array
 7172 |                   , UInt8Array
 7173 |                   , UInt8ClampedArray
 7174 |                   , Float32Array
 7175 |                   , Float64Array
 7176 |                   , DataView
 7177 |                   ])
 7178 |     -> JSIO ()
 7179 |   send3 a b = primJS $ WebSocket.prim__send3 a (toFFI b)
 7180 |
 7181 |
 7182 |
 7183 | namespace Window
 7184 |
 7185 |   export
 7186 |   get : (obj : Window) -> (name : String) -> JSIO Object
 7187 |   get a b = primJS $ Window.prim__get a b
 7188 |
 7189 |
 7190 |   export
 7191 |   closed : (obj : Window) -> JSIO Bool
 7192 |   closed a = tryJS "Window.closed" $ Window.prim__closed a
 7193 |
 7194 |
 7195 |   export
 7196 |   customElements : (obj : Window) -> JSIO CustomElementRegistry
 7197 |   customElements a = primJS $ Window.prim__customElements a
 7198 |
 7199 |
 7200 |   export
 7201 |   devicePixelRatio : (obj : Window) -> JSIO Double
 7202 |   devicePixelRatio a = primJS $ Window.prim__devicePixelRatio a
 7203 |
 7204 |
 7205 |   export
 7206 |   document : (obj : Window) -> JSIO Document
 7207 |   document a = primJS $ Window.prim__document a
 7208 |
 7209 |
 7210 |   export
 7211 |   event : (obj : Window) -> JSIO (HSum [Event, Undefined])
 7212 |   event a = tryJS "Window.event" $ Window.prim__event a
 7213 |
 7214 |
 7215 |   export
 7216 |   external : (obj : Window) -> JSIO External
 7217 |   external a = primJS $ Window.prim__external a
 7218 |
 7219 |
 7220 |   export
 7221 |   frameElement : (obj : Window) -> JSIO (Maybe Element)
 7222 |   frameElement a = tryJS "Window.frameElement" $ Window.prim__frameElement a
 7223 |
 7224 |
 7225 |   export
 7226 |   frames : (obj : Window) -> JSIO WindowProxy
 7227 |   frames a = primJS $ Window.prim__frames a
 7228 |
 7229 |
 7230 |   export
 7231 |   history : (obj : Window) -> JSIO History
 7232 |   history a = primJS $ Window.prim__history a
 7233 |
 7234 |
 7235 |   export
 7236 |   innerHeight : (obj : Window) -> JSIO Int32
 7237 |   innerHeight a = primJS $ Window.prim__innerHeight a
 7238 |
 7239 |
 7240 |   export
 7241 |   innerWidth : (obj : Window) -> JSIO Int32
 7242 |   innerWidth a = primJS $ Window.prim__innerWidth a
 7243 |
 7244 |
 7245 |   export
 7246 |   length : (obj : Window) -> JSIO Bits32
 7247 |   length a = primJS $ Window.prim__length a
 7248 |
 7249 |
 7250 |   export
 7251 |   location : (obj : Window) -> JSIO Location
 7252 |   location a = primJS $ Window.prim__location a
 7253 |
 7254 |
 7255 |   export
 7256 |   locationbar : (obj : Window) -> JSIO BarProp
 7257 |   locationbar a = primJS $ Window.prim__locationbar a
 7258 |
 7259 |
 7260 |   export
 7261 |   menubar : (obj : Window) -> JSIO BarProp
 7262 |   menubar a = primJS $ Window.prim__menubar a
 7263 |
 7264 |
 7265 |   export
 7266 |   name : Window -> Attribute True Prelude.id String
 7267 |   name v = fromPrim "Window.getname" prim__name prim__setName v
 7268 |
 7269 |
 7270 |   export
 7271 |   navigator : (obj : Window) -> JSIO Navigator
 7272 |   navigator a = primJS $ Window.prim__navigator a
 7273 |
 7274 |
 7275 |   export
 7276 |   opener : Window -> Attribute True Prelude.id Any
 7277 |   opener v = fromPrim "Window.getopener" prim__opener prim__setOpener v
 7278 |
 7279 |
 7280 |   export
 7281 |   originAgentCluster : (obj : Window) -> JSIO Bool
 7282 |   originAgentCluster a = tryJS "Window.originAgentCluster" $
 7283 |     Window.prim__originAgentCluster a
 7284 |
 7285 |
 7286 |   export
 7287 |   outerHeight : (obj : Window) -> JSIO Int32
 7288 |   outerHeight a = primJS $ Window.prim__outerHeight a
 7289 |
 7290 |
 7291 |   export
 7292 |   outerWidth : (obj : Window) -> JSIO Int32
 7293 |   outerWidth a = primJS $ Window.prim__outerWidth a
 7294 |
 7295 |
 7296 |   export
 7297 |   pageXOffset : (obj : Window) -> JSIO Double
 7298 |   pageXOffset a = primJS $ Window.prim__pageXOffset a
 7299 |
 7300 |
 7301 |   export
 7302 |   pageYOffset : (obj : Window) -> JSIO Double
 7303 |   pageYOffset a = primJS $ Window.prim__pageYOffset a
 7304 |
 7305 |
 7306 |   export
 7307 |   parent : (obj : Window) -> JSIO (Maybe WindowProxy)
 7308 |   parent a = tryJS "Window.parent" $ Window.prim__parent a
 7309 |
 7310 |
 7311 |   export
 7312 |   personalbar : (obj : Window) -> JSIO BarProp
 7313 |   personalbar a = primJS $ Window.prim__personalbar a
 7314 |
 7315 |
 7316 |   export
 7317 |   screen : (obj : Window) -> JSIO Screen
 7318 |   screen a = primJS $ Window.prim__screen a
 7319 |
 7320 |
 7321 |   export
 7322 |   screenLeft : (obj : Window) -> JSIO Int32
 7323 |   screenLeft a = primJS $ Window.prim__screenLeft a
 7324 |
 7325 |
 7326 |   export
 7327 |   screenTop : (obj : Window) -> JSIO Int32
 7328 |   screenTop a = primJS $ Window.prim__screenTop a
 7329 |
 7330 |
 7331 |   export
 7332 |   screenX : (obj : Window) -> JSIO Int32
 7333 |   screenX a = primJS $ Window.prim__screenX a
 7334 |
 7335 |
 7336 |   export
 7337 |   screenY : (obj : Window) -> JSIO Int32
 7338 |   screenY a = primJS $ Window.prim__screenY a
 7339 |
 7340 |
 7341 |   export
 7342 |   scrollX : (obj : Window) -> JSIO Double
 7343 |   scrollX a = primJS $ Window.prim__scrollX a
 7344 |
 7345 |
 7346 |   export
 7347 |   scrollY : (obj : Window) -> JSIO Double
 7348 |   scrollY a = primJS $ Window.prim__scrollY a
 7349 |
 7350 |
 7351 |   export
 7352 |   scrollbars : (obj : Window) -> JSIO BarProp
 7353 |   scrollbars a = primJS $ Window.prim__scrollbars a
 7354 |
 7355 |
 7356 |   export
 7357 |   self : (obj : Window) -> JSIO WindowProxy
 7358 |   self a = primJS $ Window.prim__self a
 7359 |
 7360 |
 7361 |   export
 7362 |   status : Window -> Attribute True Prelude.id String
 7363 |   status v = fromPrim "Window.getstatus" prim__status prim__setStatus v
 7364 |
 7365 |
 7366 |   export
 7367 |   statusbar : (obj : Window) -> JSIO BarProp
 7368 |   statusbar a = primJS $ Window.prim__statusbar a
 7369 |
 7370 |
 7371 |   export
 7372 |   toolbar : (obj : Window) -> JSIO BarProp
 7373 |   toolbar a = primJS $ Window.prim__toolbar a
 7374 |
 7375 |
 7376 |   export
 7377 |   top : (obj : Window) -> JSIO (Maybe WindowProxy)
 7378 |   top a = tryJS "Window.top" $ Window.prim__top a
 7379 |
 7380 |
 7381 |   export
 7382 |   visualViewport : (obj : Window) -> JSIO (Maybe VisualViewport)
 7383 |   visualViewport a = tryJS "Window.visualViewport" $
 7384 |     Window.prim__visualViewport a
 7385 |
 7386 |
 7387 |   export
 7388 |   window : (obj : Window) -> JSIO WindowProxy
 7389 |   window a = primJS $ Window.prim__window a
 7390 |
 7391 |
 7392 |   export
 7393 |   alert : (obj : Window) -> JSIO ()
 7394 |   alert a = primJS $ Window.prim__alert a
 7395 |
 7396 |
 7397 |   export
 7398 |   alert1 : (obj : Window) -> (message : String) -> JSIO ()
 7399 |   alert1 a b = primJS $ Window.prim__alert1 a b
 7400 |
 7401 |
 7402 |   export
 7403 |   blur : (obj : Window) -> JSIO ()
 7404 |   blur a = primJS $ Window.prim__blur a
 7405 |
 7406 |
 7407 |   export
 7408 |   captureEvents : (obj : Window) -> JSIO ()
 7409 |   captureEvents a = primJS $ Window.prim__captureEvents a
 7410 |
 7411 |
 7412 |   export
 7413 |   close : (obj : Window) -> JSIO ()
 7414 |   close a = primJS $ Window.prim__close a
 7415 |
 7416 |
 7417 |   export
 7418 |   confirm' : (obj : Window) -> (message : Optional String) -> JSIO Bool
 7419 |   confirm' a b = tryJS "Window.confirm'" $ Window.prim__confirm a (toFFI b)
 7420 |
 7421 |   export
 7422 |   confirm : (obj : Window) -> JSIO Bool
 7423 |   confirm a = tryJS "Window.confirm" $ Window.prim__confirm a undef
 7424 |
 7425 |
 7426 |   export
 7427 |   focus : (obj : Window) -> JSIO ()
 7428 |   focus a = primJS $ Window.prim__focus a
 7429 |
 7430 |
 7431 |   export
 7432 |   getComputedStyle' :
 7433 |        {auto 0 _ : JSType t2}
 7434 |     -> {auto 0 _ : Elem Element (Types t2)}
 7435 |     -> (obj : Window)
 7436 |     -> (elt : t2)
 7437 |     -> (pseudoElt : Optional (Maybe String))
 7438 |     -> JSIO CSSStyleDeclaration
 7439 |   getComputedStyle' a b c = primJS $
 7440 |     Window.prim__getComputedStyle a (up b) (toFFI c)
 7441 |
 7442 |   export
 7443 |   getComputedStyle :
 7444 |        {auto 0 _ : JSType t2}
 7445 |     -> {auto 0 _ : Elem Element (Types t2)}
 7446 |     -> (obj : Window)
 7447 |     -> (elt : t2)
 7448 |     -> JSIO CSSStyleDeclaration
 7449 |   getComputedStyle a b = primJS $ Window.prim__getComputedStyle a (up b) undef
 7450 |
 7451 |
 7452 |   export
 7453 |   matchMedia : (obj : Window) -> (query : String) -> JSIO MediaQueryList
 7454 |   matchMedia a b = primJS $ Window.prim__matchMedia a b
 7455 |
 7456 |
 7457 |   export
 7458 |   moveBy : (obj : Window) -> (x : Int32) -> (y : Int32) -> JSIO ()
 7459 |   moveBy a b c = primJS $ Window.prim__moveBy a b c
 7460 |
 7461 |
 7462 |   export
 7463 |   moveTo : (obj : Window) -> (x : Int32) -> (y : Int32) -> JSIO ()
 7464 |   moveTo a b c = primJS $ Window.prim__moveTo a b c
 7465 |
 7466 |
 7467 |   export
 7468 |   open' :
 7469 |        (obj : Window)
 7470 |     -> (url : Optional String)
 7471 |     -> (target : Optional String)
 7472 |     -> (features : Optional String)
 7473 |     -> JSIO (Maybe WindowProxy)
 7474 |   open' a b c d = tryJS "Window.open'" $
 7475 |     Window.prim__open a (toFFI b) (toFFI c) (toFFI d)
 7476 |
 7477 |   export
 7478 |   open_ : (obj : Window) -> JSIO (Maybe WindowProxy)
 7479 |   open_ a = tryJS "Window.open_" $ Window.prim__open a undef undef undef
 7480 |
 7481 |
 7482 |   export
 7483 |   postMessage' :
 7484 |        (obj : Window)
 7485 |     -> (message : Any)
 7486 |     -> (targetOrigin : String)
 7487 |     -> (transfer : Optional (Array Object))
 7488 |     -> JSIO ()
 7489 |   postMessage' a b c d = primJS $
 7490 |     Window.prim__postMessage a (toFFI b) c (toFFI d)
 7491 |
 7492 |   export
 7493 |   postMessage :
 7494 |        (obj : Window)
 7495 |     -> (message : Any)
 7496 |     -> (targetOrigin : String)
 7497 |     -> JSIO ()
 7498 |   postMessage a b c = primJS $ Window.prim__postMessage a (toFFI b) c undef
 7499 |
 7500 |
 7501 |   export
 7502 |   postMessage1' :
 7503 |        {auto 0 _ : JSType t3}
 7504 |     -> {auto 0 _ : Elem WindowPostMessageOptions (Types t3)}
 7505 |     -> (obj : Window)
 7506 |     -> (message : Any)
 7507 |     -> (options : Optional t3)
 7508 |     -> JSIO ()
 7509 |   postMessage1' a b c = primJS $ Window.prim__postMessage1 a (toFFI b) (optUp c)
 7510 |
 7511 |   export
 7512 |   postMessage1 : (obj : Window) -> (message : Any) -> JSIO ()
 7513 |   postMessage1 a b = primJS $ Window.prim__postMessage1 a (toFFI b) undef
 7514 |
 7515 |
 7516 |   export
 7517 |   print : (obj : Window) -> JSIO ()
 7518 |   print a = primJS $ Window.prim__print a
 7519 |
 7520 |
 7521 |   export
 7522 |   prompt' :
 7523 |        (obj : Window)
 7524 |     -> (message : Optional String)
 7525 |     -> (default_ : Optional String)
 7526 |     -> JSIO (Maybe String)
 7527 |   prompt' a b c = tryJS "Window.prompt'" $
 7528 |     Window.prim__prompt a (toFFI b) (toFFI c)
 7529 |
 7530 |   export
 7531 |   prompt : (obj : Window) -> JSIO (Maybe String)
 7532 |   prompt a = tryJS "Window.prompt" $ Window.prim__prompt a undef undef
 7533 |
 7534 |
 7535 |   export
 7536 |   releaseEvents : (obj : Window) -> JSIO ()
 7537 |   releaseEvents a = primJS $ Window.prim__releaseEvents a
 7538 |
 7539 |
 7540 |   export
 7541 |   resizeBy : (obj : Window) -> (x : Int32) -> (y : Int32) -> JSIO ()
 7542 |   resizeBy a b c = primJS $ Window.prim__resizeBy a b c
 7543 |
 7544 |
 7545 |   export
 7546 |   resizeTo : (obj : Window) -> (width : Int32) -> (height : Int32) -> JSIO ()
 7547 |   resizeTo a b c = primJS $ Window.prim__resizeTo a b c
 7548 |
 7549 |
 7550 |   export
 7551 |   scrollBy' :
 7552 |        {auto 0 _ : JSType t2}
 7553 |     -> {auto 0 _ : Elem ScrollToOptions (Types t2)}
 7554 |     -> (obj : Window)
 7555 |     -> (options : Optional t2)
 7556 |     -> JSIO ()
 7557 |   scrollBy' a b = primJS $ Window.prim__scrollBy a (optUp b)
 7558 |
 7559 |   export
 7560 |   scrollBy : (obj : Window) -> JSIO ()
 7561 |   scrollBy a = primJS $ Window.prim__scrollBy a undef
 7562 |
 7563 |
 7564 |   export
 7565 |   scrollBy1 : (obj : Window) -> (x : Double) -> (y : Double) -> JSIO ()
 7566 |   scrollBy1 a b c = primJS $ Window.prim__scrollBy1 a b c
 7567 |
 7568 |
 7569 |   export
 7570 |   scrollTo' :
 7571 |        {auto 0 _ : JSType t2}
 7572 |     -> {auto 0 _ : Elem ScrollToOptions (Types t2)}
 7573 |     -> (obj : Window)
 7574 |     -> (options : Optional t2)
 7575 |     -> JSIO ()
 7576 |   scrollTo' a b = primJS $ Window.prim__scrollTo a (optUp b)
 7577 |
 7578 |   export
 7579 |   scrollTo : (obj : Window) -> JSIO ()
 7580 |   scrollTo a = primJS $ Window.prim__scrollTo a undef
 7581 |
 7582 |
 7583 |   export
 7584 |   scrollTo1 : (obj : Window) -> (x : Double) -> (y : Double) -> JSIO ()
 7585 |   scrollTo1 a b c = primJS $ Window.prim__scrollTo1 a b c
 7586 |
 7587 |
 7588 |   export
 7589 |   scroll' :
 7590 |        {auto 0 _ : JSType t2}
 7591 |     -> {auto 0 _ : Elem ScrollToOptions (Types t2)}
 7592 |     -> (obj : Window)
 7593 |     -> (options : Optional t2)
 7594 |     -> JSIO ()
 7595 |   scroll' a b = primJS $ Window.prim__scroll a (optUp b)
 7596 |
 7597 |   export
 7598 |   scroll : (obj : Window) -> JSIO ()
 7599 |   scroll a = primJS $ Window.prim__scroll a undef
 7600 |
 7601 |
 7602 |   export
 7603 |   scroll1 : (obj : Window) -> (x : Double) -> (y : Double) -> JSIO ()
 7604 |   scroll1 a b c = primJS $ Window.prim__scroll1 a b c
 7605 |
 7606 |
 7607 |   export
 7608 |   stop : (obj : Window) -> JSIO ()
 7609 |   stop a = primJS $ Window.prim__stop a
 7610 |
 7611 |
 7612 |
 7613 | namespace Worker
 7614 |
 7615 |   export
 7616 |   new' :
 7617 |        {auto 0 _ : JSType t2}
 7618 |     -> {auto 0 _ : Elem WorkerOptions (Types t2)}
 7619 |     -> (scriptURL : String)
 7620 |     -> (options : Optional t2)
 7621 |     -> JSIO Worker
 7622 |   new' a b = primJS $ Worker.prim__new a (optUp b)
 7623 |
 7624 |   export
 7625 |   new : (scriptURL : String) -> JSIO Worker
 7626 |   new a = primJS $ Worker.prim__new a undef
 7627 |
 7628 |
 7629 |   export
 7630 |   onmessage : Worker -> Attribute False Maybe EventHandlerNonNull
 7631 |   onmessage v = fromNullablePrim
 7632 |                   "Worker.getonmessage"
 7633 |                   prim__onmessage
 7634 |                   prim__setOnmessage
 7635 |                   v
 7636 |
 7637 |
 7638 |   export
 7639 |   onmessageerror : Worker -> Attribute False Maybe EventHandlerNonNull
 7640 |   onmessageerror v = fromNullablePrim
 7641 |                        "Worker.getonmessageerror"
 7642 |                        prim__onmessageerror
 7643 |                        prim__setOnmessageerror
 7644 |                        v
 7645 |
 7646 |
 7647 |   export
 7648 |   postMessage :
 7649 |        (obj : Worker)
 7650 |     -> (message : Any)
 7651 |     -> (transfer : Array Object)
 7652 |     -> JSIO ()
 7653 |   postMessage a b c = primJS $ Worker.prim__postMessage a (toFFI b) c
 7654 |
 7655 |
 7656 |   export
 7657 |   postMessage1' :
 7658 |        {auto 0 _ : JSType t3}
 7659 |     -> {auto 0 _ : Elem PostMessageOptions (Types t3)}
 7660 |     -> (obj : Worker)
 7661 |     -> (message : Any)
 7662 |     -> (options : Optional t3)
 7663 |     -> JSIO ()
 7664 |   postMessage1' a b c = primJS $ Worker.prim__postMessage1 a (toFFI b) (optUp c)
 7665 |
 7666 |   export
 7667 |   postMessage1 : (obj : Worker) -> (message : Any) -> JSIO ()
 7668 |   postMessage1 a b = primJS $ Worker.prim__postMessage1 a (toFFI b) undef
 7669 |
 7670 |
 7671 |   export
 7672 |   terminate : (obj : Worker) -> JSIO ()
 7673 |   terminate a = primJS $ Worker.prim__terminate a
 7674 |
 7675 |
 7676 |
 7677 | namespace WorkerGlobalScope
 7678 |
 7679 |   export
 7680 |   location :
 7681 |        {auto 0 _ : JSType t1}
 7682 |     -> {auto 0 _ : Elem WorkerGlobalScope (Types t1)}
 7683 |     -> (obj : t1)
 7684 |     -> JSIO WorkerLocation
 7685 |   location a = primJS $ WorkerGlobalScope.prim__location (up a)
 7686 |
 7687 |
 7688 |   export
 7689 |   navigator :
 7690 |        {auto 0 _ : JSType t1}
 7691 |     -> {auto 0 _ : Elem WorkerGlobalScope (Types t1)}
 7692 |     -> (obj : t1)
 7693 |     -> JSIO WorkerNavigator
 7694 |   navigator a = primJS $ WorkerGlobalScope.prim__navigator (up a)
 7695 |
 7696 |
 7697 |   export
 7698 |   onerror :
 7699 |        {auto 0 _ : JSType t}
 7700 |     -> {auto 0 _ : Elem WorkerGlobalScope (Types t)}
 7701 |     -> t
 7702 |     -> Attribute False Maybe OnErrorEventHandlerNonNull
 7703 |   onerror v = fromNullablePrim
 7704 |                 "WorkerGlobalScope.getonerror"
 7705 |                 prim__onerror
 7706 |                 prim__setOnerror
 7707 |                 (v :> WorkerGlobalScope)
 7708 |
 7709 |
 7710 |   export
 7711 |   onlanguagechange :
 7712 |        {auto 0 _ : JSType t}
 7713 |     -> {auto 0 _ : Elem WorkerGlobalScope (Types t)}
 7714 |     -> t
 7715 |     -> Attribute False Maybe EventHandlerNonNull
 7716 |   onlanguagechange v = fromNullablePrim
 7717 |                          "WorkerGlobalScope.getonlanguagechange"
 7718 |                          prim__onlanguagechange
 7719 |                          prim__setOnlanguagechange
 7720 |                          (v :> WorkerGlobalScope)
 7721 |
 7722 |
 7723 |   export
 7724 |   onoffline :
 7725 |        {auto 0 _ : JSType t}
 7726 |     -> {auto 0 _ : Elem WorkerGlobalScope (Types t)}
 7727 |     -> t
 7728 |     -> Attribute False Maybe EventHandlerNonNull
 7729 |   onoffline v = fromNullablePrim
 7730 |                   "WorkerGlobalScope.getonoffline"
 7731 |                   prim__onoffline
 7732 |                   prim__setOnoffline
 7733 |                   (v :> WorkerGlobalScope)
 7734 |
 7735 |
 7736 |   export
 7737 |   ononline :
 7738 |        {auto 0 _ : JSType t}
 7739 |     -> {auto 0 _ : Elem WorkerGlobalScope (Types t)}
 7740 |     -> t
 7741 |     -> Attribute False Maybe EventHandlerNonNull
 7742 |   ononline v = fromNullablePrim
 7743 |                  "WorkerGlobalScope.getononline"
 7744 |                  prim__ononline
 7745 |                  prim__setOnonline
 7746 |                  (v :> WorkerGlobalScope)
 7747 |
 7748 |
 7749 |   export
 7750 |   onrejectionhandled :
 7751 |        {auto 0 _ : JSType t}
 7752 |     -> {auto 0 _ : Elem WorkerGlobalScope (Types t)}
 7753 |     -> t
 7754 |     -> Attribute False Maybe EventHandlerNonNull
 7755 |   onrejectionhandled v = fromNullablePrim
 7756 |                            "WorkerGlobalScope.getonrejectionhandled"
 7757 |                            prim__onrejectionhandled
 7758 |                            prim__setOnrejectionhandled
 7759 |                            (v :> WorkerGlobalScope)
 7760 |
 7761 |
 7762 |   export
 7763 |   onunhandledrejection :
 7764 |        {auto 0 _ : JSType t}
 7765 |     -> {auto 0 _ : Elem WorkerGlobalScope (Types t)}
 7766 |     -> t
 7767 |     -> Attribute False Maybe EventHandlerNonNull
 7768 |   onunhandledrejection v = fromNullablePrim
 7769 |                              "WorkerGlobalScope.getonunhandledrejection"
 7770 |                              prim__onunhandledrejection
 7771 |                              prim__setOnunhandledrejection
 7772 |                              (v :> WorkerGlobalScope)
 7773 |
 7774 |
 7775 |   export
 7776 |   self :
 7777 |        {auto 0 _ : JSType t1}
 7778 |     -> {auto 0 _ : Elem WorkerGlobalScope (Types t1)}
 7779 |     -> (obj : t1)
 7780 |     -> JSIO WorkerGlobalScope
 7781 |   self a = primJS $ WorkerGlobalScope.prim__self (up a)
 7782 |
 7783 |
 7784 |   export
 7785 |   importScripts :
 7786 |        {auto 0 _ : JSType t1}
 7787 |     -> {auto 0 _ : Elem WorkerGlobalScope (Types t1)}
 7788 |     -> (obj : t1)
 7789 |     -> (urls : List String)
 7790 |     -> JSIO ()
 7791 |   importScripts a b = primJS $
 7792 |     WorkerGlobalScope.prim__importScripts (up a) (toFFI b)
 7793 |
 7794 |
 7795 |
 7796 | namespace WorkerLocation
 7797 |
 7798 |   export
 7799 |   hash : (obj : WorkerLocation) -> JSIO String
 7800 |   hash a = primJS $ WorkerLocation.prim__hash a
 7801 |
 7802 |
 7803 |   export
 7804 |   host : (obj : WorkerLocation) -> JSIO String
 7805 |   host a = primJS $ WorkerLocation.prim__host a
 7806 |
 7807 |
 7808 |   export
 7809 |   hostname : (obj : WorkerLocation) -> JSIO String
 7810 |   hostname a = primJS $ WorkerLocation.prim__hostname a
 7811 |
 7812 |
 7813 |   export
 7814 |   href : (obj : WorkerLocation) -> JSIO String
 7815 |   href a = primJS $ WorkerLocation.prim__href a
 7816 |
 7817 |
 7818 |   export
 7819 |   origin : (obj : WorkerLocation) -> JSIO String
 7820 |   origin a = primJS $ WorkerLocation.prim__origin a
 7821 |
 7822 |
 7823 |   export
 7824 |   pathname : (obj : WorkerLocation) -> JSIO String
 7825 |   pathname a = primJS $ WorkerLocation.prim__pathname a
 7826 |
 7827 |
 7828 |   export
 7829 |   port : (obj : WorkerLocation) -> JSIO String
 7830 |   port a = primJS $ WorkerLocation.prim__port a
 7831 |
 7832 |
 7833 |   export
 7834 |   protocol : (obj : WorkerLocation) -> JSIO String
 7835 |   protocol a = primJS $ WorkerLocation.prim__protocol a
 7836 |
 7837 |
 7838 |   export
 7839 |   search : (obj : WorkerLocation) -> JSIO String
 7840 |   search a = primJS $ WorkerLocation.prim__search a
 7841 |
 7842 |
 7843 |
 7844 | namespace WorkerNavigator
 7845 |
 7846 |   export
 7847 |   permissions : (obj : WorkerNavigator) -> JSIO Permissions
 7848 |   permissions a = primJS $ WorkerNavigator.prim__permissions a
 7849 |
 7850 |
 7851 |   export
 7852 |   serviceWorker : (obj : WorkerNavigator) -> JSIO ServiceWorkerContainer
 7853 |   serviceWorker a = primJS $ WorkerNavigator.prim__serviceWorker a
 7854 |
 7855 |
 7856 |
 7857 | namespace Worklet
 7858 |
 7859 |   export
 7860 |   addModule' :
 7861 |        {auto 0 _ : JSType t3}
 7862 |     -> {auto 0 _ : Elem WorkletOptions (Types t3)}
 7863 |     -> (obj : Worklet)
 7864 |     -> (moduleURL : String)
 7865 |     -> (options : Optional t3)
 7866 |     -> JSIO (Promise Undefined)
 7867 |   addModule' a b c = primJS $ Worklet.prim__addModule a b (optUp c)
 7868 |
 7869 |   export
 7870 |   addModule :
 7871 |        (obj : Worklet)
 7872 |     -> (moduleURL : String)
 7873 |     -> JSIO (Promise Undefined)
 7874 |   addModule a b = primJS $ Worklet.prim__addModule a b undef
 7875 |
 7876 |
 7877 |
 7878 |
 7879 |
 7880 | --------------------------------------------------------------------------------
 7881 | --          Mixins
 7882 | --------------------------------------------------------------------------------
 7883 |
 7884 | namespace ARIAMixin
 7885 |
 7886 |   export
 7887 |   ariaAtomic :
 7888 |        {auto 0 _ : JSType t}
 7889 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 7890 |     -> t
 7891 |     -> Attribute True Prelude.id String
 7892 |   ariaAtomic v = fromPrim
 7893 |                    "ARIAMixin.getariaAtomic"
 7894 |                    prim__ariaAtomic
 7895 |                    prim__setAriaAtomic
 7896 |                    (v :> ARIAMixin)
 7897 |
 7898 |
 7899 |   export
 7900 |   ariaAutoComplete :
 7901 |        {auto 0 _ : JSType t}
 7902 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 7903 |     -> t
 7904 |     -> Attribute True Prelude.id String
 7905 |   ariaAutoComplete v = fromPrim
 7906 |                          "ARIAMixin.getariaAutoComplete"
 7907 |                          prim__ariaAutoComplete
 7908 |                          prim__setAriaAutoComplete
 7909 |                          (v :> ARIAMixin)
 7910 |
 7911 |
 7912 |   export
 7913 |   ariaBusy :
 7914 |        {auto 0 _ : JSType t}
 7915 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 7916 |     -> t
 7917 |     -> Attribute True Prelude.id String
 7918 |   ariaBusy v = fromPrim
 7919 |                  "ARIAMixin.getariaBusy"
 7920 |                  prim__ariaBusy
 7921 |                  prim__setAriaBusy
 7922 |                  (v :> ARIAMixin)
 7923 |
 7924 |
 7925 |   export
 7926 |   ariaChecked :
 7927 |        {auto 0 _ : JSType t}
 7928 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 7929 |     -> t
 7930 |     -> Attribute True Prelude.id String
 7931 |   ariaChecked v = fromPrim
 7932 |                     "ARIAMixin.getariaChecked"
 7933 |                     prim__ariaChecked
 7934 |                     prim__setAriaChecked
 7935 |                     (v :> ARIAMixin)
 7936 |
 7937 |
 7938 |   export
 7939 |   ariaColCount :
 7940 |        {auto 0 _ : JSType t}
 7941 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 7942 |     -> t
 7943 |     -> Attribute True Prelude.id String
 7944 |   ariaColCount v = fromPrim
 7945 |                      "ARIAMixin.getariaColCount"
 7946 |                      prim__ariaColCount
 7947 |                      prim__setAriaColCount
 7948 |                      (v :> ARIAMixin)
 7949 |
 7950 |
 7951 |   export
 7952 |   ariaColIndex :
 7953 |        {auto 0 _ : JSType t}
 7954 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 7955 |     -> t
 7956 |     -> Attribute True Prelude.id String
 7957 |   ariaColIndex v = fromPrim
 7958 |                      "ARIAMixin.getariaColIndex"
 7959 |                      prim__ariaColIndex
 7960 |                      prim__setAriaColIndex
 7961 |                      (v :> ARIAMixin)
 7962 |
 7963 |
 7964 |   export
 7965 |   ariaColIndexText :
 7966 |        {auto 0 _ : JSType t}
 7967 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 7968 |     -> t
 7969 |     -> Attribute True Prelude.id String
 7970 |   ariaColIndexText v = fromPrim
 7971 |                          "ARIAMixin.getariaColIndexText"
 7972 |                          prim__ariaColIndexText
 7973 |                          prim__setAriaColIndexText
 7974 |                          (v :> ARIAMixin)
 7975 |
 7976 |
 7977 |   export
 7978 |   ariaColSpan :
 7979 |        {auto 0 _ : JSType t}
 7980 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 7981 |     -> t
 7982 |     -> Attribute True Prelude.id String
 7983 |   ariaColSpan v = fromPrim
 7984 |                     "ARIAMixin.getariaColSpan"
 7985 |                     prim__ariaColSpan
 7986 |                     prim__setAriaColSpan
 7987 |                     (v :> ARIAMixin)
 7988 |
 7989 |
 7990 |   export
 7991 |   ariaCurrent :
 7992 |        {auto 0 _ : JSType t}
 7993 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 7994 |     -> t
 7995 |     -> Attribute True Prelude.id String
 7996 |   ariaCurrent v = fromPrim
 7997 |                     "ARIAMixin.getariaCurrent"
 7998 |                     prim__ariaCurrent
 7999 |                     prim__setAriaCurrent
 8000 |                     (v :> ARIAMixin)
 8001 |
 8002 |
 8003 |   export
 8004 |   ariaDescription :
 8005 |        {auto 0 _ : JSType t}
 8006 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8007 |     -> t
 8008 |     -> Attribute True Prelude.id String
 8009 |   ariaDescription v = fromPrim
 8010 |                         "ARIAMixin.getariaDescription"
 8011 |                         prim__ariaDescription
 8012 |                         prim__setAriaDescription
 8013 |                         (v :> ARIAMixin)
 8014 |
 8015 |
 8016 |   export
 8017 |   ariaDisabled :
 8018 |        {auto 0 _ : JSType t}
 8019 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8020 |     -> t
 8021 |     -> Attribute True Prelude.id String
 8022 |   ariaDisabled v = fromPrim
 8023 |                      "ARIAMixin.getariaDisabled"
 8024 |                      prim__ariaDisabled
 8025 |                      prim__setAriaDisabled
 8026 |                      (v :> ARIAMixin)
 8027 |
 8028 |
 8029 |   export
 8030 |   ariaExpanded :
 8031 |        {auto 0 _ : JSType t}
 8032 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8033 |     -> t
 8034 |     -> Attribute True Prelude.id String
 8035 |   ariaExpanded v = fromPrim
 8036 |                      "ARIAMixin.getariaExpanded"
 8037 |                      prim__ariaExpanded
 8038 |                      prim__setAriaExpanded
 8039 |                      (v :> ARIAMixin)
 8040 |
 8041 |
 8042 |   export
 8043 |   ariaHasPopup :
 8044 |        {auto 0 _ : JSType t}
 8045 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8046 |     -> t
 8047 |     -> Attribute True Prelude.id String
 8048 |   ariaHasPopup v = fromPrim
 8049 |                      "ARIAMixin.getariaHasPopup"
 8050 |                      prim__ariaHasPopup
 8051 |                      prim__setAriaHasPopup
 8052 |                      (v :> ARIAMixin)
 8053 |
 8054 |
 8055 |   export
 8056 |   ariaHidden :
 8057 |        {auto 0 _ : JSType t}
 8058 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8059 |     -> t
 8060 |     -> Attribute True Prelude.id String
 8061 |   ariaHidden v = fromPrim
 8062 |                    "ARIAMixin.getariaHidden"
 8063 |                    prim__ariaHidden
 8064 |                    prim__setAriaHidden
 8065 |                    (v :> ARIAMixin)
 8066 |
 8067 |
 8068 |   export
 8069 |   ariaInvalid :
 8070 |        {auto 0 _ : JSType t}
 8071 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8072 |     -> t
 8073 |     -> Attribute True Prelude.id String
 8074 |   ariaInvalid v = fromPrim
 8075 |                     "ARIAMixin.getariaInvalid"
 8076 |                     prim__ariaInvalid
 8077 |                     prim__setAriaInvalid
 8078 |                     (v :> ARIAMixin)
 8079 |
 8080 |
 8081 |   export
 8082 |   ariaKeyShortcuts :
 8083 |        {auto 0 _ : JSType t}
 8084 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8085 |     -> t
 8086 |     -> Attribute True Prelude.id String
 8087 |   ariaKeyShortcuts v = fromPrim
 8088 |                          "ARIAMixin.getariaKeyShortcuts"
 8089 |                          prim__ariaKeyShortcuts
 8090 |                          prim__setAriaKeyShortcuts
 8091 |                          (v :> ARIAMixin)
 8092 |
 8093 |
 8094 |   export
 8095 |   ariaLabel :
 8096 |        {auto 0 _ : JSType t}
 8097 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8098 |     -> t
 8099 |     -> Attribute True Prelude.id String
 8100 |   ariaLabel v = fromPrim
 8101 |                   "ARIAMixin.getariaLabel"
 8102 |                   prim__ariaLabel
 8103 |                   prim__setAriaLabel
 8104 |                   (v :> ARIAMixin)
 8105 |
 8106 |
 8107 |   export
 8108 |   ariaLevel :
 8109 |        {auto 0 _ : JSType t}
 8110 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8111 |     -> t
 8112 |     -> Attribute True Prelude.id String
 8113 |   ariaLevel v = fromPrim
 8114 |                   "ARIAMixin.getariaLevel"
 8115 |                   prim__ariaLevel
 8116 |                   prim__setAriaLevel
 8117 |                   (v :> ARIAMixin)
 8118 |
 8119 |
 8120 |   export
 8121 |   ariaLive :
 8122 |        {auto 0 _ : JSType t}
 8123 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8124 |     -> t
 8125 |     -> Attribute True Prelude.id String
 8126 |   ariaLive v = fromPrim
 8127 |                  "ARIAMixin.getariaLive"
 8128 |                  prim__ariaLive
 8129 |                  prim__setAriaLive
 8130 |                  (v :> ARIAMixin)
 8131 |
 8132 |
 8133 |   export
 8134 |   ariaModal :
 8135 |        {auto 0 _ : JSType t}
 8136 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8137 |     -> t
 8138 |     -> Attribute True Prelude.id String
 8139 |   ariaModal v = fromPrim
 8140 |                   "ARIAMixin.getariaModal"
 8141 |                   prim__ariaModal
 8142 |                   prim__setAriaModal
 8143 |                   (v :> ARIAMixin)
 8144 |
 8145 |
 8146 |   export
 8147 |   ariaMultiLine :
 8148 |        {auto 0 _ : JSType t}
 8149 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8150 |     -> t
 8151 |     -> Attribute True Prelude.id String
 8152 |   ariaMultiLine v = fromPrim
 8153 |                       "ARIAMixin.getariaMultiLine"
 8154 |                       prim__ariaMultiLine
 8155 |                       prim__setAriaMultiLine
 8156 |                       (v :> ARIAMixin)
 8157 |
 8158 |
 8159 |   export
 8160 |   ariaMultiSelectable :
 8161 |        {auto 0 _ : JSType t}
 8162 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8163 |     -> t
 8164 |     -> Attribute True Prelude.id String
 8165 |   ariaMultiSelectable v = fromPrim
 8166 |                             "ARIAMixin.getariaMultiSelectable"
 8167 |                             prim__ariaMultiSelectable
 8168 |                             prim__setAriaMultiSelectable
 8169 |                             (v :> ARIAMixin)
 8170 |
 8171 |
 8172 |   export
 8173 |   ariaOrientation :
 8174 |        {auto 0 _ : JSType t}
 8175 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8176 |     -> t
 8177 |     -> Attribute True Prelude.id String
 8178 |   ariaOrientation v = fromPrim
 8179 |                         "ARIAMixin.getariaOrientation"
 8180 |                         prim__ariaOrientation
 8181 |                         prim__setAriaOrientation
 8182 |                         (v :> ARIAMixin)
 8183 |
 8184 |
 8185 |   export
 8186 |   ariaPlaceholder :
 8187 |        {auto 0 _ : JSType t}
 8188 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8189 |     -> t
 8190 |     -> Attribute True Prelude.id String
 8191 |   ariaPlaceholder v = fromPrim
 8192 |                         "ARIAMixin.getariaPlaceholder"
 8193 |                         prim__ariaPlaceholder
 8194 |                         prim__setAriaPlaceholder
 8195 |                         (v :> ARIAMixin)
 8196 |
 8197 |
 8198 |   export
 8199 |   ariaPosInSet :
 8200 |        {auto 0 _ : JSType t}
 8201 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8202 |     -> t
 8203 |     -> Attribute True Prelude.id String
 8204 |   ariaPosInSet v = fromPrim
 8205 |                      "ARIAMixin.getariaPosInSet"
 8206 |                      prim__ariaPosInSet
 8207 |                      prim__setAriaPosInSet
 8208 |                      (v :> ARIAMixin)
 8209 |
 8210 |
 8211 |   export
 8212 |   ariaPressed :
 8213 |        {auto 0 _ : JSType t}
 8214 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8215 |     -> t
 8216 |     -> Attribute True Prelude.id String
 8217 |   ariaPressed v = fromPrim
 8218 |                     "ARIAMixin.getariaPressed"
 8219 |                     prim__ariaPressed
 8220 |                     prim__setAriaPressed
 8221 |                     (v :> ARIAMixin)
 8222 |
 8223 |
 8224 |   export
 8225 |   ariaReadOnly :
 8226 |        {auto 0 _ : JSType t}
 8227 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8228 |     -> t
 8229 |     -> Attribute True Prelude.id String
 8230 |   ariaReadOnly v = fromPrim
 8231 |                      "ARIAMixin.getariaReadOnly"
 8232 |                      prim__ariaReadOnly
 8233 |                      prim__setAriaReadOnly
 8234 |                      (v :> ARIAMixin)
 8235 |
 8236 |
 8237 |   export
 8238 |   ariaRequired :
 8239 |        {auto 0 _ : JSType t}
 8240 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8241 |     -> t
 8242 |     -> Attribute True Prelude.id String
 8243 |   ariaRequired v = fromPrim
 8244 |                      "ARIAMixin.getariaRequired"
 8245 |                      prim__ariaRequired
 8246 |                      prim__setAriaRequired
 8247 |                      (v :> ARIAMixin)
 8248 |
 8249 |
 8250 |   export
 8251 |   ariaRoleDescription :
 8252 |        {auto 0 _ : JSType t}
 8253 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8254 |     -> t
 8255 |     -> Attribute True Prelude.id String
 8256 |   ariaRoleDescription v = fromPrim
 8257 |                             "ARIAMixin.getariaRoleDescription"
 8258 |                             prim__ariaRoleDescription
 8259 |                             prim__setAriaRoleDescription
 8260 |                             (v :> ARIAMixin)
 8261 |
 8262 |
 8263 |   export
 8264 |   ariaRowCount :
 8265 |        {auto 0 _ : JSType t}
 8266 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8267 |     -> t
 8268 |     -> Attribute True Prelude.id String
 8269 |   ariaRowCount v = fromPrim
 8270 |                      "ARIAMixin.getariaRowCount"
 8271 |                      prim__ariaRowCount
 8272 |                      prim__setAriaRowCount
 8273 |                      (v :> ARIAMixin)
 8274 |
 8275 |
 8276 |   export
 8277 |   ariaRowIndex :
 8278 |        {auto 0 _ : JSType t}
 8279 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8280 |     -> t
 8281 |     -> Attribute True Prelude.id String
 8282 |   ariaRowIndex v = fromPrim
 8283 |                      "ARIAMixin.getariaRowIndex"
 8284 |                      prim__ariaRowIndex
 8285 |                      prim__setAriaRowIndex
 8286 |                      (v :> ARIAMixin)
 8287 |
 8288 |
 8289 |   export
 8290 |   ariaRowIndexText :
 8291 |        {auto 0 _ : JSType t}
 8292 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8293 |     -> t
 8294 |     -> Attribute True Prelude.id String
 8295 |   ariaRowIndexText v = fromPrim
 8296 |                          "ARIAMixin.getariaRowIndexText"
 8297 |                          prim__ariaRowIndexText
 8298 |                          prim__setAriaRowIndexText
 8299 |                          (v :> ARIAMixin)
 8300 |
 8301 |
 8302 |   export
 8303 |   ariaRowSpan :
 8304 |        {auto 0 _ : JSType t}
 8305 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8306 |     -> t
 8307 |     -> Attribute True Prelude.id String
 8308 |   ariaRowSpan v = fromPrim
 8309 |                     "ARIAMixin.getariaRowSpan"
 8310 |                     prim__ariaRowSpan
 8311 |                     prim__setAriaRowSpan
 8312 |                     (v :> ARIAMixin)
 8313 |
 8314 |
 8315 |   export
 8316 |   ariaSelected :
 8317 |        {auto 0 _ : JSType t}
 8318 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8319 |     -> t
 8320 |     -> Attribute True Prelude.id String
 8321 |   ariaSelected v = fromPrim
 8322 |                      "ARIAMixin.getariaSelected"
 8323 |                      prim__ariaSelected
 8324 |                      prim__setAriaSelected
 8325 |                      (v :> ARIAMixin)
 8326 |
 8327 |
 8328 |   export
 8329 |   ariaSetSize :
 8330 |        {auto 0 _ : JSType t}
 8331 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8332 |     -> t
 8333 |     -> Attribute True Prelude.id String
 8334 |   ariaSetSize v = fromPrim
 8335 |                     "ARIAMixin.getariaSetSize"
 8336 |                     prim__ariaSetSize
 8337 |                     prim__setAriaSetSize
 8338 |                     (v :> ARIAMixin)
 8339 |
 8340 |
 8341 |   export
 8342 |   ariaSort :
 8343 |        {auto 0 _ : JSType t}
 8344 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8345 |     -> t
 8346 |     -> Attribute True Prelude.id String
 8347 |   ariaSort v = fromPrim
 8348 |                  "ARIAMixin.getariaSort"
 8349 |                  prim__ariaSort
 8350 |                  prim__setAriaSort
 8351 |                  (v :> ARIAMixin)
 8352 |
 8353 |
 8354 |   export
 8355 |   ariaValueMax :
 8356 |        {auto 0 _ : JSType t}
 8357 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8358 |     -> t
 8359 |     -> Attribute True Prelude.id String
 8360 |   ariaValueMax v = fromPrim
 8361 |                      "ARIAMixin.getariaValueMax"
 8362 |                      prim__ariaValueMax
 8363 |                      prim__setAriaValueMax
 8364 |                      (v :> ARIAMixin)
 8365 |
 8366 |
 8367 |   export
 8368 |   ariaValueMin :
 8369 |        {auto 0 _ : JSType t}
 8370 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8371 |     -> t
 8372 |     -> Attribute True Prelude.id String
 8373 |   ariaValueMin v = fromPrim
 8374 |                      "ARIAMixin.getariaValueMin"
 8375 |                      prim__ariaValueMin
 8376 |                      prim__setAriaValueMin
 8377 |                      (v :> ARIAMixin)
 8378 |
 8379 |
 8380 |   export
 8381 |   ariaValueNow :
 8382 |        {auto 0 _ : JSType t}
 8383 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8384 |     -> t
 8385 |     -> Attribute True Prelude.id String
 8386 |   ariaValueNow v = fromPrim
 8387 |                      "ARIAMixin.getariaValueNow"
 8388 |                      prim__ariaValueNow
 8389 |                      prim__setAriaValueNow
 8390 |                      (v :> ARIAMixin)
 8391 |
 8392 |
 8393 |   export
 8394 |   ariaValueText :
 8395 |        {auto 0 _ : JSType t}
 8396 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8397 |     -> t
 8398 |     -> Attribute True Prelude.id String
 8399 |   ariaValueText v = fromPrim
 8400 |                       "ARIAMixin.getariaValueText"
 8401 |                       prim__ariaValueText
 8402 |                       prim__setAriaValueText
 8403 |                       (v :> ARIAMixin)
 8404 |
 8405 |
 8406 |   export
 8407 |   role :
 8408 |        {auto 0 _ : JSType t}
 8409 |     -> {auto 0 _ : Elem ARIAMixin (Types t)}
 8410 |     -> t
 8411 |     -> Attribute False Maybe String
 8412 |   role v = fromNullablePrim
 8413 |              "ARIAMixin.getrole"
 8414 |              prim__role
 8415 |              prim__setRole
 8416 |              (v :> ARIAMixin)
 8417 |
 8418 |
 8419 |
 8420 | namespace AbstractWorker
 8421 |
 8422 |   export
 8423 |   onerror :
 8424 |        {auto 0 _ : JSType t}
 8425 |     -> {auto 0 _ : Elem AbstractWorker (Types t)}
 8426 |     -> t
 8427 |     -> Attribute False Maybe EventHandlerNonNull
 8428 |   onerror v = fromNullablePrim
 8429 |                 "AbstractWorker.getonerror"
 8430 |                 prim__onerror
 8431 |                 prim__setOnerror
 8432 |                 (v :> AbstractWorker)
 8433 |
 8434 |
 8435 |
 8436 | namespace CanvasCompositing
 8437 |
 8438 |   export
 8439 |   globalAlpha :
 8440 |        {auto 0 _ : JSType t}
 8441 |     -> {auto 0 _ : Elem CanvasCompositing (Types t)}
 8442 |     -> t
 8443 |     -> Attribute True Prelude.id Double
 8444 |   globalAlpha v = fromPrim
 8445 |                     "CanvasCompositing.getglobalAlpha"
 8446 |                     prim__globalAlpha
 8447 |                     prim__setGlobalAlpha
 8448 |                     (v :> CanvasCompositing)
 8449 |
 8450 |
 8451 |   export
 8452 |   globalCompositeOperation :
 8453 |        {auto 0 _ : JSType t}
 8454 |     -> {auto 0 _ : Elem CanvasCompositing (Types t)}
 8455 |     -> t
 8456 |     -> Attribute True Prelude.id String
 8457 |   globalCompositeOperation v = fromPrim
 8458 |                                  "CanvasCompositing.getglobalCompositeOperation"
 8459 |                                  prim__globalCompositeOperation
 8460 |                                  prim__setGlobalCompositeOperation
 8461 |                                  (v :> CanvasCompositing)
 8462 |
 8463 |
 8464 |
 8465 | namespace CanvasDrawImage
 8466 |
 8467 |   export
 8468 |   drawImage :
 8469 |        {auto 0 _ : JSType t1}
 8470 |     -> {auto 0 _ : Elem CanvasDrawImage (Types t1)}
 8471 |     -> (obj : t1)
 8472 |     -> (image : HSum
 8473 |                   [ HTMLImageElement
 8474 |                   , SVGImageElement
 8475 |                   , HTMLVideoElement
 8476 |                   , HTMLCanvasElement
 8477 |                   , ImageBitmap
 8478 |                   , OffscreenCanvas
 8479 |                   ])
 8480 |     -> (dx : Double)
 8481 |     -> (dy : Double)
 8482 |     -> JSIO ()
 8483 |   drawImage a b c d = primJS $
 8484 |     CanvasDrawImage.prim__drawImage (up a) (toFFI b) c d
 8485 |
 8486 |
 8487 |   export
 8488 |   drawImage1 :
 8489 |        {auto 0 _ : JSType t1}
 8490 |     -> {auto 0 _ : Elem CanvasDrawImage (Types t1)}
 8491 |     -> (obj : t1)
 8492 |     -> (image : HSum
 8493 |                   [ HTMLImageElement
 8494 |                   , SVGImageElement
 8495 |                   , HTMLVideoElement
 8496 |                   , HTMLCanvasElement
 8497 |                   , ImageBitmap
 8498 |                   , OffscreenCanvas
 8499 |                   ])
 8500 |     -> (dx : Double)
 8501 |     -> (dy : Double)
 8502 |     -> (dw : Double)
 8503 |     -> (dh : Double)
 8504 |     -> JSIO ()
 8505 |   drawImage1 a b c d e f = primJS $
 8506 |     CanvasDrawImage.prim__drawImage1 (up a) (toFFI b) c d e f
 8507 |
 8508 |
 8509 |   export
 8510 |   drawImage2 :
 8511 |        {auto 0 _ : JSType t1}
 8512 |     -> {auto 0 _ : Elem CanvasDrawImage (Types t1)}
 8513 |     -> (obj : t1)
 8514 |     -> (image : HSum
 8515 |                   [ HTMLImageElement
 8516 |                   , SVGImageElement
 8517 |                   , HTMLVideoElement
 8518 |                   , HTMLCanvasElement
 8519 |                   , ImageBitmap
 8520 |                   , OffscreenCanvas
 8521 |                   ])
 8522 |     -> (sx : Double)
 8523 |     -> (sy : Double)
 8524 |     -> (sw : Double)
 8525 |     -> (sh : Double)
 8526 |     -> (dx : Double)
 8527 |     -> (dy : Double)
 8528 |     -> (dw : Double)
 8529 |     -> (dh : Double)
 8530 |     -> JSIO ()
 8531 |   drawImage2 a b c d e f g h i j = primJS $
 8532 |     CanvasDrawImage.prim__drawImage2 (up a) (toFFI b) c d e f g h i j
 8533 |
 8534 |
 8535 |
 8536 | namespace CanvasDrawPath
 8537 |
 8538 |   export
 8539 |   beginPath :
 8540 |        {auto 0 _ : JSType t1}
 8541 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8542 |     -> (obj : t1)
 8543 |     -> JSIO ()
 8544 |   beginPath a = primJS $ CanvasDrawPath.prim__beginPath (up a)
 8545 |
 8546 |
 8547 |   export
 8548 |   clip' :
 8549 |        {auto 0 _ : JSType t1}
 8550 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8551 |     -> (obj : t1)
 8552 |     -> (fillRule : Optional CanvasFillRule)
 8553 |     -> JSIO ()
 8554 |   clip' a b = primJS $ CanvasDrawPath.prim__clip (up a) (toFFI b)
 8555 |
 8556 |   export
 8557 |   clip :
 8558 |        {auto 0 _ : JSType t1}
 8559 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8560 |     -> (obj : t1)
 8561 |     -> JSIO ()
 8562 |   clip a = primJS $ CanvasDrawPath.prim__clip (up a) undef
 8563 |
 8564 |
 8565 |   export
 8566 |   clip1' :
 8567 |        {auto 0 _ : JSType t1}
 8568 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8569 |     -> (obj : t1)
 8570 |     -> (path : Path2D)
 8571 |     -> (fillRule : Optional CanvasFillRule)
 8572 |     -> JSIO ()
 8573 |   clip1' a b c = primJS $ CanvasDrawPath.prim__clip1 (up a) b (toFFI c)
 8574 |
 8575 |   export
 8576 |   clip1 :
 8577 |        {auto 0 _ : JSType t1}
 8578 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8579 |     -> (obj : t1)
 8580 |     -> (path : Path2D)
 8581 |     -> JSIO ()
 8582 |   clip1 a b = primJS $ CanvasDrawPath.prim__clip1 (up a) b undef
 8583 |
 8584 |
 8585 |   export
 8586 |   fill' :
 8587 |        {auto 0 _ : JSType t1}
 8588 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8589 |     -> (obj : t1)
 8590 |     -> (fillRule : Optional CanvasFillRule)
 8591 |     -> JSIO ()
 8592 |   fill' a b = primJS $ CanvasDrawPath.prim__fill (up a) (toFFI b)
 8593 |
 8594 |   export
 8595 |   fill :
 8596 |        {auto 0 _ : JSType t1}
 8597 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8598 |     -> (obj : t1)
 8599 |     -> JSIO ()
 8600 |   fill a = primJS $ CanvasDrawPath.prim__fill (up a) undef
 8601 |
 8602 |
 8603 |   export
 8604 |   fill1' :
 8605 |        {auto 0 _ : JSType t1}
 8606 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8607 |     -> (obj : t1)
 8608 |     -> (path : Path2D)
 8609 |     -> (fillRule : Optional CanvasFillRule)
 8610 |     -> JSIO ()
 8611 |   fill1' a b c = primJS $ CanvasDrawPath.prim__fill1 (up a) b (toFFI c)
 8612 |
 8613 |   export
 8614 |   fill1 :
 8615 |        {auto 0 _ : JSType t1}
 8616 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8617 |     -> (obj : t1)
 8618 |     -> (path : Path2D)
 8619 |     -> JSIO ()
 8620 |   fill1 a b = primJS $ CanvasDrawPath.prim__fill1 (up a) b undef
 8621 |
 8622 |
 8623 |   export
 8624 |   isPointInPath' :
 8625 |        {auto 0 _ : JSType t1}
 8626 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8627 |     -> (obj : t1)
 8628 |     -> (x : Double)
 8629 |     -> (y : Double)
 8630 |     -> (fillRule : Optional CanvasFillRule)
 8631 |     -> JSIO Bool
 8632 |   isPointInPath' a b c d = tryJS "CanvasDrawPath.isPointInPath'" $
 8633 |     CanvasDrawPath.prim__isPointInPath (up a) b c (toFFI d)
 8634 |
 8635 |   export
 8636 |   isPointInPath :
 8637 |        {auto 0 _ : JSType t1}
 8638 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8639 |     -> (obj : t1)
 8640 |     -> (x : Double)
 8641 |     -> (y : Double)
 8642 |     -> JSIO Bool
 8643 |   isPointInPath a b c = tryJS "CanvasDrawPath.isPointInPath" $
 8644 |     CanvasDrawPath.prim__isPointInPath (up a) b c undef
 8645 |
 8646 |
 8647 |   export
 8648 |   isPointInPath1' :
 8649 |        {auto 0 _ : JSType t1}
 8650 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8651 |     -> (obj : t1)
 8652 |     -> (path : Path2D)
 8653 |     -> (x : Double)
 8654 |     -> (y : Double)
 8655 |     -> (fillRule : Optional CanvasFillRule)
 8656 |     -> JSIO Bool
 8657 |   isPointInPath1' a b c d e = tryJS "CanvasDrawPath.isPointInPath1'" $
 8658 |     CanvasDrawPath.prim__isPointInPath1 (up a) b c d (toFFI e)
 8659 |
 8660 |   export
 8661 |   isPointInPath1 :
 8662 |        {auto 0 _ : JSType t1}
 8663 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8664 |     -> (obj : t1)
 8665 |     -> (path : Path2D)
 8666 |     -> (x : Double)
 8667 |     -> (y : Double)
 8668 |     -> JSIO Bool
 8669 |   isPointInPath1 a b c d = tryJS "CanvasDrawPath.isPointInPath1" $
 8670 |     CanvasDrawPath.prim__isPointInPath1 (up a) b c d undef
 8671 |
 8672 |
 8673 |   export
 8674 |   isPointInStroke :
 8675 |        {auto 0 _ : JSType t1}
 8676 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8677 |     -> (obj : t1)
 8678 |     -> (x : Double)
 8679 |     -> (y : Double)
 8680 |     -> JSIO Bool
 8681 |   isPointInStroke a b c = tryJS "CanvasDrawPath.isPointInStroke" $
 8682 |     CanvasDrawPath.prim__isPointInStroke (up a) b c
 8683 |
 8684 |
 8685 |   export
 8686 |   isPointInStroke1 :
 8687 |        {auto 0 _ : JSType t1}
 8688 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8689 |     -> (obj : t1)
 8690 |     -> (path : Path2D)
 8691 |     -> (x : Double)
 8692 |     -> (y : Double)
 8693 |     -> JSIO Bool
 8694 |   isPointInStroke1 a b c d = tryJS "CanvasDrawPath.isPointInStroke1" $
 8695 |     CanvasDrawPath.prim__isPointInStroke1 (up a) b c d
 8696 |
 8697 |
 8698 |   export
 8699 |   stroke :
 8700 |        {auto 0 _ : JSType t1}
 8701 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8702 |     -> (obj : t1)
 8703 |     -> JSIO ()
 8704 |   stroke a = primJS $ CanvasDrawPath.prim__stroke (up a)
 8705 |
 8706 |
 8707 |   export
 8708 |   stroke1 :
 8709 |        {auto 0 _ : JSType t1}
 8710 |     -> {auto 0 _ : Elem CanvasDrawPath (Types t1)}
 8711 |     -> (obj : t1)
 8712 |     -> (path : Path2D)
 8713 |     -> JSIO ()
 8714 |   stroke1 a b = primJS $ CanvasDrawPath.prim__stroke1 (up a) b
 8715 |
 8716 |
 8717 |
 8718 | namespace CanvasFillStrokeStyles
 8719 |
 8720 |   export
 8721 |   fillStyle :
 8722 |        {auto 0 _ : JSType t}
 8723 |     -> {auto 0 _ : Elem CanvasFillStrokeStyles (Types t)}
 8724 |     -> t
 8725 |     -> Attribute True Prelude.id (HSum [String, CanvasGradient, CanvasPattern])
 8726 |   fillStyle v = fromPrim
 8727 |                   "CanvasFillStrokeStyles.getfillStyle"
 8728 |                   prim__fillStyle
 8729 |                   prim__setFillStyle
 8730 |                   (v :> CanvasFillStrokeStyles)
 8731 |
 8732 |
 8733 |   export
 8734 |   strokeStyle :
 8735 |        {auto 0 _ : JSType t}
 8736 |     -> {auto 0 _ : Elem CanvasFillStrokeStyles (Types t)}
 8737 |     -> t
 8738 |     -> Attribute True Prelude.id (HSum [String, CanvasGradient, CanvasPattern])
 8739 |   strokeStyle v = fromPrim
 8740 |                     "CanvasFillStrokeStyles.getstrokeStyle"
 8741 |                     prim__strokeStyle
 8742 |                     prim__setStrokeStyle
 8743 |                     (v :> CanvasFillStrokeStyles)
 8744 |
 8745 |
 8746 |   export
 8747 |   createLinearGradient :
 8748 |        {auto 0 _ : JSType t1}
 8749 |     -> {auto 0 _ : Elem CanvasFillStrokeStyles (Types t1)}
 8750 |     -> (obj : t1)
 8751 |     -> (x0 : Double)
 8752 |     -> (y0 : Double)
 8753 |     -> (x1 : Double)
 8754 |     -> (y1 : Double)
 8755 |     -> JSIO CanvasGradient
 8756 |   createLinearGradient a b c d e = primJS $
 8757 |     CanvasFillStrokeStyles.prim__createLinearGradient (up a) b c d e
 8758 |
 8759 |
 8760 |   export
 8761 |   createPattern :
 8762 |        {auto 0 _ : JSType t1}
 8763 |     -> {auto 0 _ : Elem CanvasFillStrokeStyles (Types t1)}
 8764 |     -> (obj : t1)
 8765 |     -> (image : HSum
 8766 |                   [ HTMLImageElement
 8767 |                   , SVGImageElement
 8768 |                   , HTMLVideoElement
 8769 |                   , HTMLCanvasElement
 8770 |                   , ImageBitmap
 8771 |                   , OffscreenCanvas
 8772 |                   ])
 8773 |     -> (repetition : String)
 8774 |     -> JSIO (Maybe CanvasPattern)
 8775 |   createPattern a b c = tryJS "CanvasFillStrokeStyles.createPattern" $
 8776 |     CanvasFillStrokeStyles.prim__createPattern (up a) (toFFI b) c
 8777 |
 8778 |
 8779 |   export
 8780 |   createRadialGradient :
 8781 |        {auto 0 _ : JSType t1}
 8782 |     -> {auto 0 _ : Elem CanvasFillStrokeStyles (Types t1)}
 8783 |     -> (obj : t1)
 8784 |     -> (x0 : Double)
 8785 |     -> (y0 : Double)
 8786 |     -> (r0 : Double)
 8787 |     -> (x1 : Double)
 8788 |     -> (y1 : Double)
 8789 |     -> (r1 : Double)
 8790 |     -> JSIO CanvasGradient
 8791 |   createRadialGradient a b c d e f g = primJS $
 8792 |     CanvasFillStrokeStyles.prim__createRadialGradient (up a) b c d e f g
 8793 |
 8794 |
 8795 |
 8796 | namespace CanvasFilters
 8797 |
 8798 |   export
 8799 |   filter :
 8800 |        {auto 0 _ : JSType t}
 8801 |     -> {auto 0 _ : Elem CanvasFilters (Types t)}
 8802 |     -> t
 8803 |     -> Attribute True Prelude.id String
 8804 |   filter v = fromPrim
 8805 |                "CanvasFilters.getfilter"
 8806 |                prim__filter
 8807 |                prim__setFilter
 8808 |                (v :> CanvasFilters)
 8809 |
 8810 |
 8811 |
 8812 | namespace CanvasImageData
 8813 |
 8814 |   export
 8815 |   createImageData :
 8816 |        {auto 0 _ : JSType t1}
 8817 |     -> {auto 0 _ : Elem CanvasImageData (Types t1)}
 8818 |     -> (obj : t1)
 8819 |     -> (sw : Int32)
 8820 |     -> (sh : Int32)
 8821 |     -> JSIO ImageData
 8822 |   createImageData a b c = primJS $
 8823 |     CanvasImageData.prim__createImageData (up a) b c
 8824 |
 8825 |
 8826 |   export
 8827 |   createImageData1 :
 8828 |        {auto 0 _ : JSType t1}
 8829 |     -> {auto 0 _ : Elem CanvasImageData (Types t1)}
 8830 |     -> (obj : t1)
 8831 |     -> (imagedata : ImageData)
 8832 |     -> JSIO ImageData
 8833 |   createImageData1 a b = primJS $
 8834 |     CanvasImageData.prim__createImageData1 (up a) b
 8835 |
 8836 |
 8837 |   export
 8838 |   getImageData :
 8839 |        {auto 0 _ : JSType t1}
 8840 |     -> {auto 0 _ : Elem CanvasImageData (Types t1)}
 8841 |     -> (obj : t1)
 8842 |     -> (sx : Int32)
 8843 |     -> (sy : Int32)
 8844 |     -> (sw : Int32)
 8845 |     -> (sh : Int32)
 8846 |     -> JSIO ImageData
 8847 |   getImageData a b c d e = primJS $
 8848 |     CanvasImageData.prim__getImageData (up a) b c d e
 8849 |
 8850 |
 8851 |   export
 8852 |   putImageData :
 8853 |        {auto 0 _ : JSType t1}
 8854 |     -> {auto 0 _ : Elem CanvasImageData (Types t1)}
 8855 |     -> (obj : t1)
 8856 |     -> (imagedata : ImageData)
 8857 |     -> (dx : Int32)
 8858 |     -> (dy : Int32)
 8859 |     -> JSIO ()
 8860 |   putImageData a b c d = primJS $
 8861 |     CanvasImageData.prim__putImageData (up a) b c d
 8862 |
 8863 |
 8864 |   export
 8865 |   putImageData1 :
 8866 |        {auto 0 _ : JSType t1}
 8867 |     -> {auto 0 _ : Elem CanvasImageData (Types t1)}
 8868 |     -> (obj : t1)
 8869 |     -> (imagedata : ImageData)
 8870 |     -> (dx : Int32)
 8871 |     -> (dy : Int32)
 8872 |     -> (dirtyX : Int32)
 8873 |     -> (dirtyY : Int32)
 8874 |     -> (dirtyWidth : Int32)
 8875 |     -> (dirtyHeight : Int32)
 8876 |     -> JSIO ()
 8877 |   putImageData1 a b c d e f g h = primJS $
 8878 |     CanvasImageData.prim__putImageData1 (up a) b c d e f g h
 8879 |
 8880 |
 8881 |
 8882 | namespace CanvasImageSmoothing
 8883 |
 8884 |   export
 8885 |   imageSmoothingEnabled :
 8886 |        {auto 0 _ : JSType t}
 8887 |     -> {auto 0 _ : Elem CanvasImageSmoothing (Types t)}
 8888 |     -> t
 8889 |     -> Attribute True Prelude.id Bool
 8890 |   imageSmoothingEnabled v = fromPrim
 8891 |                               "CanvasImageSmoothing.getimageSmoothingEnabled"
 8892 |                               prim__imageSmoothingEnabled
 8893 |                               prim__setImageSmoothingEnabled
 8894 |                               (v :> CanvasImageSmoothing)
 8895 |
 8896 |
 8897 |   export
 8898 |   imageSmoothingQuality :
 8899 |        {auto 0 _ : JSType t}
 8900 |     -> {auto 0 _ : Elem CanvasImageSmoothing (Types t)}
 8901 |     -> t
 8902 |     -> Attribute True Prelude.id ImageSmoothingQuality
 8903 |   imageSmoothingQuality v = fromPrim
 8904 |                               "CanvasImageSmoothing.getimageSmoothingQuality"
 8905 |                               prim__imageSmoothingQuality
 8906 |                               prim__setImageSmoothingQuality
 8907 |                               (v :> CanvasImageSmoothing)
 8908 |
 8909 |
 8910 |
 8911 | namespace CanvasPath
 8912 |
 8913 |   export
 8914 |   arc' :
 8915 |        {auto 0 _ : JSType t1}
 8916 |     -> {auto 0 _ : Elem CanvasPath (Types t1)}
 8917 |     -> (obj : t1)
 8918 |     -> (x : Double)
 8919 |     -> (y : Double)
 8920 |     -> (radius : Double)
 8921 |     -> (startAngle : Double)
 8922 |     -> (endAngle : Double)
 8923 |     -> (counterclockwise : Optional Bool)
 8924 |     -> JSIO ()
 8925 |   arc' a b c d e f g = primJS $ CanvasPath.prim__arc (up a) b c d e f (toFFI g)
 8926 |
 8927 |   export
 8928 |   arc :
 8929 |        {auto 0 _ : JSType t1}
 8930 |     -> {auto 0 _ : Elem CanvasPath (Types t1)}
 8931 |     -> (obj : t1)
 8932 |     -> (x : Double)
 8933 |     -> (y : Double)
 8934 |     -> (radius : Double)
 8935 |     -> (startAngle : Double)
 8936 |     -> (endAngle : Double)
 8937 |     -> JSIO ()
 8938 |   arc a b c d e f = primJS $ CanvasPath.prim__arc (up a) b c d e f undef
 8939 |
 8940 |
 8941 |   export
 8942 |   arcTo :
 8943 |        {auto 0 _ : JSType t1}
 8944 |     -> {auto 0 _ : Elem CanvasPath (Types t1)}
 8945 |     -> (obj : t1)
 8946 |     -> (x1 : Double)
 8947 |     -> (y1 : Double)
 8948 |     -> (x2 : Double)
 8949 |     -> (y2 : Double)
 8950 |     -> (radius : Double)
 8951 |     -> JSIO ()
 8952 |   arcTo a b c d e f = primJS $ CanvasPath.prim__arcTo (up a) b c d e f
 8953 |
 8954 |
 8955 |   export
 8956 |   bezierCurveTo :
 8957 |        {auto 0 _ : JSType t1}
 8958 |     -> {auto 0 _ : Elem CanvasPath (Types t1)}
 8959 |     -> (obj : t1)
 8960 |     -> (cp1x : Double)
 8961 |     -> (cp1y : Double)
 8962 |     -> (cp2x : Double)
 8963 |     -> (cp2y : Double)
 8964 |     -> (x : Double)
 8965 |     -> (y : Double)
 8966 |     -> JSIO ()
 8967 |   bezierCurveTo a b c d e f g = primJS $
 8968 |     CanvasPath.prim__bezierCurveTo (up a) b c d e f g
 8969 |
 8970 |
 8971 |   export
 8972 |   closePath :
 8973 |        {auto 0 _ : JSType t1}
 8974 |     -> {auto 0 _ : Elem CanvasPath (Types t1)}
 8975 |     -> (obj : t1)
 8976 |     -> JSIO ()
 8977 |   closePath a = primJS $ CanvasPath.prim__closePath (up a)
 8978 |
 8979 |
 8980 |   export
 8981 |   ellipse' :
 8982 |        {auto 0 _ : JSType t1}
 8983 |     -> {auto 0 _ : Elem CanvasPath (Types t1)}
 8984 |     -> (obj : t1)
 8985 |     -> (x : Double)
 8986 |     -> (y : Double)
 8987 |     -> (radiusX : Double)
 8988 |     -> (radiusY : Double)
 8989 |     -> (rotation : Double)
 8990 |     -> (startAngle : Double)
 8991 |     -> (endAngle : Double)
 8992 |     -> (counterclockwise : Optional Bool)
 8993 |     -> JSIO ()
 8994 |   ellipse' a b c d e f g h i = primJS $
 8995 |     CanvasPath.prim__ellipse (up a) b c d e f g h (toFFI i)
 8996 |
 8997 |   export
 8998 |   ellipse :
 8999 |        {auto 0 _ : JSType t1}
 9000 |     -> {auto 0 _ : Elem CanvasPath (Types t1)}
 9001 |     -> (obj : t1)
 9002 |     -> (x : Double)
 9003 |     -> (y : Double)
 9004 |     -> (radiusX : Double)
 9005 |     -> (radiusY : Double)
 9006 |     -> (rotation : Double)
 9007 |     -> (startAngle : Double)
 9008 |     -> (endAngle : Double)
 9009 |     -> JSIO ()
 9010 |   ellipse a b c d e f g h = primJS $
 9011 |     CanvasPath.prim__ellipse (up a) b c d e f g h undef
 9012 |
 9013 |
 9014 |   export
 9015 |   lineTo :
 9016 |        {auto 0 _ : JSType t1}
 9017 |     -> {auto 0 _ : Elem CanvasPath (Types t1)}
 9018 |     -> (obj : t1)
 9019 |     -> (x : Double)
 9020 |     -> (y : Double)
 9021 |     -> JSIO ()
 9022 |   lineTo a b c = primJS $ CanvasPath.prim__lineTo (up a) b c
 9023 |
 9024 |
 9025 |   export
 9026 |   moveTo :
 9027 |        {auto 0 _ : JSType t1}
 9028 |     -> {auto 0 _ : Elem CanvasPath (Types t1)}
 9029 |     -> (obj : t1)
 9030 |     -> (x : Double)
 9031 |     -> (y : Double)
 9032 |     -> JSIO ()
 9033 |   moveTo a b c = primJS $ CanvasPath.prim__moveTo (up a) b c
 9034 |
 9035 |
 9036 |   export
 9037 |   quadraticCurveTo :
 9038 |        {auto 0 _ : JSType t1}
 9039 |     -> {auto 0 _ : Elem CanvasPath (Types t1)}
 9040 |     -> (obj : t1)
 9041 |     -> (cpx : Double)
 9042 |     -> (cpy : Double)
 9043 |     -> (x : Double)
 9044 |     -> (y : Double)
 9045 |     -> JSIO ()
 9046 |   quadraticCurveTo a b c d e = primJS $
 9047 |     CanvasPath.prim__quadraticCurveTo (up a) b c d e
 9048 |
 9049 |
 9050 |   export
 9051 |   rect :
 9052 |        {auto 0 _ : JSType t1}
 9053 |     -> {auto 0 _ : Elem CanvasPath (Types t1)}
 9054 |     -> (obj : t1)
 9055 |     -> (x : Double)
 9056 |     -> (y : Double)
 9057 |     -> (w : Double)
 9058 |     -> (h : Double)
 9059 |     -> JSIO ()
 9060 |   rect a b c d e = primJS $ CanvasPath.prim__rect (up a) b c d e
 9061 |
 9062 |
 9063 |
 9064 | namespace CanvasPathDrawingStyles
 9065 |
 9066 |   export
 9067 |   lineCap :
 9068 |        {auto 0 _ : JSType t}
 9069 |     -> {auto 0 _ : Elem CanvasPathDrawingStyles (Types t)}
 9070 |     -> t
 9071 |     -> Attribute True Prelude.id CanvasLineCap
 9072 |   lineCap v = fromPrim
 9073 |                 "CanvasPathDrawingStyles.getlineCap"
 9074 |                 prim__lineCap
 9075 |                 prim__setLineCap
 9076 |                 (v :> CanvasPathDrawingStyles)
 9077 |
 9078 |
 9079 |   export
 9080 |   lineDashOffset :
 9081 |        {auto 0 _ : JSType t}
 9082 |     -> {auto 0 _ : Elem CanvasPathDrawingStyles (Types t)}
 9083 |     -> t
 9084 |     -> Attribute True Prelude.id Double
 9085 |   lineDashOffset v = fromPrim
 9086 |                        "CanvasPathDrawingStyles.getlineDashOffset"
 9087 |                        prim__lineDashOffset
 9088 |                        prim__setLineDashOffset
 9089 |                        (v :> CanvasPathDrawingStyles)
 9090 |
 9091 |
 9092 |   export
 9093 |   lineJoin :
 9094 |        {auto 0 _ : JSType t}
 9095 |     -> {auto 0 _ : Elem CanvasPathDrawingStyles (Types t)}
 9096 |     -> t
 9097 |     -> Attribute True Prelude.id CanvasLineJoin
 9098 |   lineJoin v = fromPrim
 9099 |                  "CanvasPathDrawingStyles.getlineJoin"
 9100 |                  prim__lineJoin
 9101 |                  prim__setLineJoin
 9102 |                  (v :> CanvasPathDrawingStyles)
 9103 |
 9104 |
 9105 |   export
 9106 |   lineWidth :
 9107 |        {auto 0 _ : JSType t}
 9108 |     -> {auto 0 _ : Elem CanvasPathDrawingStyles (Types t)}
 9109 |     -> t
 9110 |     -> Attribute True Prelude.id Double
 9111 |   lineWidth v = fromPrim
 9112 |                   "CanvasPathDrawingStyles.getlineWidth"
 9113 |                   prim__lineWidth
 9114 |                   prim__setLineWidth
 9115 |                   (v :> CanvasPathDrawingStyles)
 9116 |
 9117 |
 9118 |   export
 9119 |   miterLimit :
 9120 |        {auto 0 _ : JSType t}
 9121 |     -> {auto 0 _ : Elem CanvasPathDrawingStyles (Types t)}
 9122 |     -> t
 9123 |     -> Attribute True Prelude.id Double
 9124 |   miterLimit v = fromPrim
 9125 |                    "CanvasPathDrawingStyles.getmiterLimit"
 9126 |                    prim__miterLimit
 9127 |                    prim__setMiterLimit
 9128 |                    (v :> CanvasPathDrawingStyles)
 9129 |
 9130 |
 9131 |   export
 9132 |   getLineDash :
 9133 |        {auto 0 _ : JSType t1}
 9134 |     -> {auto 0 _ : Elem CanvasPathDrawingStyles (Types t1)}
 9135 |     -> (obj : t1)
 9136 |     -> JSIO (Array Double)
 9137 |   getLineDash a = primJS $ CanvasPathDrawingStyles.prim__getLineDash (up a)
 9138 |
 9139 |
 9140 |   export
 9141 |   setLineDash :
 9142 |        {auto 0 _ : JSType t1}
 9143 |     -> {auto 0 _ : Elem CanvasPathDrawingStyles (Types t1)}
 9144 |     -> (obj : t1)
 9145 |     -> (segments : Array Double)
 9146 |     -> JSIO ()
 9147 |   setLineDash a b = primJS $ CanvasPathDrawingStyles.prim__setLineDash (up a) b
 9148 |
 9149 |
 9150 |
 9151 | namespace CanvasRect
 9152 |
 9153 |   export
 9154 |   clearRect :
 9155 |        {auto 0 _ : JSType t1}
 9156 |     -> {auto 0 _ : Elem CanvasRect (Types t1)}
 9157 |     -> (obj : t1)
 9158 |     -> (x : Double)
 9159 |     -> (y : Double)
 9160 |     -> (w : Double)
 9161 |     -> (h : Double)
 9162 |     -> JSIO ()
 9163 |   clearRect a b c d e = primJS $ CanvasRect.prim__clearRect (up a) b c d e
 9164 |
 9165 |
 9166 |   export
 9167 |   fillRect :
 9168 |        {auto 0 _ : JSType t1}
 9169 |     -> {auto 0 _ : Elem CanvasRect (Types t1)}
 9170 |     -> (obj : t1)
 9171 |     -> (x : Double)
 9172 |     -> (y : Double)
 9173 |     -> (w : Double)
 9174 |     -> (h : Double)
 9175 |     -> JSIO ()
 9176 |   fillRect a b c d e = primJS $ CanvasRect.prim__fillRect (up a) b c d e
 9177 |
 9178 |
 9179 |   export
 9180 |   strokeRect :
 9181 |        {auto 0 _ : JSType t1}
 9182 |     -> {auto 0 _ : Elem CanvasRect (Types t1)}
 9183 |     -> (obj : t1)
 9184 |     -> (x : Double)
 9185 |     -> (y : Double)
 9186 |     -> (w : Double)
 9187 |     -> (h : Double)
 9188 |     -> JSIO ()
 9189 |   strokeRect a b c d e = primJS $ CanvasRect.prim__strokeRect (up a) b c d e
 9190 |
 9191 |
 9192 |
 9193 | namespace CanvasShadowStyles
 9194 |
 9195 |   export
 9196 |   shadowBlur :
 9197 |        {auto 0 _ : JSType t}
 9198 |     -> {auto 0 _ : Elem CanvasShadowStyles (Types t)}
 9199 |     -> t
 9200 |     -> Attribute True Prelude.id Double
 9201 |   shadowBlur v = fromPrim
 9202 |                    "CanvasShadowStyles.getshadowBlur"
 9203 |                    prim__shadowBlur
 9204 |                    prim__setShadowBlur
 9205 |                    (v :> CanvasShadowStyles)
 9206 |
 9207 |
 9208 |   export
 9209 |   shadowColor :
 9210 |        {auto 0 _ : JSType t}
 9211 |     -> {auto 0 _ : Elem CanvasShadowStyles (Types t)}
 9212 |     -> t
 9213 |     -> Attribute True Prelude.id String
 9214 |   shadowColor v = fromPrim
 9215 |                     "CanvasShadowStyles.getshadowColor"
 9216 |                     prim__shadowColor
 9217 |                     prim__setShadowColor
 9218 |                     (v :> CanvasShadowStyles)
 9219 |
 9220 |
 9221 |   export
 9222 |   shadowOffsetX :
 9223 |        {auto 0 _ : JSType t}
 9224 |     -> {auto 0 _ : Elem CanvasShadowStyles (Types t)}
 9225 |     -> t
 9226 |     -> Attribute True Prelude.id Double
 9227 |   shadowOffsetX v = fromPrim
 9228 |                       "CanvasShadowStyles.getshadowOffsetX"
 9229 |                       prim__shadowOffsetX
 9230 |                       prim__setShadowOffsetX
 9231 |                       (v :> CanvasShadowStyles)
 9232 |
 9233 |
 9234 |   export
 9235 |   shadowOffsetY :
 9236 |        {auto 0 _ : JSType t}
 9237 |     -> {auto 0 _ : Elem CanvasShadowStyles (Types t)}
 9238 |     -> t
 9239 |     -> Attribute True Prelude.id Double
 9240 |   shadowOffsetY v = fromPrim
 9241 |                       "CanvasShadowStyles.getshadowOffsetY"
 9242 |                       prim__shadowOffsetY
 9243 |                       prim__setShadowOffsetY
 9244 |                       (v :> CanvasShadowStyles)
 9245 |
 9246 |
 9247 |
 9248 | namespace CanvasState
 9249 |
 9250 |   export
 9251 |   restore :
 9252 |        {auto 0 _ : JSType t1}
 9253 |     -> {auto 0 _ : Elem CanvasState (Types t1)}
 9254 |     -> (obj : t1)
 9255 |     -> JSIO ()
 9256 |   restore a = primJS $ CanvasState.prim__restore (up a)
 9257 |
 9258 |
 9259 |   export
 9260 |   save :
 9261 |        {auto 0 _ : JSType t1}
 9262 |     -> {auto 0 _ : Elem CanvasState (Types t1)}
 9263 |     -> (obj : t1)
 9264 |     -> JSIO ()
 9265 |   save a = primJS $ CanvasState.prim__save (up a)
 9266 |
 9267 |
 9268 |
 9269 | namespace CanvasText
 9270 |
 9271 |   export
 9272 |   fillText' :
 9273 |        {auto 0 _ : JSType t1}
 9274 |     -> {auto 0 _ : Elem CanvasText (Types t1)}
 9275 |     -> (obj : t1)
 9276 |     -> (text : String)
 9277 |     -> (x : Double)
 9278 |     -> (y : Double)
 9279 |     -> (maxWidth : Optional Double)
 9280 |     -> JSIO ()
 9281 |   fillText' a b c d e = primJS $
 9282 |     CanvasText.prim__fillText (up a) b c d (toFFI e)
 9283 |
 9284 |   export
 9285 |   fillText :
 9286 |        {auto 0 _ : JSType t1}
 9287 |     -> {auto 0 _ : Elem CanvasText (Types t1)}
 9288 |     -> (obj : t1)
 9289 |     -> (text : String)
 9290 |     -> (x : Double)
 9291 |     -> (y : Double)
 9292 |     -> JSIO ()
 9293 |   fillText a b c d = primJS $ CanvasText.prim__fillText (up a) b c d undef
 9294 |
 9295 |
 9296 |   export
 9297 |   measureText :
 9298 |        {auto 0 _ : JSType t1}
 9299 |     -> {auto 0 _ : Elem CanvasText (Types t1)}
 9300 |     -> (obj : t1)
 9301 |     -> (text : String)
 9302 |     -> JSIO TextMetrics
 9303 |   measureText a b = primJS $ CanvasText.prim__measureText (up a) b
 9304 |
 9305 |
 9306 |   export
 9307 |   strokeText' :
 9308 |        {auto 0 _ : JSType t1}
 9309 |     -> {auto 0 _ : Elem CanvasText (Types t1)}
 9310 |     -> (obj : t1)
 9311 |     -> (text : String)
 9312 |     -> (x : Double)
 9313 |     -> (y : Double)
 9314 |     -> (maxWidth : Optional Double)
 9315 |     -> JSIO ()
 9316 |   strokeText' a b c d e = primJS $
 9317 |     CanvasText.prim__strokeText (up a) b c d (toFFI e)
 9318 |
 9319 |   export
 9320 |   strokeText :
 9321 |        {auto 0 _ : JSType t1}
 9322 |     -> {auto 0 _ : Elem CanvasText (Types t1)}
 9323 |     -> (obj : t1)
 9324 |     -> (text : String)
 9325 |     -> (x : Double)
 9326 |     -> (y : Double)
 9327 |     -> JSIO ()
 9328 |   strokeText a b c d = primJS $ CanvasText.prim__strokeText (up a) b c d undef
 9329 |
 9330 |
 9331 |
 9332 | namespace CanvasTextDrawingStyles
 9333 |
 9334 |   export
 9335 |   direction :
 9336 |        {auto 0 _ : JSType t}
 9337 |     -> {auto 0 _ : Elem CanvasTextDrawingStyles (Types t)}
 9338 |     -> t
 9339 |     -> Attribute True Prelude.id CanvasDirection
 9340 |   direction v = fromPrim
 9341 |                   "CanvasTextDrawingStyles.getdirection"
 9342 |                   prim__direction
 9343 |                   prim__setDirection
 9344 |                   (v :> CanvasTextDrawingStyles)
 9345 |
 9346 |
 9347 |   export
 9348 |   font :
 9349 |        {auto 0 _ : JSType t}
 9350 |     -> {auto 0 _ : Elem CanvasTextDrawingStyles (Types t)}
 9351 |     -> t
 9352 |     -> Attribute True Prelude.id String
 9353 |   font v = fromPrim
 9354 |              "CanvasTextDrawingStyles.getfont"
 9355 |              prim__font
 9356 |              prim__setFont
 9357 |              (v :> CanvasTextDrawingStyles)
 9358 |
 9359 |
 9360 |   export
 9361 |   textAlign :
 9362 |        {auto 0 _ : JSType t}
 9363 |     -> {auto 0 _ : Elem CanvasTextDrawingStyles (Types t)}
 9364 |     -> t
 9365 |     -> Attribute True Prelude.id CanvasTextAlign
 9366 |   textAlign v = fromPrim
 9367 |                   "CanvasTextDrawingStyles.gettextAlign"
 9368 |                   prim__textAlign
 9369 |                   prim__setTextAlign
 9370 |                   (v :> CanvasTextDrawingStyles)
 9371 |
 9372 |
 9373 |   export
 9374 |   textBaseline :
 9375 |        {auto 0 _ : JSType t}
 9376 |     -> {auto 0 _ : Elem CanvasTextDrawingStyles (Types t)}
 9377 |     -> t
 9378 |     -> Attribute True Prelude.id CanvasTextBaseline
 9379 |   textBaseline v = fromPrim
 9380 |                      "CanvasTextDrawingStyles.gettextBaseline"
 9381 |                      prim__textBaseline
 9382 |                      prim__setTextBaseline
 9383 |                      (v :> CanvasTextDrawingStyles)
 9384 |
 9385 |
 9386 |
 9387 | namespace CanvasTransform
 9388 |
 9389 |   export
 9390 |   getTransform :
 9391 |        {auto 0 _ : JSType t1}
 9392 |     -> {auto 0 _ : Elem CanvasTransform (Types t1)}
 9393 |     -> (obj : t1)
 9394 |     -> JSIO DOMMatrix
 9395 |   getTransform a = primJS $ CanvasTransform.prim__getTransform (up a)
 9396 |
 9397 |
 9398 |   export
 9399 |   resetTransform :
 9400 |        {auto 0 _ : JSType t1}
 9401 |     -> {auto 0 _ : Elem CanvasTransform (Types t1)}
 9402 |     -> (obj : t1)
 9403 |     -> JSIO ()
 9404 |   resetTransform a = primJS $ CanvasTransform.prim__resetTransform (up a)
 9405 |
 9406 |
 9407 |   export
 9408 |   rotate :
 9409 |        {auto 0 _ : JSType t1}
 9410 |     -> {auto 0 _ : Elem CanvasTransform (Types t1)}
 9411 |     -> (obj : t1)
 9412 |     -> (angle : Double)
 9413 |     -> JSIO ()
 9414 |   rotate a b = primJS $ CanvasTransform.prim__rotate (up a) b
 9415 |
 9416 |
 9417 |   export
 9418 |   scale :
 9419 |        {auto 0 _ : JSType t1}
 9420 |     -> {auto 0 _ : Elem CanvasTransform (Types t1)}
 9421 |     -> (obj : t1)
 9422 |     -> (x : Double)
 9423 |     -> (y : Double)
 9424 |     -> JSIO ()
 9425 |   scale a b c = primJS $ CanvasTransform.prim__scale (up a) b c
 9426 |
 9427 |
 9428 |   export
 9429 |   setTransform :
 9430 |        {auto 0 _ : JSType t1}
 9431 |     -> {auto 0 _ : Elem CanvasTransform (Types t1)}
 9432 |     -> (obj : t1)
 9433 |     -> (a : Double)
 9434 |     -> (b : Double)
 9435 |     -> (c : Double)
 9436 |     -> (d : Double)
 9437 |     -> (e : Double)
 9438 |     -> (f : Double)
 9439 |     -> JSIO ()
 9440 |   setTransform a b c d e f g = primJS $
 9441 |     CanvasTransform.prim__setTransform (up a) b c d e f g
 9442 |
 9443 |
 9444 |   export
 9445 |   setTransform1' :
 9446 |        {auto 0 _ : JSType t1}
 9447 |     -> {auto 0 _ : JSType t2}
 9448 |     -> {auto 0 _ : Elem CanvasTransform (Types t1)}
 9449 |     -> {auto 0 _ : Elem DOMMatrix2DInit (Types t2)}
 9450 |     -> (obj : t1)
 9451 |     -> (transform : Optional t2)
 9452 |     -> JSIO ()
 9453 |   setTransform1' a b = primJS $
 9454 |     CanvasTransform.prim__setTransform1 (up a) (optUp b)
 9455 |
 9456 |   export
 9457 |   setTransform1 :
 9458 |        {auto 0 _ : JSType t1}
 9459 |     -> {auto 0 _ : Elem CanvasTransform (Types t1)}
 9460 |     -> (obj : t1)
 9461 |     -> JSIO ()
 9462 |   setTransform1 a = primJS $ CanvasTransform.prim__setTransform1 (up a) undef
 9463 |
 9464 |
 9465 |   export
 9466 |   transform :
 9467 |        {auto 0 _ : JSType t1}
 9468 |     -> {auto 0 _ : Elem CanvasTransform (Types t1)}
 9469 |     -> (obj : t1)
 9470 |     -> (a : Double)
 9471 |     -> (b : Double)
 9472 |     -> (c : Double)
 9473 |     -> (d : Double)
 9474 |     -> (e : Double)
 9475 |     -> (f : Double)
 9476 |     -> JSIO ()
 9477 |   transform a b c d e f g = primJS $
 9478 |     CanvasTransform.prim__transform (up a) b c d e f g
 9479 |
 9480 |
 9481 |   export
 9482 |   translate :
 9483 |        {auto 0 _ : JSType t1}
 9484 |     -> {auto 0 _ : Elem CanvasTransform (Types t1)}
 9485 |     -> (obj : t1)
 9486 |     -> (x : Double)
 9487 |     -> (y : Double)
 9488 |     -> JSIO ()
 9489 |   translate a b c = primJS $ CanvasTransform.prim__translate (up a) b c
 9490 |
 9491 |
 9492 |
 9493 | namespace CanvasUserInterface
 9494 |
 9495 |   export
 9496 |   drawFocusIfNeeded :
 9497 |        {auto 0 _ : JSType t1}
 9498 |     -> {auto 0 _ : JSType t2}
 9499 |     -> {auto 0 _ : Elem CanvasUserInterface (Types t1)}
 9500 |     -> {auto 0 _ : Elem Element (Types t2)}
 9501 |     -> (obj : t1)
 9502 |     -> (element : t2)
 9503 |     -> JSIO ()
 9504 |   drawFocusIfNeeded a b = primJS $
 9505 |     CanvasUserInterface.prim__drawFocusIfNeeded (up a) (up b)
 9506 |
 9507 |
 9508 |   export
 9509 |   drawFocusIfNeeded1 :
 9510 |        {auto 0 _ : JSType t1}
 9511 |     -> {auto 0 _ : JSType t3}
 9512 |     -> {auto 0 _ : Elem CanvasUserInterface (Types t1)}
 9513 |     -> {auto 0 _ : Elem Element (Types t3)}
 9514 |     -> (obj : t1)
 9515 |     -> (path : Path2D)
 9516 |     -> (element : t3)
 9517 |     -> JSIO ()
 9518 |   drawFocusIfNeeded1 a b c = primJS $
 9519 |     CanvasUserInterface.prim__drawFocusIfNeeded1 (up a) b (up c)
 9520 |
 9521 |
 9522 |   export
 9523 |   scrollPathIntoView :
 9524 |        {auto 0 _ : JSType t1}
 9525 |     -> {auto 0 _ : Elem CanvasUserInterface (Types t1)}
 9526 |     -> (obj : t1)
 9527 |     -> JSIO ()
 9528 |   scrollPathIntoView a = primJS $
 9529 |     CanvasUserInterface.prim__scrollPathIntoView (up a)
 9530 |
 9531 |
 9532 |   export
 9533 |   scrollPathIntoView1 :
 9534 |        {auto 0 _ : JSType t1}
 9535 |     -> {auto 0 _ : Elem CanvasUserInterface (Types t1)}
 9536 |     -> (obj : t1)
 9537 |     -> (path : Path2D)
 9538 |     -> JSIO ()
 9539 |   scrollPathIntoView1 a b = primJS $
 9540 |     CanvasUserInterface.prim__scrollPathIntoView1 (up a) b
 9541 |
 9542 |
 9543 |
 9544 | namespace DocumentAndElementEventHandlers
 9545 |
 9546 |   export
 9547 |   oncopy :
 9548 |        {auto 0 _ : JSType t}
 9549 |     -> {auto 0 _ : Elem DocumentAndElementEventHandlers (Types t)}
 9550 |     -> t
 9551 |     -> Attribute False Maybe EventHandlerNonNull
 9552 |   oncopy v = fromNullablePrim
 9553 |                "DocumentAndElementEventHandlers.getoncopy"
 9554 |                prim__oncopy
 9555 |                prim__setOncopy
 9556 |                (v :> DocumentAndElementEventHandlers)
 9557 |
 9558 |
 9559 |   export
 9560 |   oncut :
 9561 |        {auto 0 _ : JSType t}
 9562 |     -> {auto 0 _ : Elem DocumentAndElementEventHandlers (Types t)}
 9563 |     -> t
 9564 |     -> Attribute False Maybe EventHandlerNonNull
 9565 |   oncut v = fromNullablePrim
 9566 |               "DocumentAndElementEventHandlers.getoncut"
 9567 |               prim__oncut
 9568 |               prim__setOncut
 9569 |               (v :> DocumentAndElementEventHandlers)
 9570 |
 9571 |
 9572 |   export
 9573 |   onpaste :
 9574 |        {auto 0 _ : JSType t}
 9575 |     -> {auto 0 _ : Elem DocumentAndElementEventHandlers (Types t)}
 9576 |     -> t
 9577 |     -> Attribute False Maybe EventHandlerNonNull
 9578 |   onpaste v = fromNullablePrim
 9579 |                 "DocumentAndElementEventHandlers.getonpaste"
 9580 |                 prim__onpaste
 9581 |                 prim__setOnpaste
 9582 |                 (v :> DocumentAndElementEventHandlers)
 9583 |
 9584 |
 9585 |
 9586 | namespace ElementContentEditable
 9587 |
 9588 |   export
 9589 |   contentEditable :
 9590 |        {auto 0 _ : JSType t}
 9591 |     -> {auto 0 _ : Elem ElementContentEditable (Types t)}
 9592 |     -> t
 9593 |     -> Attribute True Prelude.id String
 9594 |   contentEditable v = fromPrim
 9595 |                         "ElementContentEditable.getcontentEditable"
 9596 |                         prim__contentEditable
 9597 |                         prim__setContentEditable
 9598 |                         (v :> ElementContentEditable)
 9599 |
 9600 |
 9601 |   export
 9602 |   enterKeyHint :
 9603 |        {auto 0 _ : JSType t}
 9604 |     -> {auto 0 _ : Elem ElementContentEditable (Types t)}
 9605 |     -> t
 9606 |     -> Attribute True Prelude.id String
 9607 |   enterKeyHint v = fromPrim
 9608 |                      "ElementContentEditable.getenterKeyHint"
 9609 |                      prim__enterKeyHint
 9610 |                      prim__setEnterKeyHint
 9611 |                      (v :> ElementContentEditable)
 9612 |
 9613 |
 9614 |   export
 9615 |   inputMode :
 9616 |        {auto 0 _ : JSType t}
 9617 |     -> {auto 0 _ : Elem ElementContentEditable (Types t)}
 9618 |     -> t
 9619 |     -> Attribute True Prelude.id String
 9620 |   inputMode v = fromPrim
 9621 |                   "ElementContentEditable.getinputMode"
 9622 |                   prim__inputMode
 9623 |                   prim__setInputMode
 9624 |                   (v :> ElementContentEditable)
 9625 |
 9626 |
 9627 |   export
 9628 |   isContentEditable :
 9629 |        {auto 0 _ : JSType t1}
 9630 |     -> {auto 0 _ : Elem ElementContentEditable (Types t1)}
 9631 |     -> (obj : t1)
 9632 |     -> JSIO Bool
 9633 |   isContentEditable a = tryJS "ElementContentEditable.isContentEditable" $
 9634 |     ElementContentEditable.prim__isContentEditable (up a)
 9635 |
 9636 |
 9637 |
 9638 | namespace GlobalEventHandlers
 9639 |
 9640 |   export
 9641 |   onabort :
 9642 |        {auto 0 _ : JSType t}
 9643 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9644 |     -> t
 9645 |     -> Attribute False Maybe UIEventHandler
 9646 |   onabort v = fromNullablePrim
 9647 |                 "GlobalEventHandlers.getonabort"
 9648 |                 prim__onabort
 9649 |                 prim__setOnabort
 9650 |                 (v :> GlobalEventHandlers)
 9651 |
 9652 |
 9653 |   export
 9654 |   onauxclick :
 9655 |        {auto 0 _ : JSType t}
 9656 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9657 |     -> t
 9658 |     -> Attribute False Maybe MouseEventHandler
 9659 |   onauxclick v = fromNullablePrim
 9660 |                    "GlobalEventHandlers.getonauxclick"
 9661 |                    prim__onauxclick
 9662 |                    prim__setOnauxclick
 9663 |                    (v :> GlobalEventHandlers)
 9664 |
 9665 |
 9666 |   export
 9667 |   onblur :
 9668 |        {auto 0 _ : JSType t}
 9669 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9670 |     -> t
 9671 |     -> Attribute False Maybe FocusEventHandler
 9672 |   onblur v = fromNullablePrim
 9673 |                "GlobalEventHandlers.getonblur"
 9674 |                prim__onblur
 9675 |                prim__setOnblur
 9676 |                (v :> GlobalEventHandlers)
 9677 |
 9678 |
 9679 |   export
 9680 |   oncancel :
 9681 |        {auto 0 _ : JSType t}
 9682 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9683 |     -> t
 9684 |     -> Attribute False Maybe EventHandlerNonNull
 9685 |   oncancel v = fromNullablePrim
 9686 |                  "GlobalEventHandlers.getoncancel"
 9687 |                  prim__oncancel
 9688 |                  prim__setOncancel
 9689 |                  (v :> GlobalEventHandlers)
 9690 |
 9691 |
 9692 |   export
 9693 |   oncanplay :
 9694 |        {auto 0 _ : JSType t}
 9695 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9696 |     -> t
 9697 |     -> Attribute False Maybe EventHandlerNonNull
 9698 |   oncanplay v = fromNullablePrim
 9699 |                   "GlobalEventHandlers.getoncanplay"
 9700 |                   prim__oncanplay
 9701 |                   prim__setOncanplay
 9702 |                   (v :> GlobalEventHandlers)
 9703 |
 9704 |
 9705 |   export
 9706 |   oncanplaythrough :
 9707 |        {auto 0 _ : JSType t}
 9708 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9709 |     -> t
 9710 |     -> Attribute False Maybe EventHandlerNonNull
 9711 |   oncanplaythrough v = fromNullablePrim
 9712 |                          "GlobalEventHandlers.getoncanplaythrough"
 9713 |                          prim__oncanplaythrough
 9714 |                          prim__setOncanplaythrough
 9715 |                          (v :> GlobalEventHandlers)
 9716 |
 9717 |
 9718 |   export
 9719 |   onchange :
 9720 |        {auto 0 _ : JSType t}
 9721 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9722 |     -> t
 9723 |     -> Attribute False Maybe EventHandlerNonNull
 9724 |   onchange v = fromNullablePrim
 9725 |                  "GlobalEventHandlers.getonchange"
 9726 |                  prim__onchange
 9727 |                  prim__setOnchange
 9728 |                  (v :> GlobalEventHandlers)
 9729 |
 9730 |
 9731 |   export
 9732 |   onclick :
 9733 |        {auto 0 _ : JSType t}
 9734 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9735 |     -> t
 9736 |     -> Attribute False Maybe MouseEventHandler
 9737 |   onclick v = fromNullablePrim
 9738 |                 "GlobalEventHandlers.getonclick"
 9739 |                 prim__onclick
 9740 |                 prim__setOnclick
 9741 |                 (v :> GlobalEventHandlers)
 9742 |
 9743 |
 9744 |   export
 9745 |   onclose :
 9746 |        {auto 0 _ : JSType t}
 9747 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9748 |     -> t
 9749 |     -> Attribute False Maybe EventHandlerNonNull
 9750 |   onclose v = fromNullablePrim
 9751 |                 "GlobalEventHandlers.getonclose"
 9752 |                 prim__onclose
 9753 |                 prim__setOnclose
 9754 |                 (v :> GlobalEventHandlers)
 9755 |
 9756 |
 9757 |   export
 9758 |   oncontextmenu :
 9759 |        {auto 0 _ : JSType t}
 9760 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9761 |     -> t
 9762 |     -> Attribute False Maybe EventHandlerNonNull
 9763 |   oncontextmenu v = fromNullablePrim
 9764 |                       "GlobalEventHandlers.getoncontextmenu"
 9765 |                       prim__oncontextmenu
 9766 |                       prim__setOncontextmenu
 9767 |                       (v :> GlobalEventHandlers)
 9768 |
 9769 |
 9770 |   export
 9771 |   oncuechange :
 9772 |        {auto 0 _ : JSType t}
 9773 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9774 |     -> t
 9775 |     -> Attribute False Maybe EventHandlerNonNull
 9776 |   oncuechange v = fromNullablePrim
 9777 |                     "GlobalEventHandlers.getoncuechange"
 9778 |                     prim__oncuechange
 9779 |                     prim__setOncuechange
 9780 |                     (v :> GlobalEventHandlers)
 9781 |
 9782 |
 9783 |   export
 9784 |   ondblclick :
 9785 |        {auto 0 _ : JSType t}
 9786 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9787 |     -> t
 9788 |     -> Attribute False Maybe MouseEventHandler
 9789 |   ondblclick v = fromNullablePrim
 9790 |                    "GlobalEventHandlers.getondblclick"
 9791 |                    prim__ondblclick
 9792 |                    prim__setOndblclick
 9793 |                    (v :> GlobalEventHandlers)
 9794 |
 9795 |
 9796 |   export
 9797 |   ondrag :
 9798 |        {auto 0 _ : JSType t}
 9799 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9800 |     -> t
 9801 |     -> Attribute False Maybe EventHandlerNonNull
 9802 |   ondrag v = fromNullablePrim
 9803 |                "GlobalEventHandlers.getondrag"
 9804 |                prim__ondrag
 9805 |                prim__setOndrag
 9806 |                (v :> GlobalEventHandlers)
 9807 |
 9808 |
 9809 |   export
 9810 |   ondragend :
 9811 |        {auto 0 _ : JSType t}
 9812 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9813 |     -> t
 9814 |     -> Attribute False Maybe EventHandlerNonNull
 9815 |   ondragend v = fromNullablePrim
 9816 |                   "GlobalEventHandlers.getondragend"
 9817 |                   prim__ondragend
 9818 |                   prim__setOndragend
 9819 |                   (v :> GlobalEventHandlers)
 9820 |
 9821 |
 9822 |   export
 9823 |   ondragenter :
 9824 |        {auto 0 _ : JSType t}
 9825 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9826 |     -> t
 9827 |     -> Attribute False Maybe EventHandlerNonNull
 9828 |   ondragenter v = fromNullablePrim
 9829 |                     "GlobalEventHandlers.getondragenter"
 9830 |                     prim__ondragenter
 9831 |                     prim__setOndragenter
 9832 |                     (v :> GlobalEventHandlers)
 9833 |
 9834 |
 9835 |   export
 9836 |   ondragleave :
 9837 |        {auto 0 _ : JSType t}
 9838 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9839 |     -> t
 9840 |     -> Attribute False Maybe EventHandlerNonNull
 9841 |   ondragleave v = fromNullablePrim
 9842 |                     "GlobalEventHandlers.getondragleave"
 9843 |                     prim__ondragleave
 9844 |                     prim__setOndragleave
 9845 |                     (v :> GlobalEventHandlers)
 9846 |
 9847 |
 9848 |   export
 9849 |   ondragover :
 9850 |        {auto 0 _ : JSType t}
 9851 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9852 |     -> t
 9853 |     -> Attribute False Maybe EventHandlerNonNull
 9854 |   ondragover v = fromNullablePrim
 9855 |                    "GlobalEventHandlers.getondragover"
 9856 |                    prim__ondragover
 9857 |                    prim__setOndragover
 9858 |                    (v :> GlobalEventHandlers)
 9859 |
 9860 |
 9861 |   export
 9862 |   ondragstart :
 9863 |        {auto 0 _ : JSType t}
 9864 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9865 |     -> t
 9866 |     -> Attribute False Maybe EventHandlerNonNull
 9867 |   ondragstart v = fromNullablePrim
 9868 |                     "GlobalEventHandlers.getondragstart"
 9869 |                     prim__ondragstart
 9870 |                     prim__setOndragstart
 9871 |                     (v :> GlobalEventHandlers)
 9872 |
 9873 |
 9874 |   export
 9875 |   ondrop :
 9876 |        {auto 0 _ : JSType t}
 9877 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9878 |     -> t
 9879 |     -> Attribute False Maybe EventHandlerNonNull
 9880 |   ondrop v = fromNullablePrim
 9881 |                "GlobalEventHandlers.getondrop"
 9882 |                prim__ondrop
 9883 |                prim__setOndrop
 9884 |                (v :> GlobalEventHandlers)
 9885 |
 9886 |
 9887 |   export
 9888 |   ondurationchange :
 9889 |        {auto 0 _ : JSType t}
 9890 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9891 |     -> t
 9892 |     -> Attribute False Maybe EventHandlerNonNull
 9893 |   ondurationchange v = fromNullablePrim
 9894 |                          "GlobalEventHandlers.getondurationchange"
 9895 |                          prim__ondurationchange
 9896 |                          prim__setOndurationchange
 9897 |                          (v :> GlobalEventHandlers)
 9898 |
 9899 |
 9900 |   export
 9901 |   onemptied :
 9902 |        {auto 0 _ : JSType t}
 9903 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9904 |     -> t
 9905 |     -> Attribute False Maybe EventHandlerNonNull
 9906 |   onemptied v = fromNullablePrim
 9907 |                   "GlobalEventHandlers.getonemptied"
 9908 |                   prim__onemptied
 9909 |                   prim__setOnemptied
 9910 |                   (v :> GlobalEventHandlers)
 9911 |
 9912 |
 9913 |   export
 9914 |   onended :
 9915 |        {auto 0 _ : JSType t}
 9916 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9917 |     -> t
 9918 |     -> Attribute False Maybe EventHandlerNonNull
 9919 |   onended v = fromNullablePrim
 9920 |                 "GlobalEventHandlers.getonended"
 9921 |                 prim__onended
 9922 |                 prim__setOnended
 9923 |                 (v :> GlobalEventHandlers)
 9924 |
 9925 |
 9926 |   export
 9927 |   onerror :
 9928 |        {auto 0 _ : JSType t}
 9929 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9930 |     -> t
 9931 |     -> Attribute False Maybe OnErrorEventHandlerNonNull
 9932 |   onerror v = fromNullablePrim
 9933 |                 "GlobalEventHandlers.getonerror"
 9934 |                 prim__onerror
 9935 |                 prim__setOnerror
 9936 |                 (v :> GlobalEventHandlers)
 9937 |
 9938 |
 9939 |   export
 9940 |   onfocus :
 9941 |        {auto 0 _ : JSType t}
 9942 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9943 |     -> t
 9944 |     -> Attribute False Maybe FocusEventHandler
 9945 |   onfocus v = fromNullablePrim
 9946 |                 "GlobalEventHandlers.getonfocus"
 9947 |                 prim__onfocus
 9948 |                 prim__setOnfocus
 9949 |                 (v :> GlobalEventHandlers)
 9950 |
 9951 |
 9952 |   export
 9953 |   onformdata :
 9954 |        {auto 0 _ : JSType t}
 9955 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9956 |     -> t
 9957 |     -> Attribute False Maybe EventHandlerNonNull
 9958 |   onformdata v = fromNullablePrim
 9959 |                    "GlobalEventHandlers.getonformdata"
 9960 |                    prim__onformdata
 9961 |                    prim__setOnformdata
 9962 |                    (v :> GlobalEventHandlers)
 9963 |
 9964 |
 9965 |   export
 9966 |   oninput :
 9967 |        {auto 0 _ : JSType t}
 9968 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9969 |     -> t
 9970 |     -> Attribute False Maybe InputEventHandler
 9971 |   oninput v = fromNullablePrim
 9972 |                 "GlobalEventHandlers.getoninput"
 9973 |                 prim__oninput
 9974 |                 prim__setOninput
 9975 |                 (v :> GlobalEventHandlers)
 9976 |
 9977 |
 9978 |   export
 9979 |   oninvalid :
 9980 |        {auto 0 _ : JSType t}
 9981 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9982 |     -> t
 9983 |     -> Attribute False Maybe EventHandlerNonNull
 9984 |   oninvalid v = fromNullablePrim
 9985 |                   "GlobalEventHandlers.getoninvalid"
 9986 |                   prim__oninvalid
 9987 |                   prim__setOninvalid
 9988 |                   (v :> GlobalEventHandlers)
 9989 |
 9990 |
 9991 |   export
 9992 |   onkeydown :
 9993 |        {auto 0 _ : JSType t}
 9994 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
 9995 |     -> t
 9996 |     -> Attribute False Maybe KeyboardEventHandler
 9997 |   onkeydown v = fromNullablePrim
 9998 |                   "GlobalEventHandlers.getonkeydown"
 9999 |                   prim__onkeydown
10000 |                   prim__setOnkeydown
10001 |                   (v :> GlobalEventHandlers)
10002 |
10003 |
10004 |   export
10005 |   onkeypress :
10006 |        {auto 0 _ : JSType t}
10007 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10008 |     -> t
10009 |     -> Attribute False Maybe EventHandlerNonNull
10010 |   onkeypress v = fromNullablePrim
10011 |                    "GlobalEventHandlers.getonkeypress"
10012 |                    prim__onkeypress
10013 |                    prim__setOnkeypress
10014 |                    (v :> GlobalEventHandlers)
10015 |
10016 |
10017 |   export
10018 |   onkeyup :
10019 |        {auto 0 _ : JSType t}
10020 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10021 |     -> t
10022 |     -> Attribute False Maybe KeyboardEventHandler
10023 |   onkeyup v = fromNullablePrim
10024 |                 "GlobalEventHandlers.getonkeyup"
10025 |                 prim__onkeyup
10026 |                 prim__setOnkeyup
10027 |                 (v :> GlobalEventHandlers)
10028 |
10029 |
10030 |   export
10031 |   onload :
10032 |        {auto 0 _ : JSType t}
10033 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10034 |     -> t
10035 |     -> Attribute False Maybe UIEventHandler
10036 |   onload v = fromNullablePrim
10037 |                "GlobalEventHandlers.getonload"
10038 |                prim__onload
10039 |                prim__setOnload
10040 |                (v :> GlobalEventHandlers)
10041 |
10042 |
10043 |   export
10044 |   onloadeddata :
10045 |        {auto 0 _ : JSType t}
10046 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10047 |     -> t
10048 |     -> Attribute False Maybe EventHandlerNonNull
10049 |   onloadeddata v = fromNullablePrim
10050 |                      "GlobalEventHandlers.getonloadeddata"
10051 |                      prim__onloadeddata
10052 |                      prim__setOnloadeddata
10053 |                      (v :> GlobalEventHandlers)
10054 |
10055 |
10056 |   export
10057 |   onloadedmetadata :
10058 |        {auto 0 _ : JSType t}
10059 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10060 |     -> t
10061 |     -> Attribute False Maybe EventHandlerNonNull
10062 |   onloadedmetadata v = fromNullablePrim
10063 |                          "GlobalEventHandlers.getonloadedmetadata"
10064 |                          prim__onloadedmetadata
10065 |                          prim__setOnloadedmetadata
10066 |                          (v :> GlobalEventHandlers)
10067 |
10068 |
10069 |   export
10070 |   onloadstart :
10071 |        {auto 0 _ : JSType t}
10072 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10073 |     -> t
10074 |     -> Attribute False Maybe EventHandlerNonNull
10075 |   onloadstart v = fromNullablePrim
10076 |                     "GlobalEventHandlers.getonloadstart"
10077 |                     prim__onloadstart
10078 |                     prim__setOnloadstart
10079 |                     (v :> GlobalEventHandlers)
10080 |
10081 |
10082 |   export
10083 |   onmousedown :
10084 |        {auto 0 _ : JSType t}
10085 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10086 |     -> t
10087 |     -> Attribute False Maybe MouseEventHandler
10088 |   onmousedown v = fromNullablePrim
10089 |                     "GlobalEventHandlers.getonmousedown"
10090 |                     prim__onmousedown
10091 |                     prim__setOnmousedown
10092 |                     (v :> GlobalEventHandlers)
10093 |
10094 |
10095 |   export
10096 |   onmouseenter :
10097 |        {auto 0 _ : JSType t}
10098 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10099 |     -> t
10100 |     -> Attribute False Maybe MouseEventHandler
10101 |   onmouseenter v = fromNullablePrim
10102 |                      "GlobalEventHandlers.getonmouseenter"
10103 |                      prim__onmouseenter
10104 |                      prim__setOnmouseenter
10105 |                      (v :> GlobalEventHandlers)
10106 |
10107 |
10108 |   export
10109 |   onmouseleave :
10110 |        {auto 0 _ : JSType t}
10111 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10112 |     -> t
10113 |     -> Attribute False Maybe MouseEventHandler
10114 |   onmouseleave v = fromNullablePrim
10115 |                      "GlobalEventHandlers.getonmouseleave"
10116 |                      prim__onmouseleave
10117 |                      prim__setOnmouseleave
10118 |                      (v :> GlobalEventHandlers)
10119 |
10120 |
10121 |   export
10122 |   onmousemove :
10123 |        {auto 0 _ : JSType t}
10124 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10125 |     -> t
10126 |     -> Attribute False Maybe MouseEventHandler
10127 |   onmousemove v = fromNullablePrim
10128 |                     "GlobalEventHandlers.getonmousemove"
10129 |                     prim__onmousemove
10130 |                     prim__setOnmousemove
10131 |                     (v :> GlobalEventHandlers)
10132 |
10133 |
10134 |   export
10135 |   onmouseout :
10136 |        {auto 0 _ : JSType t}
10137 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10138 |     -> t
10139 |     -> Attribute False Maybe MouseEventHandler
10140 |   onmouseout v = fromNullablePrim
10141 |                    "GlobalEventHandlers.getonmouseout"
10142 |                    prim__onmouseout
10143 |                    prim__setOnmouseout
10144 |                    (v :> GlobalEventHandlers)
10145 |
10146 |
10147 |   export
10148 |   onmouseover :
10149 |        {auto 0 _ : JSType t}
10150 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10151 |     -> t
10152 |     -> Attribute False Maybe MouseEventHandler
10153 |   onmouseover v = fromNullablePrim
10154 |                     "GlobalEventHandlers.getonmouseover"
10155 |                     prim__onmouseover
10156 |                     prim__setOnmouseover
10157 |                     (v :> GlobalEventHandlers)
10158 |
10159 |
10160 |   export
10161 |   onmouseup :
10162 |        {auto 0 _ : JSType t}
10163 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10164 |     -> t
10165 |     -> Attribute False Maybe MouseEventHandler
10166 |   onmouseup v = fromNullablePrim
10167 |                   "GlobalEventHandlers.getonmouseup"
10168 |                   prim__onmouseup
10169 |                   prim__setOnmouseup
10170 |                   (v :> GlobalEventHandlers)
10171 |
10172 |
10173 |   export
10174 |   onpause :
10175 |        {auto 0 _ : JSType t}
10176 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10177 |     -> t
10178 |     -> Attribute False Maybe EventHandlerNonNull
10179 |   onpause v = fromNullablePrim
10180 |                 "GlobalEventHandlers.getonpause"
10181 |                 prim__onpause
10182 |                 prim__setOnpause
10183 |                 (v :> GlobalEventHandlers)
10184 |
10185 |
10186 |   export
10187 |   onplay :
10188 |        {auto 0 _ : JSType t}
10189 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10190 |     -> t
10191 |     -> Attribute False Maybe EventHandlerNonNull
10192 |   onplay v = fromNullablePrim
10193 |                "GlobalEventHandlers.getonplay"
10194 |                prim__onplay
10195 |                prim__setOnplay
10196 |                (v :> GlobalEventHandlers)
10197 |
10198 |
10199 |   export
10200 |   onplaying :
10201 |        {auto 0 _ : JSType t}
10202 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10203 |     -> t
10204 |     -> Attribute False Maybe EventHandlerNonNull
10205 |   onplaying v = fromNullablePrim
10206 |                   "GlobalEventHandlers.getonplaying"
10207 |                   prim__onplaying
10208 |                   prim__setOnplaying
10209 |                   (v :> GlobalEventHandlers)
10210 |
10211 |
10212 |   export
10213 |   onprogress :
10214 |        {auto 0 _ : JSType t}
10215 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10216 |     -> t
10217 |     -> Attribute False Maybe EventHandlerNonNull
10218 |   onprogress v = fromNullablePrim
10219 |                    "GlobalEventHandlers.getonprogress"
10220 |                    prim__onprogress
10221 |                    prim__setOnprogress
10222 |                    (v :> GlobalEventHandlers)
10223 |
10224 |
10225 |   export
10226 |   onratechange :
10227 |        {auto 0 _ : JSType t}
10228 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10229 |     -> t
10230 |     -> Attribute False Maybe EventHandlerNonNull
10231 |   onratechange v = fromNullablePrim
10232 |                      "GlobalEventHandlers.getonratechange"
10233 |                      prim__onratechange
10234 |                      prim__setOnratechange
10235 |                      (v :> GlobalEventHandlers)
10236 |
10237 |
10238 |   export
10239 |   onreset :
10240 |        {auto 0 _ : JSType t}
10241 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10242 |     -> t
10243 |     -> Attribute False Maybe EventHandlerNonNull
10244 |   onreset v = fromNullablePrim
10245 |                 "GlobalEventHandlers.getonreset"
10246 |                 prim__onreset
10247 |                 prim__setOnreset
10248 |                 (v :> GlobalEventHandlers)
10249 |
10250 |
10251 |   export
10252 |   onresize :
10253 |        {auto 0 _ : JSType t}
10254 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10255 |     -> t
10256 |     -> Attribute False Maybe EventHandlerNonNull
10257 |   onresize v = fromNullablePrim
10258 |                  "GlobalEventHandlers.getonresize"
10259 |                  prim__onresize
10260 |                  prim__setOnresize
10261 |                  (v :> GlobalEventHandlers)
10262 |
10263 |
10264 |   export
10265 |   onscroll :
10266 |        {auto 0 _ : JSType t}
10267 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10268 |     -> t
10269 |     -> Attribute False Maybe EventHandlerNonNull
10270 |   onscroll v = fromNullablePrim
10271 |                  "GlobalEventHandlers.getonscroll"
10272 |                  prim__onscroll
10273 |                  prim__setOnscroll
10274 |                  (v :> GlobalEventHandlers)
10275 |
10276 |
10277 |   export
10278 |   onsecuritypolicyviolation :
10279 |        {auto 0 _ : JSType t}
10280 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10281 |     -> t
10282 |     -> Attribute False Maybe EventHandlerNonNull
10283 |   onsecuritypolicyviolation v = fromNullablePrim
10284 |                                   "GlobalEventHandlers.getonsecuritypolicyviolation"
10285 |                                   prim__onsecuritypolicyviolation
10286 |                                   prim__setOnsecuritypolicyviolation
10287 |                                   (v :> GlobalEventHandlers)
10288 |
10289 |
10290 |   export
10291 |   onseeked :
10292 |        {auto 0 _ : JSType t}
10293 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10294 |     -> t
10295 |     -> Attribute False Maybe EventHandlerNonNull
10296 |   onseeked v = fromNullablePrim
10297 |                  "GlobalEventHandlers.getonseeked"
10298 |                  prim__onseeked
10299 |                  prim__setOnseeked
10300 |                  (v :> GlobalEventHandlers)
10301 |
10302 |
10303 |   export
10304 |   onseeking :
10305 |        {auto 0 _ : JSType t}
10306 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10307 |     -> t
10308 |     -> Attribute False Maybe EventHandlerNonNull
10309 |   onseeking v = fromNullablePrim
10310 |                   "GlobalEventHandlers.getonseeking"
10311 |                   prim__onseeking
10312 |                   prim__setOnseeking
10313 |                   (v :> GlobalEventHandlers)
10314 |
10315 |
10316 |   export
10317 |   onselect :
10318 |        {auto 0 _ : JSType t}
10319 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10320 |     -> t
10321 |     -> Attribute False Maybe UIEventHandler
10322 |   onselect v = fromNullablePrim
10323 |                  "GlobalEventHandlers.getonselect"
10324 |                  prim__onselect
10325 |                  prim__setOnselect
10326 |                  (v :> GlobalEventHandlers)
10327 |
10328 |
10329 |   export
10330 |   onslotchange :
10331 |        {auto 0 _ : JSType t}
10332 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10333 |     -> t
10334 |     -> Attribute False Maybe EventHandlerNonNull
10335 |   onslotchange v = fromNullablePrim
10336 |                      "GlobalEventHandlers.getonslotchange"
10337 |                      prim__onslotchange
10338 |                      prim__setOnslotchange
10339 |                      (v :> GlobalEventHandlers)
10340 |
10341 |
10342 |   export
10343 |   onstalled :
10344 |        {auto 0 _ : JSType t}
10345 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10346 |     -> t
10347 |     -> Attribute False Maybe EventHandlerNonNull
10348 |   onstalled v = fromNullablePrim
10349 |                   "GlobalEventHandlers.getonstalled"
10350 |                   prim__onstalled
10351 |                   prim__setOnstalled
10352 |                   (v :> GlobalEventHandlers)
10353 |
10354 |
10355 |   export
10356 |   onsubmit :
10357 |        {auto 0 _ : JSType t}
10358 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10359 |     -> t
10360 |     -> Attribute False Maybe EventHandlerNonNull
10361 |   onsubmit v = fromNullablePrim
10362 |                  "GlobalEventHandlers.getonsubmit"
10363 |                  prim__onsubmit
10364 |                  prim__setOnsubmit
10365 |                  (v :> GlobalEventHandlers)
10366 |
10367 |
10368 |   export
10369 |   onsuspend :
10370 |        {auto 0 _ : JSType t}
10371 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10372 |     -> t
10373 |     -> Attribute False Maybe EventHandlerNonNull
10374 |   onsuspend v = fromNullablePrim
10375 |                   "GlobalEventHandlers.getonsuspend"
10376 |                   prim__onsuspend
10377 |                   prim__setOnsuspend
10378 |                   (v :> GlobalEventHandlers)
10379 |
10380 |
10381 |   export
10382 |   ontimeupdate :
10383 |        {auto 0 _ : JSType t}
10384 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10385 |     -> t
10386 |     -> Attribute False Maybe EventHandlerNonNull
10387 |   ontimeupdate v = fromNullablePrim
10388 |                      "GlobalEventHandlers.getontimeupdate"
10389 |                      prim__ontimeupdate
10390 |                      prim__setOntimeupdate
10391 |                      (v :> GlobalEventHandlers)
10392 |
10393 |
10394 |   export
10395 |   ontoggle :
10396 |        {auto 0 _ : JSType t}
10397 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10398 |     -> t
10399 |     -> Attribute False Maybe EventHandlerNonNull
10400 |   ontoggle v = fromNullablePrim
10401 |                  "GlobalEventHandlers.getontoggle"
10402 |                  prim__ontoggle
10403 |                  prim__setOntoggle
10404 |                  (v :> GlobalEventHandlers)
10405 |
10406 |
10407 |   export
10408 |   onvolumechange :
10409 |        {auto 0 _ : JSType t}
10410 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10411 |     -> t
10412 |     -> Attribute False Maybe EventHandlerNonNull
10413 |   onvolumechange v = fromNullablePrim
10414 |                        "GlobalEventHandlers.getonvolumechange"
10415 |                        prim__onvolumechange
10416 |                        prim__setOnvolumechange
10417 |                        (v :> GlobalEventHandlers)
10418 |
10419 |
10420 |   export
10421 |   onwaiting :
10422 |        {auto 0 _ : JSType t}
10423 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10424 |     -> t
10425 |     -> Attribute False Maybe EventHandlerNonNull
10426 |   onwaiting v = fromNullablePrim
10427 |                   "GlobalEventHandlers.getonwaiting"
10428 |                   prim__onwaiting
10429 |                   prim__setOnwaiting
10430 |                   (v :> GlobalEventHandlers)
10431 |
10432 |
10433 |   export
10434 |   onwebkitanimationend :
10435 |        {auto 0 _ : JSType t}
10436 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10437 |     -> t
10438 |     -> Attribute False Maybe EventHandlerNonNull
10439 |   onwebkitanimationend v = fromNullablePrim
10440 |                              "GlobalEventHandlers.getonwebkitanimationend"
10441 |                              prim__onwebkitanimationend
10442 |                              prim__setOnwebkitanimationend
10443 |                              (v :> GlobalEventHandlers)
10444 |
10445 |
10446 |   export
10447 |   onwebkitanimationiteration :
10448 |        {auto 0 _ : JSType t}
10449 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10450 |     -> t
10451 |     -> Attribute False Maybe EventHandlerNonNull
10452 |   onwebkitanimationiteration v = fromNullablePrim
10453 |                                    "GlobalEventHandlers.getonwebkitanimationiteration"
10454 |                                    prim__onwebkitanimationiteration
10455 |                                    prim__setOnwebkitanimationiteration
10456 |                                    (v :> GlobalEventHandlers)
10457 |
10458 |
10459 |   export
10460 |   onwebkitanimationstart :
10461 |        {auto 0 _ : JSType t}
10462 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10463 |     -> t
10464 |     -> Attribute False Maybe EventHandlerNonNull
10465 |   onwebkitanimationstart v = fromNullablePrim
10466 |                                "GlobalEventHandlers.getonwebkitanimationstart"
10467 |                                prim__onwebkitanimationstart
10468 |                                prim__setOnwebkitanimationstart
10469 |                                (v :> GlobalEventHandlers)
10470 |
10471 |
10472 |   export
10473 |   onwebkittransitionend :
10474 |        {auto 0 _ : JSType t}
10475 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10476 |     -> t
10477 |     -> Attribute False Maybe EventHandlerNonNull
10478 |   onwebkittransitionend v = fromNullablePrim
10479 |                               "GlobalEventHandlers.getonwebkittransitionend"
10480 |                               prim__onwebkittransitionend
10481 |                               prim__setOnwebkittransitionend
10482 |                               (v :> GlobalEventHandlers)
10483 |
10484 |
10485 |   export
10486 |   onwheel :
10487 |        {auto 0 _ : JSType t}
10488 |     -> {auto 0 _ : Elem GlobalEventHandlers (Types t)}
10489 |     -> t
10490 |     -> Attribute False Maybe WheelEventHandler
10491 |   onwheel v = fromNullablePrim
10492 |                 "GlobalEventHandlers.getonwheel"
10493 |                 prim__onwheel
10494 |                 prim__setOnwheel
10495 |                 (v :> GlobalEventHandlers)
10496 |
10497 |
10498 |
10499 | namespace HTMLHyperlinkElementUtils
10500 |
10501 |   export
10502 |   hash :
10503 |        {auto 0 _ : JSType t}
10504 |     -> {auto 0 _ : Elem HTMLHyperlinkElementUtils (Types t)}
10505 |     -> t
10506 |     -> Attribute True Prelude.id String
10507 |   hash v = fromPrim
10508 |              "HTMLHyperlinkElementUtils.gethash"
10509 |              prim__hash
10510 |              prim__setHash
10511 |              (v :> HTMLHyperlinkElementUtils)
10512 |
10513 |
10514 |   export
10515 |   host :
10516 |        {auto 0 _ : JSType t}
10517 |     -> {auto 0 _ : Elem HTMLHyperlinkElementUtils (Types t)}
10518 |     -> t
10519 |     -> Attribute True Prelude.id String
10520 |   host v = fromPrim
10521 |              "HTMLHyperlinkElementUtils.gethost"
10522 |              prim__host
10523 |              prim__setHost
10524 |              (v :> HTMLHyperlinkElementUtils)
10525 |
10526 |
10527 |   export
10528 |   hostname :
10529 |        {auto 0 _ : JSType t}
10530 |     -> {auto 0 _ : Elem HTMLHyperlinkElementUtils (Types t)}
10531 |     -> t
10532 |     -> Attribute True Prelude.id String
10533 |   hostname v = fromPrim
10534 |                  "HTMLHyperlinkElementUtils.gethostname"
10535 |                  prim__hostname
10536 |                  prim__setHostname
10537 |                  (v :> HTMLHyperlinkElementUtils)
10538 |
10539 |
10540 |   export
10541 |   href :
10542 |        {auto 0 _ : JSType t}
10543 |     -> {auto 0 _ : Elem HTMLHyperlinkElementUtils (Types t)}
10544 |     -> t
10545 |     -> Attribute True Prelude.id String
10546 |   href v = fromPrim
10547 |              "HTMLHyperlinkElementUtils.gethref"
10548 |              prim__href
10549 |              prim__setHref
10550 |              (v :> HTMLHyperlinkElementUtils)
10551 |
10552 |
10553 |   export
10554 |   origin :
10555 |        {auto 0 _ : JSType t1}
10556 |     -> {auto 0 _ : Elem HTMLHyperlinkElementUtils (Types t1)}
10557 |     -> (obj : t1)
10558 |     -> JSIO String
10559 |   origin a = primJS $ HTMLHyperlinkElementUtils.prim__origin (up a)
10560 |
10561 |
10562 |   export
10563 |   password :
10564 |        {auto 0 _ : JSType t}
10565 |     -> {auto 0 _ : Elem HTMLHyperlinkElementUtils (Types t)}
10566 |     -> t
10567 |     -> Attribute True Prelude.id String
10568 |   password v = fromPrim
10569 |                  "HTMLHyperlinkElementUtils.getpassword"
10570 |                  prim__password
10571 |                  prim__setPassword
10572 |                  (v :> HTMLHyperlinkElementUtils)
10573 |
10574 |
10575 |   export
10576 |   pathname :
10577 |        {auto 0 _ : JSType t}
10578 |     -> {auto 0 _ : Elem HTMLHyperlinkElementUtils (Types t)}
10579 |     -> t
10580 |     -> Attribute True Prelude.id String
10581 |   pathname v = fromPrim
10582 |                  "HTMLHyperlinkElementUtils.getpathname"
10583 |                  prim__pathname
10584 |                  prim__setPathname
10585 |                  (v :> HTMLHyperlinkElementUtils)
10586 |
10587 |
10588 |   export
10589 |   port :
10590 |        {auto 0 _ : JSType t}
10591 |     -> {auto 0 _ : Elem HTMLHyperlinkElementUtils (Types t)}
10592 |     -> t
10593 |     -> Attribute True Prelude.id String
10594 |   port v = fromPrim
10595 |              "HTMLHyperlinkElementUtils.getport"
10596 |              prim__port
10597 |              prim__setPort
10598 |              (v :> HTMLHyperlinkElementUtils)
10599 |
10600 |
10601 |   export
10602 |   protocol :
10603 |        {auto 0 _ : JSType t}
10604 |     -> {auto 0 _ : Elem HTMLHyperlinkElementUtils (Types t)}
10605 |     -> t
10606 |     -> Attribute True Prelude.id String
10607 |   protocol v = fromPrim
10608 |                  "HTMLHyperlinkElementUtils.getprotocol"
10609 |                  prim__protocol
10610 |                  prim__setProtocol
10611 |                  (v :> HTMLHyperlinkElementUtils)
10612 |
10613 |
10614 |   export
10615 |   search :
10616 |        {auto 0 _ : JSType t}
10617 |     -> {auto 0 _ : Elem HTMLHyperlinkElementUtils (Types t)}
10618 |     -> t
10619 |     -> Attribute True Prelude.id String
10620 |   search v = fromPrim
10621 |                "HTMLHyperlinkElementUtils.getsearch"
10622 |                prim__search
10623 |                prim__setSearch
10624 |                (v :> HTMLHyperlinkElementUtils)
10625 |
10626 |
10627 |   export
10628 |   username :
10629 |        {auto 0 _ : JSType t}
10630 |     -> {auto 0 _ : Elem HTMLHyperlinkElementUtils (Types t)}
10631 |     -> t
10632 |     -> Attribute True Prelude.id String
10633 |   username v = fromPrim
10634 |                  "HTMLHyperlinkElementUtils.getusername"
10635 |                  prim__username
10636 |                  prim__setUsername
10637 |                  (v :> HTMLHyperlinkElementUtils)
10638 |
10639 |
10640 |
10641 | namespace HTMLOrSVGElement
10642 |
10643 |   export
10644 |   autofocus :
10645 |        {auto 0 _ : JSType t}
10646 |     -> {auto 0 _ : Elem HTMLOrSVGElement (Types t)}
10647 |     -> t
10648 |     -> Attribute True Prelude.id Bool
10649 |   autofocus v = fromPrim
10650 |                   "HTMLOrSVGElement.getautofocus"
10651 |                   prim__autofocus
10652 |                   prim__setAutofocus
10653 |                   (v :> HTMLOrSVGElement)
10654 |
10655 |
10656 |   export
10657 |   dataset :
10658 |        {auto 0 _ : JSType t1}
10659 |     -> {auto 0 _ : Elem HTMLOrSVGElement (Types t1)}
10660 |     -> (obj : t1)
10661 |     -> JSIO DOMStringMap
10662 |   dataset a = primJS $ HTMLOrSVGElement.prim__dataset (up a)
10663 |
10664 |
10665 |   export
10666 |   nonce :
10667 |        {auto 0 _ : JSType t}
10668 |     -> {auto 0 _ : Elem HTMLOrSVGElement (Types t)}
10669 |     -> t
10670 |     -> Attribute True Prelude.id String
10671 |   nonce v = fromPrim
10672 |               "HTMLOrSVGElement.getnonce"
10673 |               prim__nonce
10674 |               prim__setNonce
10675 |               (v :> HTMLOrSVGElement)
10676 |
10677 |
10678 |   export
10679 |   tabIndex :
10680 |        {auto 0 _ : JSType t}
10681 |     -> {auto 0 _ : Elem HTMLOrSVGElement (Types t)}
10682 |     -> t
10683 |     -> Attribute True Prelude.id Int32
10684 |   tabIndex v = fromPrim
10685 |                  "HTMLOrSVGElement.gettabIndex"
10686 |                  prim__tabIndex
10687 |                  prim__setTabIndex
10688 |                  (v :> HTMLOrSVGElement)
10689 |
10690 |
10691 |   export
10692 |   blur :
10693 |        {auto 0 _ : JSType t1}
10694 |     -> {auto 0 _ : Elem HTMLOrSVGElement (Types t1)}
10695 |     -> (obj : t1)
10696 |     -> JSIO ()
10697 |   blur a = primJS $ HTMLOrSVGElement.prim__blur (up a)
10698 |
10699 |
10700 |   export
10701 |   focus' :
10702 |        {auto 0 _ : JSType t1}
10703 |     -> {auto 0 _ : JSType t2}
10704 |     -> {auto 0 _ : Elem HTMLOrSVGElement (Types t1)}
10705 |     -> {auto 0 _ : Elem FocusOptions (Types t2)}
10706 |     -> (obj : t1)
10707 |     -> (options : Optional t2)
10708 |     -> JSIO ()
10709 |   focus' a b = primJS $ HTMLOrSVGElement.prim__focus (up a) (optUp b)
10710 |
10711 |   export
10712 |   focus :
10713 |        {auto 0 _ : JSType t1}
10714 |     -> {auto 0 _ : Elem HTMLOrSVGElement (Types t1)}
10715 |     -> (obj : t1)
10716 |     -> JSIO ()
10717 |   focus a = primJS $ HTMLOrSVGElement.prim__focus (up a) undef
10718 |
10719 |
10720 |
10721 | namespace NavigatorConcurrentHardware
10722 |
10723 |   export
10724 |   hardwareConcurrency :
10725 |        {auto 0 _ : JSType t1}
10726 |     -> {auto 0 _ : Elem NavigatorConcurrentHardware (Types t1)}
10727 |     -> (obj : t1)
10728 |     -> JSIO JSBits64
10729 |   hardwareConcurrency a = primJS $
10730 |     NavigatorConcurrentHardware.prim__hardwareConcurrency (up a)
10731 |
10732 |
10733 |
10734 | namespace NavigatorContentUtils
10735 |
10736 |   export
10737 |   registerProtocolHandler :
10738 |        {auto 0 _ : JSType t1}
10739 |     -> {auto 0 _ : Elem NavigatorContentUtils (Types t1)}
10740 |     -> (obj : t1)
10741 |     -> (scheme : String)
10742 |     -> (url : String)
10743 |     -> JSIO ()
10744 |   registerProtocolHandler a b c = primJS $
10745 |     NavigatorContentUtils.prim__registerProtocolHandler (up a) b c
10746 |
10747 |
10748 |   export
10749 |   unregisterProtocolHandler :
10750 |        {auto 0 _ : JSType t1}
10751 |     -> {auto 0 _ : Elem NavigatorContentUtils (Types t1)}
10752 |     -> (obj : t1)
10753 |     -> (scheme : String)
10754 |     -> (url : String)
10755 |     -> JSIO ()
10756 |   unregisterProtocolHandler a b c = primJS $
10757 |     NavigatorContentUtils.prim__unregisterProtocolHandler (up a) b c
10758 |
10759 |
10760 |
10761 | namespace NavigatorCookies
10762 |
10763 |   export
10764 |   cookieEnabled :
10765 |        {auto 0 _ : JSType t1}
10766 |     -> {auto 0 _ : Elem NavigatorCookies (Types t1)}
10767 |     -> (obj : t1)
10768 |     -> JSIO Bool
10769 |   cookieEnabled a = tryJS "NavigatorCookies.cookieEnabled" $
10770 |     NavigatorCookies.prim__cookieEnabled (up a)
10771 |
10772 |
10773 |
10774 | namespace NavigatorID
10775 |
10776 |   export
10777 |   appCodeName :
10778 |        {auto 0 _ : JSType t1}
10779 |     -> {auto 0 _ : Elem NavigatorID (Types t1)}
10780 |     -> (obj : t1)
10781 |     -> JSIO String
10782 |   appCodeName a = primJS $ NavigatorID.prim__appCodeName (up a)
10783 |
10784 |
10785 |   export
10786 |   appName :
10787 |        {auto 0 _ : JSType t1}
10788 |     -> {auto 0 _ : Elem NavigatorID (Types t1)}
10789 |     -> (obj : t1)
10790 |     -> JSIO String
10791 |   appName a = primJS $ NavigatorID.prim__appName (up a)
10792 |
10793 |
10794 |   export
10795 |   appVersion :
10796 |        {auto 0 _ : JSType t1}
10797 |     -> {auto 0 _ : Elem NavigatorID (Types t1)}
10798 |     -> (obj : t1)
10799 |     -> JSIO String
10800 |   appVersion a = primJS $ NavigatorID.prim__appVersion (up a)
10801 |
10802 |
10803 |   export
10804 |   platform :
10805 |        {auto 0 _ : JSType t1}
10806 |     -> {auto 0 _ : Elem NavigatorID (Types t1)}
10807 |     -> (obj : t1)
10808 |     -> JSIO String
10809 |   platform a = primJS $ NavigatorID.prim__platform (up a)
10810 |
10811 |
10812 |   export
10813 |   product :
10814 |        {auto 0 _ : JSType t1}
10815 |     -> {auto 0 _ : Elem NavigatorID (Types t1)}
10816 |     -> (obj : t1)
10817 |     -> JSIO String
10818 |   product a = primJS $ NavigatorID.prim__product (up a)
10819 |
10820 |
10821 |   export
10822 |   productSub :
10823 |        {auto 0 _ : JSType t1}
10824 |     -> {auto 0 _ : Elem NavigatorID (Types t1)}
10825 |     -> (obj : t1)
10826 |     -> JSIO String
10827 |   productSub a = primJS $ NavigatorID.prim__productSub (up a)
10828 |
10829 |
10830 |   export
10831 |   userAgent :
10832 |        {auto 0 _ : JSType t1}
10833 |     -> {auto 0 _ : Elem NavigatorID (Types t1)}
10834 |     -> (obj : t1)
10835 |     -> JSIO String
10836 |   userAgent a = primJS $ NavigatorID.prim__userAgent (up a)
10837 |
10838 |
10839 |   export
10840 |   vendor :
10841 |        {auto 0 _ : JSType t1}
10842 |     -> {auto 0 _ : Elem NavigatorID (Types t1)}
10843 |     -> (obj : t1)
10844 |     -> JSIO String
10845 |   vendor a = primJS $ NavigatorID.prim__vendor (up a)
10846 |
10847 |
10848 |   export
10849 |   vendorSub :
10850 |        {auto 0 _ : JSType t1}
10851 |     -> {auto 0 _ : Elem NavigatorID (Types t1)}
10852 |     -> (obj : t1)
10853 |     -> JSIO String
10854 |   vendorSub a = primJS $ NavigatorID.prim__vendorSub (up a)
10855 |
10856 |
10857 |
10858 | namespace NavigatorLanguage
10859 |
10860 |   export
10861 |   language :
10862 |        {auto 0 _ : JSType t1}
10863 |     -> {auto 0 _ : Elem NavigatorLanguage (Types t1)}
10864 |     -> (obj : t1)
10865 |     -> JSIO String
10866 |   language a = primJS $ NavigatorLanguage.prim__language (up a)
10867 |
10868 |
10869 |   export
10870 |   languages :
10871 |        {auto 0 _ : JSType t1}
10872 |     -> {auto 0 _ : Elem NavigatorLanguage (Types t1)}
10873 |     -> (obj : t1)
10874 |     -> JSIO (Array String)
10875 |   languages a = primJS $ NavigatorLanguage.prim__languages (up a)
10876 |
10877 |
10878 |
10879 | namespace NavigatorOnLine
10880 |
10881 |   export
10882 |   onLine :
10883 |        {auto 0 _ : JSType t1}
10884 |     -> {auto 0 _ : Elem NavigatorOnLine (Types t1)}
10885 |     -> (obj : t1)
10886 |     -> JSIO Bool
10887 |   onLine a = tryJS "NavigatorOnLine.onLine" $
10888 |     NavigatorOnLine.prim__onLine (up a)
10889 |
10890 |
10891 |
10892 | namespace NavigatorPlugins
10893 |
10894 |   export
10895 |   mimeTypes :
10896 |        {auto 0 _ : JSType t1}
10897 |     -> {auto 0 _ : Elem NavigatorPlugins (Types t1)}
10898 |     -> (obj : t1)
10899 |     -> JSIO MimeTypeArray
10900 |   mimeTypes a = primJS $ NavigatorPlugins.prim__mimeTypes (up a)
10901 |
10902 |
10903 |   export
10904 |   plugins :
10905 |        {auto 0 _ : JSType t1}
10906 |     -> {auto 0 _ : Elem NavigatorPlugins (Types t1)}
10907 |     -> (obj : t1)
10908 |     -> JSIO PluginArray
10909 |   plugins a = primJS $ NavigatorPlugins.prim__plugins (up a)
10910 |
10911 |
10912 |   export
10913 |   javaEnabled :
10914 |        {auto 0 _ : JSType t1}
10915 |     -> {auto 0 _ : Elem NavigatorPlugins (Types t1)}
10916 |     -> (obj : t1)
10917 |     -> JSIO Bool
10918 |   javaEnabled a = tryJS "NavigatorPlugins.javaEnabled" $
10919 |     NavigatorPlugins.prim__javaEnabled (up a)
10920 |
10921 |
10922 |
10923 | namespace WindowEventHandlers
10924 |
10925 |   export
10926 |   onafterprint :
10927 |        {auto 0 _ : JSType t}
10928 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
10929 |     -> t
10930 |     -> Attribute False Maybe EventHandlerNonNull
10931 |   onafterprint v = fromNullablePrim
10932 |                      "WindowEventHandlers.getonafterprint"
10933 |                      prim__onafterprint
10934 |                      prim__setOnafterprint
10935 |                      (v :> WindowEventHandlers)
10936 |
10937 |
10938 |   export
10939 |   onbeforeprint :
10940 |        {auto 0 _ : JSType t}
10941 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
10942 |     -> t
10943 |     -> Attribute False Maybe EventHandlerNonNull
10944 |   onbeforeprint v = fromNullablePrim
10945 |                       "WindowEventHandlers.getonbeforeprint"
10946 |                       prim__onbeforeprint
10947 |                       prim__setOnbeforeprint
10948 |                       (v :> WindowEventHandlers)
10949 |
10950 |
10951 |   export
10952 |   onbeforeunload :
10953 |        {auto 0 _ : JSType t}
10954 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
10955 |     -> t
10956 |     -> Attribute False Maybe OnBeforeUnloadEventHandlerNonNull
10957 |   onbeforeunload v = fromNullablePrim
10958 |                        "WindowEventHandlers.getonbeforeunload"
10959 |                        prim__onbeforeunload
10960 |                        prim__setOnbeforeunload
10961 |                        (v :> WindowEventHandlers)
10962 |
10963 |
10964 |   export
10965 |   onhashchange :
10966 |        {auto 0 _ : JSType t}
10967 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
10968 |     -> t
10969 |     -> Attribute False Maybe EventHandlerNonNull
10970 |   onhashchange v = fromNullablePrim
10971 |                      "WindowEventHandlers.getonhashchange"
10972 |                      prim__onhashchange
10973 |                      prim__setOnhashchange
10974 |                      (v :> WindowEventHandlers)
10975 |
10976 |
10977 |   export
10978 |   onlanguagechange :
10979 |        {auto 0 _ : JSType t}
10980 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
10981 |     -> t
10982 |     -> Attribute False Maybe EventHandlerNonNull
10983 |   onlanguagechange v = fromNullablePrim
10984 |                          "WindowEventHandlers.getonlanguagechange"
10985 |                          prim__onlanguagechange
10986 |                          prim__setOnlanguagechange
10987 |                          (v :> WindowEventHandlers)
10988 |
10989 |
10990 |   export
10991 |   onmessage :
10992 |        {auto 0 _ : JSType t}
10993 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
10994 |     -> t
10995 |     -> Attribute False Maybe EventHandlerNonNull
10996 |   onmessage v = fromNullablePrim
10997 |                   "WindowEventHandlers.getonmessage"
10998 |                   prim__onmessage
10999 |                   prim__setOnmessage
11000 |                   (v :> WindowEventHandlers)
11001 |
11002 |
11003 |   export
11004 |   onmessageerror :
11005 |        {auto 0 _ : JSType t}
11006 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
11007 |     -> t
11008 |     -> Attribute False Maybe EventHandlerNonNull
11009 |   onmessageerror v = fromNullablePrim
11010 |                        "WindowEventHandlers.getonmessageerror"
11011 |                        prim__onmessageerror
11012 |                        prim__setOnmessageerror
11013 |                        (v :> WindowEventHandlers)
11014 |
11015 |
11016 |   export
11017 |   onoffline :
11018 |        {auto 0 _ : JSType t}
11019 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
11020 |     -> t
11021 |     -> Attribute False Maybe EventHandlerNonNull
11022 |   onoffline v = fromNullablePrim
11023 |                   "WindowEventHandlers.getonoffline"
11024 |                   prim__onoffline
11025 |                   prim__setOnoffline
11026 |                   (v :> WindowEventHandlers)
11027 |
11028 |
11029 |   export
11030 |   ononline :
11031 |        {auto 0 _ : JSType t}
11032 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
11033 |     -> t
11034 |     -> Attribute False Maybe EventHandlerNonNull
11035 |   ononline v = fromNullablePrim
11036 |                  "WindowEventHandlers.getononline"
11037 |                  prim__ononline
11038 |                  prim__setOnonline
11039 |                  (v :> WindowEventHandlers)
11040 |
11041 |
11042 |   export
11043 |   onpagehide :
11044 |        {auto 0 _ : JSType t}
11045 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
11046 |     -> t
11047 |     -> Attribute False Maybe EventHandlerNonNull
11048 |   onpagehide v = fromNullablePrim
11049 |                    "WindowEventHandlers.getonpagehide"
11050 |                    prim__onpagehide
11051 |                    prim__setOnpagehide
11052 |                    (v :> WindowEventHandlers)
11053 |
11054 |
11055 |   export
11056 |   onpageshow :
11057 |        {auto 0 _ : JSType t}
11058 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
11059 |     -> t
11060 |     -> Attribute False Maybe EventHandlerNonNull
11061 |   onpageshow v = fromNullablePrim
11062 |                    "WindowEventHandlers.getonpageshow"
11063 |                    prim__onpageshow
11064 |                    prim__setOnpageshow
11065 |                    (v :> WindowEventHandlers)
11066 |
11067 |
11068 |   export
11069 |   onpopstate :
11070 |        {auto 0 _ : JSType t}
11071 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
11072 |     -> t
11073 |     -> Attribute False Maybe EventHandlerNonNull
11074 |   onpopstate v = fromNullablePrim
11075 |                    "WindowEventHandlers.getonpopstate"
11076 |                    prim__onpopstate
11077 |                    prim__setOnpopstate
11078 |                    (v :> WindowEventHandlers)
11079 |
11080 |
11081 |   export
11082 |   onrejectionhandled :
11083 |        {auto 0 _ : JSType t}
11084 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
11085 |     -> t
11086 |     -> Attribute False Maybe EventHandlerNonNull
11087 |   onrejectionhandled v = fromNullablePrim
11088 |                            "WindowEventHandlers.getonrejectionhandled"
11089 |                            prim__onrejectionhandled
11090 |                            prim__setOnrejectionhandled
11091 |                            (v :> WindowEventHandlers)
11092 |
11093 |
11094 |   export
11095 |   onstorage :
11096 |        {auto 0 _ : JSType t}
11097 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
11098 |     -> t
11099 |     -> Attribute False Maybe EventHandlerNonNull
11100 |   onstorage v = fromNullablePrim
11101 |                   "WindowEventHandlers.getonstorage"
11102 |                   prim__onstorage
11103 |                   prim__setOnstorage
11104 |                   (v :> WindowEventHandlers)
11105 |
11106 |
11107 |   export
11108 |   onunhandledrejection :
11109 |        {auto 0 _ : JSType t}
11110 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
11111 |     -> t
11112 |     -> Attribute False Maybe EventHandlerNonNull
11113 |   onunhandledrejection v = fromNullablePrim
11114 |                              "WindowEventHandlers.getonunhandledrejection"
11115 |                              prim__onunhandledrejection
11116 |                              prim__setOnunhandledrejection
11117 |                              (v :> WindowEventHandlers)
11118 |
11119 |
11120 |   export
11121 |   onunload :
11122 |        {auto 0 _ : JSType t}
11123 |     -> {auto 0 _ : Elem WindowEventHandlers (Types t)}
11124 |     -> t
11125 |     -> Attribute False Maybe UIEventHandler
11126 |   onunload v = fromNullablePrim
11127 |                  "WindowEventHandlers.getonunload"
11128 |                  prim__onunload
11129 |                  prim__setOnunload
11130 |                  (v :> WindowEventHandlers)
11131 |
11132 |
11133 |
11134 | namespace WindowLocalStorage
11135 |
11136 |   export
11137 |   localStorage :
11138 |        {auto 0 _ : JSType t1}
11139 |     -> {auto 0 _ : Elem WindowLocalStorage (Types t1)}
11140 |     -> (obj : t1)
11141 |     -> JSIO Storage
11142 |   localStorage a = primJS $ WindowLocalStorage.prim__localStorage (up a)
11143 |
11144 |
11145 |
11146 | namespace WindowOrWorkerGlobalScope
11147 |
11148 |   export
11149 |   caches :
11150 |        {auto 0 _ : JSType t1}
11151 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11152 |     -> (obj : t1)
11153 |     -> JSIO CacheStorage
11154 |   caches a = primJS $ WindowOrWorkerGlobalScope.prim__caches (up a)
11155 |
11156 |
11157 |   export
11158 |   crossOriginIsolated :
11159 |        {auto 0 _ : JSType t1}
11160 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11161 |     -> (obj : t1)
11162 |     -> JSIO Bool
11163 |   crossOriginIsolated a = tryJS "WindowOrWorkerGlobalScope.crossOriginIsolated" $
11164 |     WindowOrWorkerGlobalScope.prim__crossOriginIsolated (up a)
11165 |
11166 |
11167 |   export
11168 |   indexedDB :
11169 |        {auto 0 _ : JSType t1}
11170 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11171 |     -> (obj : t1)
11172 |     -> JSIO IDBFactory
11173 |   indexedDB a = primJS $ WindowOrWorkerGlobalScope.prim__indexedDB (up a)
11174 |
11175 |
11176 |   export
11177 |   isSecureContext :
11178 |        {auto 0 _ : JSType t1}
11179 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11180 |     -> (obj : t1)
11181 |     -> JSIO Bool
11182 |   isSecureContext a = tryJS "WindowOrWorkerGlobalScope.isSecureContext" $
11183 |     WindowOrWorkerGlobalScope.prim__isSecureContext (up a)
11184 |
11185 |
11186 |   export
11187 |   origin :
11188 |        {auto 0 _ : JSType t1}
11189 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11190 |     -> (obj : t1)
11191 |     -> JSIO String
11192 |   origin a = primJS $ WindowOrWorkerGlobalScope.prim__origin (up a)
11193 |
11194 |
11195 |   export
11196 |   performance :
11197 |        {auto 0 _ : JSType t1}
11198 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11199 |     -> (obj : t1)
11200 |     -> JSIO Performance
11201 |   performance a = primJS $ WindowOrWorkerGlobalScope.prim__performance (up a)
11202 |
11203 |
11204 |   export
11205 |   atob :
11206 |        {auto 0 _ : JSType t1}
11207 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11208 |     -> (obj : t1)
11209 |     -> (data_ : String)
11210 |     -> JSIO ByteString
11211 |   atob a b = primJS $ WindowOrWorkerGlobalScope.prim__atob (up a) b
11212 |
11213 |
11214 |   export
11215 |   btoa :
11216 |        {auto 0 _ : JSType t1}
11217 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11218 |     -> (obj : t1)
11219 |     -> (data_ : String)
11220 |     -> JSIO String
11221 |   btoa a b = primJS $ WindowOrWorkerGlobalScope.prim__btoa (up a) b
11222 |
11223 |
11224 |   export
11225 |   clearInterval' :
11226 |        {auto 0 _ : JSType t1}
11227 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11228 |     -> (obj : t1)
11229 |     -> (id : Optional Int32)
11230 |     -> JSIO ()
11231 |   clearInterval' a b = primJS $
11232 |     WindowOrWorkerGlobalScope.prim__clearInterval (up a) (toFFI b)
11233 |
11234 |   export
11235 |   clearInterval :
11236 |        {auto 0 _ : JSType t1}
11237 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11238 |     -> (obj : t1)
11239 |     -> JSIO ()
11240 |   clearInterval a = primJS $
11241 |     WindowOrWorkerGlobalScope.prim__clearInterval (up a) undef
11242 |
11243 |
11244 |   export
11245 |   clearTimeout' :
11246 |        {auto 0 _ : JSType t1}
11247 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11248 |     -> (obj : t1)
11249 |     -> (id : Optional Int32)
11250 |     -> JSIO ()
11251 |   clearTimeout' a b = primJS $
11252 |     WindowOrWorkerGlobalScope.prim__clearTimeout (up a) (toFFI b)
11253 |
11254 |   export
11255 |   clearTimeout :
11256 |        {auto 0 _ : JSType t1}
11257 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11258 |     -> (obj : t1)
11259 |     -> JSIO ()
11260 |   clearTimeout a = primJS $
11261 |     WindowOrWorkerGlobalScope.prim__clearTimeout (up a) undef
11262 |
11263 |
11264 |   export
11265 |   createImageBitmap' :
11266 |        {auto 0 _ : JSType t1}
11267 |     -> {auto 0 _ : JSType t3}
11268 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11269 |     -> {auto 0 _ : Elem ImageBitmapOptions (Types t3)}
11270 |     -> (obj : t1)
11271 |     -> (image : HSum
11272 |                   [ HTMLImageElement
11273 |                   , SVGImageElement
11274 |                   , HTMLVideoElement
11275 |                   , HTMLCanvasElement
11276 |                   , ImageBitmap
11277 |                   , OffscreenCanvas
11278 |                   , Blob
11279 |                   , ImageData
11280 |                   ])
11281 |     -> (options : Optional t3)
11282 |     -> JSIO (Promise ImageBitmap)
11283 |   createImageBitmap' a b c = primJS $
11284 |     WindowOrWorkerGlobalScope.prim__createImageBitmap (up a) (toFFI b) (optUp c)
11285 |
11286 |   export
11287 |   createImageBitmap :
11288 |        {auto 0 _ : JSType t1}
11289 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11290 |     -> (obj : t1)
11291 |     -> (image : HSum
11292 |                   [ HTMLImageElement
11293 |                   , SVGImageElement
11294 |                   , HTMLVideoElement
11295 |                   , HTMLCanvasElement
11296 |                   , ImageBitmap
11297 |                   , OffscreenCanvas
11298 |                   , Blob
11299 |                   , ImageData
11300 |                   ])
11301 |     -> JSIO (Promise ImageBitmap)
11302 |   createImageBitmap a b = primJS $
11303 |     WindowOrWorkerGlobalScope.prim__createImageBitmap (up a) (toFFI b) undef
11304 |
11305 |
11306 |   export
11307 |   createImageBitmap1' :
11308 |        {auto 0 _ : JSType t1}
11309 |     -> {auto 0 _ : JSType t7}
11310 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11311 |     -> {auto 0 _ : Elem ImageBitmapOptions (Types t7)}
11312 |     -> (obj : t1)
11313 |     -> (image : HSum
11314 |                   [ HTMLImageElement
11315 |                   , SVGImageElement
11316 |                   , HTMLVideoElement
11317 |                   , HTMLCanvasElement
11318 |                   , ImageBitmap
11319 |                   , OffscreenCanvas
11320 |                   , Blob
11321 |                   , ImageData
11322 |                   ])
11323 |     -> (sx : Int32)
11324 |     -> (sy : Int32)
11325 |     -> (sw : Int32)
11326 |     -> (sh : Int32)
11327 |     -> (options : Optional t7)
11328 |     -> JSIO (Promise ImageBitmap)
11329 |   createImageBitmap1' a b c d e f g = primJS $
11330 |     WindowOrWorkerGlobalScope.prim__createImageBitmap1
11331 |       (up a)
11332 |       (toFFI b)
11333 |       c
11334 |       d
11335 |       e
11336 |       f
11337 |       (optUp g)
11338 |
11339 |   export
11340 |   createImageBitmap1 :
11341 |        {auto 0 _ : JSType t1}
11342 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11343 |     -> (obj : t1)
11344 |     -> (image : HSum
11345 |                   [ HTMLImageElement
11346 |                   , SVGImageElement
11347 |                   , HTMLVideoElement
11348 |                   , HTMLCanvasElement
11349 |                   , ImageBitmap
11350 |                   , OffscreenCanvas
11351 |                   , Blob
11352 |                   , ImageData
11353 |                   ])
11354 |     -> (sx : Int32)
11355 |     -> (sy : Int32)
11356 |     -> (sw : Int32)
11357 |     -> (sh : Int32)
11358 |     -> JSIO (Promise ImageBitmap)
11359 |   createImageBitmap1 a b c d e f = primJS $
11360 |     WindowOrWorkerGlobalScope.prim__createImageBitmap1
11361 |       (up a)
11362 |       (toFFI b)
11363 |       c
11364 |       d
11365 |       e
11366 |       f
11367 |       undef
11368 |
11369 |
11370 |   export
11371 |   fetch' :
11372 |        {auto 0 _ : JSType t1}
11373 |     -> {auto 0 _ : JSType t3}
11374 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11375 |     -> {auto 0 _ : Elem RequestInit (Types t3)}
11376 |     -> (obj : t1)
11377 |     -> (input : HSum [Request, String])
11378 |     -> (init : Optional t3)
11379 |     -> JSIO (Promise Response)
11380 |   fetch' a b c = primJS $
11381 |     WindowOrWorkerGlobalScope.prim__fetch (up a) (toFFI b) (optUp c)
11382 |
11383 |   export
11384 |   fetch :
11385 |        {auto 0 _ : JSType t1}
11386 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11387 |     -> (obj : t1)
11388 |     -> (input : HSum [Request, String])
11389 |     -> JSIO (Promise Response)
11390 |   fetch a b = primJS $
11391 |     WindowOrWorkerGlobalScope.prim__fetch (up a) (toFFI b) undef
11392 |
11393 |
11394 |   export
11395 |   queueMicrotask :
11396 |        {auto 0 _ : JSType t1}
11397 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11398 |     -> (obj : t1)
11399 |     -> (callback : VoidFunction)
11400 |     -> JSIO ()
11401 |   queueMicrotask a b = primJS $
11402 |     WindowOrWorkerGlobalScope.prim__queueMicrotask (up a) b
11403 |
11404 |
11405 |   export
11406 |   reportError :
11407 |        {auto 0 _ : JSType t1}
11408 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11409 |     -> (obj : t1)
11410 |     -> (e : Any)
11411 |     -> JSIO ()
11412 |   reportError a b = primJS $
11413 |     WindowOrWorkerGlobalScope.prim__reportError (up a) (toFFI b)
11414 |
11415 |
11416 |   export
11417 |   structuredClone' :
11418 |        {auto 0 _ : JSType t1}
11419 |     -> {auto 0 _ : JSType t3}
11420 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11421 |     -> {auto 0 _ : Elem StructuredSerializeOptions (Types t3)}
11422 |     -> (obj : t1)
11423 |     -> (value : Any)
11424 |     -> (options : Optional t3)
11425 |     -> JSIO Any
11426 |   structuredClone' a b c = tryJS "WindowOrWorkerGlobalScope.structuredClone'" $
11427 |     WindowOrWorkerGlobalScope.prim__structuredClone (up a) (toFFI b) (optUp c)
11428 |
11429 |   export
11430 |   structuredClone :
11431 |        {auto 0 _ : JSType t1}
11432 |     -> {auto 0 _ : Elem WindowOrWorkerGlobalScope (Types t1)}
11433 |     -> (obj : t1)
11434 |     -> (value : Any)
11435 |     -> JSIO Any
11436 |   structuredClone a b = tryJS "WindowOrWorkerGlobalScope.structuredClone" $
11437 |     WindowOrWorkerGlobalScope.prim__structuredClone (up a) (toFFI b) undef
11438 |
11439 |
11440 |
11441 |
11442 | --------------------------------------------------------------------------------
11443 | --          Dictionaries
11444 | --------------------------------------------------------------------------------
11445 |
11446 | namespace AssignedNodesOptions
11447 |
11448 |   export
11449 |   new' : (flatten : Optional Bool) -> JSIO AssignedNodesOptions
11450 |   new' a = primJS $ AssignedNodesOptions.prim__new (toFFI a)
11451 |
11452 |   export
11453 |   new : JSIO AssignedNodesOptions
11454 |   new = primJS $ AssignedNodesOptions.prim__new undef
11455 |
11456 |
11457 |   export
11458 |   flatten :
11459 |        {auto 0 _ : JSType t}
11460 |     -> {auto 0 _ : Elem AssignedNodesOptions (Types t)}
11461 |     -> t
11462 |     -> Attribute True Optional Bool
11463 |   flatten v = fromUndefOrPrim
11464 |                 "AssignedNodesOptions.getflatten"
11465 |                 prim__flatten
11466 |                 prim__setFlatten
11467 |                 False
11468 |                 (v :> AssignedNodesOptions)
11469 |
11470 |
11471 |
11472 | namespace CanvasRenderingContext2DSettings
11473 |
11474 |   export
11475 |   new' :
11476 |        (alpha : Optional Bool)
11477 |     -> (desynchronized : Optional Bool)
11478 |     -> JSIO CanvasRenderingContext2DSettings
11479 |   new' a b = primJS $
11480 |     CanvasRenderingContext2DSettings.prim__new (toFFI a) (toFFI b)
11481 |
11482 |   export
11483 |   new : JSIO CanvasRenderingContext2DSettings
11484 |   new = primJS $ CanvasRenderingContext2DSettings.prim__new undef undef
11485 |
11486 |
11487 |   export
11488 |   alpha :
11489 |        {auto 0 _ : JSType t}
11490 |     -> {auto 0 _ : Elem CanvasRenderingContext2DSettings (Types t)}
11491 |     -> t
11492 |     -> Attribute True Optional Bool
11493 |   alpha v = fromUndefOrPrim
11494 |               "CanvasRenderingContext2DSettings.getalpha"
11495 |               prim__alpha
11496 |               prim__setAlpha
11497 |               True
11498 |               (v :> CanvasRenderingContext2DSettings)
11499 |
11500 |
11501 |   export
11502 |   desynchronized :
11503 |        {auto 0 _ : JSType t}
11504 |     -> {auto 0 _ : Elem CanvasRenderingContext2DSettings (Types t)}
11505 |     -> t
11506 |     -> Attribute True Optional Bool
11507 |   desynchronized v = fromUndefOrPrim
11508 |                        "CanvasRenderingContext2DSettings.getdesynchronized"
11509 |                        prim__desynchronized
11510 |                        prim__setDesynchronized
11511 |                        False
11512 |                        (v :> CanvasRenderingContext2DSettings)
11513 |
11514 |
11515 |
11516 | namespace CloseEventInit
11517 |
11518 |   export
11519 |   new' :
11520 |        (wasClean : Optional Bool)
11521 |     -> (code : Optional Bits16)
11522 |     -> (reason : Optional String)
11523 |     -> JSIO CloseEventInit
11524 |   new' a b c = primJS $ CloseEventInit.prim__new (toFFI a) (toFFI b) (toFFI c)
11525 |
11526 |   export
11527 |   new : JSIO CloseEventInit
11528 |   new = primJS $ CloseEventInit.prim__new undef undef undef
11529 |
11530 |
11531 |   export
11532 |   code :
11533 |        {auto 0 _ : JSType t}
11534 |     -> {auto 0 _ : Elem CloseEventInit (Types t)}
11535 |     -> t
11536 |     -> Attribute True Optional Bits16
11537 |   code v = fromUndefOrPrim
11538 |              "CloseEventInit.getcode"
11539 |              prim__code
11540 |              prim__setCode
11541 |              0
11542 |              (v :> CloseEventInit)
11543 |
11544 |
11545 |   export
11546 |   reason :
11547 |        {auto 0 _ : JSType t}
11548 |     -> {auto 0 _ : Elem CloseEventInit (Types t)}
11549 |     -> t
11550 |     -> Attribute True Optional String
11551 |   reason v = fromUndefOrPrim
11552 |                "CloseEventInit.getreason"
11553 |                prim__reason
11554 |                prim__setReason
11555 |                ""
11556 |                (v :> CloseEventInit)
11557 |
11558 |
11559 |   export
11560 |   wasClean :
11561 |        {auto 0 _ : JSType t}
11562 |     -> {auto 0 _ : Elem CloseEventInit (Types t)}
11563 |     -> t
11564 |     -> Attribute True Optional Bool
11565 |   wasClean v = fromUndefOrPrim
11566 |                  "CloseEventInit.getwasClean"
11567 |                  prim__wasClean
11568 |                  prim__setWasClean
11569 |                  False
11570 |                  (v :> CloseEventInit)
11571 |
11572 |
11573 |
11574 | namespace DragEventInit
11575 |
11576 |   export
11577 |   new' : (dataTransfer : Optional (Maybe DataTransfer)) -> JSIO DragEventInit
11578 |   new' a = primJS $ DragEventInit.prim__new (toFFI a)
11579 |
11580 |   export
11581 |   new : JSIO DragEventInit
11582 |   new = primJS $ DragEventInit.prim__new undef
11583 |
11584 |
11585 |   export
11586 |   dataTransfer :
11587 |        {auto 0 _ : JSType t}
11588 |     -> {auto 0 _ : Elem DragEventInit (Types t)}
11589 |     -> t
11590 |     -> Attribute True Optional (Maybe DataTransfer)
11591 |   dataTransfer v = fromUndefOrPrim
11592 |                      "DragEventInit.getdataTransfer"
11593 |                      prim__dataTransfer
11594 |                      prim__setDataTransfer
11595 |                      Nothing
11596 |                      (v :> DragEventInit)
11597 |
11598 |
11599 |
11600 | namespace ElementDefinitionOptions
11601 |
11602 |   export
11603 |   new' : (extends : Optional String) -> JSIO ElementDefinitionOptions
11604 |   new' a = primJS $ ElementDefinitionOptions.prim__new (toFFI a)
11605 |
11606 |   export
11607 |   new : JSIO ElementDefinitionOptions
11608 |   new = primJS $ ElementDefinitionOptions.prim__new undef
11609 |
11610 |
11611 |   export
11612 |   extends :
11613 |        {auto 0 _ : JSType t}
11614 |     -> {auto 0 _ : Elem ElementDefinitionOptions (Types t)}
11615 |     -> t
11616 |     -> Attribute False Optional String
11617 |   extends v = fromUndefOrPrimNoDefault
11618 |                 "ElementDefinitionOptions.getextends"
11619 |                 prim__extends
11620 |                 prim__setExtends
11621 |                 (v :> ElementDefinitionOptions)
11622 |
11623 |
11624 |
11625 | namespace ErrorEventInit
11626 |
11627 |   export
11628 |   new' :
11629 |        (message : Optional String)
11630 |     -> (filename : Optional String)
11631 |     -> (lineno : Optional Bits32)
11632 |     -> (colno : Optional Bits32)
11633 |     -> (error : Optional Any)
11634 |     -> JSIO ErrorEventInit
11635 |   new' a b c d e = primJS $
11636 |     ErrorEventInit.prim__new (toFFI a) (toFFI b) (toFFI c) (toFFI d) (toFFI e)
11637 |
11638 |   export
11639 |   new : JSIO ErrorEventInit
11640 |   new = primJS $ ErrorEventInit.prim__new undef undef undef undef undef
11641 |
11642 |
11643 |   export
11644 |   colno :
11645 |        {auto 0 _ : JSType t}
11646 |     -> {auto 0 _ : Elem ErrorEventInit (Types t)}
11647 |     -> t
11648 |     -> Attribute True Optional Bits32
11649 |   colno v = fromUndefOrPrim
11650 |               "ErrorEventInit.getcolno"
11651 |               prim__colno
11652 |               prim__setColno
11653 |               0
11654 |               (v :> ErrorEventInit)
11655 |
11656 |
11657 |   export
11658 |   error :
11659 |        {auto 0 _ : JSType t}
11660 |     -> {auto 0 _ : Elem ErrorEventInit (Types t)}
11661 |     -> t
11662 |     -> Attribute True Optional Any
11663 |   error v = fromUndefOrPrim
11664 |               "ErrorEventInit.geterror"
11665 |               prim__error
11666 |               prim__setError
11667 |               (MkAny $ null {a = ()})
11668 |               (v :> ErrorEventInit)
11669 |
11670 |
11671 |   export
11672 |   filename :
11673 |        {auto 0 _ : JSType t}
11674 |     -> {auto 0 _ : Elem ErrorEventInit (Types t)}
11675 |     -> t
11676 |     -> Attribute True Optional String
11677 |   filename v = fromUndefOrPrim
11678 |                  "ErrorEventInit.getfilename"
11679 |                  prim__filename
11680 |                  prim__setFilename
11681 |                  ""
11682 |                  (v :> ErrorEventInit)
11683 |
11684 |
11685 |   export
11686 |   lineno :
11687 |        {auto 0 _ : JSType t}
11688 |     -> {auto 0 _ : Elem ErrorEventInit (Types t)}
11689 |     -> t
11690 |     -> Attribute True Optional Bits32
11691 |   lineno v = fromUndefOrPrim
11692 |                "ErrorEventInit.getlineno"
11693 |                prim__lineno
11694 |                prim__setLineno
11695 |                0
11696 |                (v :> ErrorEventInit)
11697 |
11698 |
11699 |   export
11700 |   message :
11701 |        {auto 0 _ : JSType t}
11702 |     -> {auto 0 _ : Elem ErrorEventInit (Types t)}
11703 |     -> t
11704 |     -> Attribute True Optional String
11705 |   message v = fromUndefOrPrim
11706 |                 "ErrorEventInit.getmessage"
11707 |                 prim__message
11708 |                 prim__setMessage
11709 |                 ""
11710 |                 (v :> ErrorEventInit)
11711 |
11712 |
11713 |
11714 | namespace EventSourceInit
11715 |
11716 |   export
11717 |   new' : (withCredentials : Optional Bool) -> JSIO EventSourceInit
11718 |   new' a = primJS $ EventSourceInit.prim__new (toFFI a)
11719 |
11720 |   export
11721 |   new : JSIO EventSourceInit
11722 |   new = primJS $ EventSourceInit.prim__new undef
11723 |
11724 |
11725 |   export
11726 |   withCredentials :
11727 |        {auto 0 _ : JSType t}
11728 |     -> {auto 0 _ : Elem EventSourceInit (Types t)}
11729 |     -> t
11730 |     -> Attribute True Optional Bool
11731 |   withCredentials v = fromUndefOrPrim
11732 |                         "EventSourceInit.getwithCredentials"
11733 |                         prim__withCredentials
11734 |                         prim__setWithCredentials
11735 |                         False
11736 |                         (v :> EventSourceInit)
11737 |
11738 |
11739 |
11740 | namespace FocusOptions
11741 |
11742 |   export
11743 |   new' : (preventScroll : Optional Bool) -> JSIO FocusOptions
11744 |   new' a = primJS $ FocusOptions.prim__new (toFFI a)
11745 |
11746 |   export
11747 |   new : JSIO FocusOptions
11748 |   new = primJS $ FocusOptions.prim__new undef
11749 |
11750 |
11751 |   export
11752 |   preventScroll :
11753 |        {auto 0 _ : JSType t}
11754 |     -> {auto 0 _ : Elem FocusOptions (Types t)}
11755 |     -> t
11756 |     -> Attribute True Optional Bool
11757 |   preventScroll v = fromUndefOrPrim
11758 |                       "FocusOptions.getpreventScroll"
11759 |                       prim__preventScroll
11760 |                       prim__setPreventScroll
11761 |                       False
11762 |                       (v :> FocusOptions)
11763 |
11764 |
11765 |
11766 | namespace FormDataEventInit
11767 |
11768 |   export
11769 |   new : (formData : FormData) -> JSIO FormDataEventInit
11770 |   new a = primJS $ FormDataEventInit.prim__new a
11771 |
11772 |
11773 |   export
11774 |   formData :
11775 |        {auto 0 _ : JSType t}
11776 |     -> {auto 0 _ : Elem FormDataEventInit (Types t)}
11777 |     -> t
11778 |     -> Attribute True Prelude.id FormData
11779 |   formData v = fromPrim
11780 |                  "FormDataEventInit.getformData"
11781 |                  prim__formData
11782 |                  prim__setFormData
11783 |                  (v :> FormDataEventInit)
11784 |
11785 |
11786 |
11787 | namespace HashChangeEventInit
11788 |
11789 |   export
11790 |   new' :
11791 |        (oldURL : Optional String)
11792 |     -> (newURL : Optional String)
11793 |     -> JSIO HashChangeEventInit
11794 |   new' a b = primJS $ HashChangeEventInit.prim__new (toFFI a) (toFFI b)
11795 |
11796 |   export
11797 |   new : JSIO HashChangeEventInit
11798 |   new = primJS $ HashChangeEventInit.prim__new undef undef
11799 |
11800 |
11801 |   export
11802 |   newURL :
11803 |        {auto 0 _ : JSType t}
11804 |     -> {auto 0 _ : Elem HashChangeEventInit (Types t)}
11805 |     -> t
11806 |     -> Attribute True Optional String
11807 |   newURL v = fromUndefOrPrim
11808 |                "HashChangeEventInit.getnewURL"
11809 |                prim__newURL
11810 |                prim__setNewURL
11811 |                ""
11812 |                (v :> HashChangeEventInit)
11813 |
11814 |
11815 |   export
11816 |   oldURL :
11817 |        {auto 0 _ : JSType t}
11818 |     -> {auto 0 _ : Elem HashChangeEventInit (Types t)}
11819 |     -> t
11820 |     -> Attribute True Optional String
11821 |   oldURL v = fromUndefOrPrim
11822 |                "HashChangeEventInit.getoldURL"
11823 |                prim__oldURL
11824 |                prim__setOldURL
11825 |                ""
11826 |                (v :> HashChangeEventInit)
11827 |
11828 |
11829 |
11830 | namespace ImageBitmapOptions
11831 |
11832 |   export
11833 |   new' :
11834 |        (imageOrientation : Optional ImageOrientation)
11835 |     -> (premultiplyAlpha : Optional PremultiplyAlpha)
11836 |     -> (colorSpaceConversion : Optional ColorSpaceConversion)
11837 |     -> (resizeWidth : Optional Bits32)
11838 |     -> (resizeHeight : Optional Bits32)
11839 |     -> (resizeQuality : Optional ResizeQuality)
11840 |     -> JSIO ImageBitmapOptions
11841 |   new' a b c d e f = primJS $
11842 |     ImageBitmapOptions.prim__new
11843 |       (toFFI a)
11844 |       (toFFI b)
11845 |       (toFFI c)
11846 |       (toFFI d)
11847 |       (toFFI e)
11848 |       (toFFI f)
11849 |
11850 |   export
11851 |   new : JSIO ImageBitmapOptions
11852 |   new = primJS $
11853 |     ImageBitmapOptions.prim__new undef undef undef undef undef undef
11854 |
11855 |
11856 |   export
11857 |   colorSpaceConversion :
11858 |        {auto 0 _ : JSType t}
11859 |     -> {auto 0 _ : Elem ImageBitmapOptions (Types t)}
11860 |     -> t
11861 |     -> Attribute False Optional ColorSpaceConversion
11862 |   colorSpaceConversion v = fromUndefOrPrimNoDefault
11863 |                              "ImageBitmapOptions.getcolorSpaceConversion"
11864 |                              prim__colorSpaceConversion
11865 |                              prim__setColorSpaceConversion
11866 |                              (v :> ImageBitmapOptions)
11867 |
11868 |
11869 |   export
11870 |   imageOrientation :
11871 |        {auto 0 _ : JSType t}
11872 |     -> {auto 0 _ : Elem ImageBitmapOptions (Types t)}
11873 |     -> t
11874 |     -> Attribute False Optional ImageOrientation
11875 |   imageOrientation v = fromUndefOrPrimNoDefault
11876 |                          "ImageBitmapOptions.getimageOrientation"
11877 |                          prim__imageOrientation
11878 |                          prim__setImageOrientation
11879 |                          (v :> ImageBitmapOptions)
11880 |
11881 |
11882 |   export
11883 |   premultiplyAlpha :
11884 |        {auto 0 _ : JSType t}
11885 |     -> {auto 0 _ : Elem ImageBitmapOptions (Types t)}
11886 |     -> t
11887 |     -> Attribute False Optional PremultiplyAlpha
11888 |   premultiplyAlpha v = fromUndefOrPrimNoDefault
11889 |                          "ImageBitmapOptions.getpremultiplyAlpha"
11890 |                          prim__premultiplyAlpha
11891 |                          prim__setPremultiplyAlpha
11892 |                          (v :> ImageBitmapOptions)
11893 |
11894 |
11895 |   export
11896 |   resizeHeight :
11897 |        {auto 0 _ : JSType t}
11898 |     -> {auto 0 _ : Elem ImageBitmapOptions (Types t)}
11899 |     -> t
11900 |     -> Attribute False Optional Bits32
11901 |   resizeHeight v = fromUndefOrPrimNoDefault
11902 |                      "ImageBitmapOptions.getresizeHeight"
11903 |                      prim__resizeHeight
11904 |                      prim__setResizeHeight
11905 |                      (v :> ImageBitmapOptions)
11906 |
11907 |
11908 |   export
11909 |   resizeQuality :
11910 |        {auto 0 _ : JSType t}
11911 |     -> {auto 0 _ : Elem ImageBitmapOptions (Types t)}
11912 |     -> t
11913 |     -> Attribute False Optional ResizeQuality
11914 |   resizeQuality v = fromUndefOrPrimNoDefault
11915 |                       "ImageBitmapOptions.getresizeQuality"
11916 |                       prim__resizeQuality
11917 |                       prim__setResizeQuality
11918 |                       (v :> ImageBitmapOptions)
11919 |
11920 |
11921 |   export
11922 |   resizeWidth :
11923 |        {auto 0 _ : JSType t}
11924 |     -> {auto 0 _ : Elem ImageBitmapOptions (Types t)}
11925 |     -> t
11926 |     -> Attribute False Optional Bits32
11927 |   resizeWidth v = fromUndefOrPrimNoDefault
11928 |                     "ImageBitmapOptions.getresizeWidth"
11929 |                     prim__resizeWidth
11930 |                     prim__setResizeWidth
11931 |                     (v :> ImageBitmapOptions)
11932 |
11933 |
11934 |
11935 | namespace ImageBitmapRenderingContextSettings
11936 |
11937 |   export
11938 |   new' : (alpha : Optional Bool) -> JSIO ImageBitmapRenderingContextSettings
11939 |   new' a = primJS $ ImageBitmapRenderingContextSettings.prim__new (toFFI a)
11940 |
11941 |   export
11942 |   new : JSIO ImageBitmapRenderingContextSettings
11943 |   new = primJS $ ImageBitmapRenderingContextSettings.prim__new undef
11944 |
11945 |
11946 |   export
11947 |   alpha :
11948 |        {auto 0 _ : JSType t}
11949 |     -> {auto 0 _ : Elem ImageBitmapRenderingContextSettings (Types t)}
11950 |     -> t
11951 |     -> Attribute True Optional Bool
11952 |   alpha v = fromUndefOrPrim
11953 |               "ImageBitmapRenderingContextSettings.getalpha"
11954 |               prim__alpha
11955 |               prim__setAlpha
11956 |               True
11957 |               (v :> ImageBitmapRenderingContextSettings)
11958 |
11959 |
11960 |
11961 | namespace ImageEncodeOptions
11962 |
11963 |   export
11964 |   new' :
11965 |        (type : Optional String)
11966 |     -> (quality : Optional Double)
11967 |     -> JSIO ImageEncodeOptions
11968 |   new' a b = primJS $ ImageEncodeOptions.prim__new (toFFI a) (toFFI b)
11969 |
11970 |   export
11971 |   new : JSIO ImageEncodeOptions
11972 |   new = primJS $ ImageEncodeOptions.prim__new undef undef
11973 |
11974 |
11975 |   export
11976 |   quality :
11977 |        {auto 0 _ : JSType t}
11978 |     -> {auto 0 _ : Elem ImageEncodeOptions (Types t)}
11979 |     -> t
11980 |     -> Attribute False Optional Double
11981 |   quality v = fromUndefOrPrimNoDefault
11982 |                 "ImageEncodeOptions.getquality"
11983 |                 prim__quality
11984 |                 prim__setQuality
11985 |                 (v :> ImageEncodeOptions)
11986 |
11987 |
11988 |   export
11989 |   type :
11990 |        {auto 0 _ : JSType t}
11991 |     -> {auto 0 _ : Elem ImageEncodeOptions (Types t)}
11992 |     -> t
11993 |     -> Attribute True Optional String
11994 |   type v = fromUndefOrPrim
11995 |              "ImageEncodeOptions.gettype"
11996 |              prim__type
11997 |              prim__setType
11998 |              "image/png"
11999 |              (v :> ImageEncodeOptions)
12000 |
12001 |
12002 |
12003 | namespace MessageEventInit
12004 |
12005 |   export
12006 |   new' :
12007 |        (data_ : Optional Any)
12008 |     -> (origin : Optional String)
12009 |     -> (lastEventId : Optional String)
12010 |     -> (source : Optional
12011 |                    (Maybe (HSum [WindowProxy, MessagePort, ServiceWorker])))
12012 |     -> (ports : Optional (Array MessagePort))
12013 |     -> JSIO MessageEventInit
12014 |   new' a b c d e = primJS $
12015 |     MessageEventInit.prim__new (toFFI a) (toFFI b) (toFFI c) (toFFI d) (toFFI e)
12016 |
12017 |   export
12018 |   new : JSIO MessageEventInit
12019 |   new = primJS $ MessageEventInit.prim__new undef undef undef undef undef
12020 |
12021 |
12022 |   export
12023 |   data_ :
12024 |        {auto 0 _ : JSType t}
12025 |     -> {auto 0 _ : Elem MessageEventInit (Types t)}
12026 |     -> t
12027 |     -> Attribute True Optional Any
12028 |   data_ v = fromUndefOrPrim
12029 |               "MessageEventInit.getdata"
12030 |               prim__data
12031 |               prim__setData
12032 |               (MkAny $ null {a = ()})
12033 |               (v :> MessageEventInit)
12034 |
12035 |
12036 |   export
12037 |   lastEventId :
12038 |        {auto 0 _ : JSType t}
12039 |     -> {auto 0 _ : Elem MessageEventInit (Types t)}
12040 |     -> t
12041 |     -> Attribute True Optional String
12042 |   lastEventId v = fromUndefOrPrim
12043 |                     "MessageEventInit.getlastEventId"
12044 |                     prim__lastEventId
12045 |                     prim__setLastEventId
12046 |                     ""
12047 |                     (v :> MessageEventInit)
12048 |
12049 |
12050 |   export
12051 |   origin :
12052 |        {auto 0 _ : JSType t}
12053 |     -> {auto 0 _ : Elem MessageEventInit (Types t)}
12054 |     -> t
12055 |     -> Attribute True Optional String
12056 |   origin v = fromUndefOrPrim
12057 |                "MessageEventInit.getorigin"
12058 |                prim__origin
12059 |                prim__setOrigin
12060 |                ""
12061 |                (v :> MessageEventInit)
12062 |
12063 |
12064 |   export
12065 |   ports :
12066 |        {auto 0 _ : JSType t}
12067 |     -> {auto 0 _ : Elem MessageEventInit (Types t)}
12068 |     -> t
12069 |     -> Attribute False Optional (Array MessagePort)
12070 |   ports v = fromUndefOrPrimNoDefault
12071 |               "MessageEventInit.getports"
12072 |               prim__ports
12073 |               prim__setPorts
12074 |               (v :> MessageEventInit)
12075 |
12076 |
12077 |   export
12078 |   source :
12079 |        {auto 0 _ : JSType t}
12080 |     -> {auto 0 _ : Elem MessageEventInit (Types t)}
12081 |     -> t
12082 |     -> Attribute True Optional (Maybe
12083 |                                   (Union3
12084 |                                      WindowProxy
12085 |                                      MessagePort
12086 |                                      ServiceWorker))
12087 |   source v = fromUndefOrPrim
12088 |                "MessageEventInit.getsource"
12089 |                prim__source
12090 |                prim__setSource
12091 |                Nothing
12092 |                (v :> MessageEventInit)
12093 |
12094 |
12095 |
12096 | namespace PageTransitionEventInit
12097 |
12098 |   export
12099 |   new' : (persisted : Optional Bool) -> JSIO PageTransitionEventInit
12100 |   new' a = primJS $ PageTransitionEventInit.prim__new (toFFI a)
12101 |
12102 |   export
12103 |   new : JSIO PageTransitionEventInit
12104 |   new = primJS $ PageTransitionEventInit.prim__new undef
12105 |
12106 |
12107 |   export
12108 |   persisted :
12109 |        {auto 0 _ : JSType t}
12110 |     -> {auto 0 _ : Elem PageTransitionEventInit (Types t)}
12111 |     -> t
12112 |     -> Attribute True Optional Bool
12113 |   persisted v = fromUndefOrPrim
12114 |                   "PageTransitionEventInit.getpersisted"
12115 |                   prim__persisted
12116 |                   prim__setPersisted
12117 |                   False
12118 |                   (v :> PageTransitionEventInit)
12119 |
12120 |
12121 |
12122 | namespace PopStateEventInit
12123 |
12124 |   export
12125 |   new' : (state : Optional Any) -> JSIO PopStateEventInit
12126 |   new' a = primJS $ PopStateEventInit.prim__new (toFFI a)
12127 |
12128 |   export
12129 |   new : JSIO PopStateEventInit
12130 |   new = primJS $ PopStateEventInit.prim__new undef
12131 |
12132 |
12133 |   export
12134 |   state :
12135 |        {auto 0 _ : JSType t}
12136 |     -> {auto 0 _ : Elem PopStateEventInit (Types t)}
12137 |     -> t
12138 |     -> Attribute True Optional Any
12139 |   state v = fromUndefOrPrim
12140 |               "PopStateEventInit.getstate"
12141 |               prim__state
12142 |               prim__setState
12143 |               (MkAny $ null {a = ()})
12144 |               (v :> PopStateEventInit)
12145 |
12146 |
12147 |
12148 | namespace PostMessageOptions
12149 |
12150 |   export
12151 |   new' : (transfer : Optional (Array Object)) -> JSIO PostMessageOptions
12152 |   new' a = primJS $ PostMessageOptions.prim__new (toFFI a)
12153 |
12154 |   export
12155 |   new : JSIO PostMessageOptions
12156 |   new = primJS $ PostMessageOptions.prim__new undef
12157 |
12158 |
12159 |   export
12160 |   transfer :
12161 |        {auto 0 _ : JSType t}
12162 |     -> {auto 0 _ : Elem PostMessageOptions (Types t)}
12163 |     -> t
12164 |     -> Attribute False Optional (Array Object)
12165 |   transfer v = fromUndefOrPrimNoDefault
12166 |                  "PostMessageOptions.gettransfer"
12167 |                  prim__transfer
12168 |                  prim__setTransfer
12169 |                  (v :> PostMessageOptions)
12170 |
12171 |
12172 |
12173 | namespace PromiseRejectionEventInit
12174 |
12175 |   export
12176 |   new' :
12177 |        (promise : Promise AnyPtr)
12178 |     -> (reason : Optional Any)
12179 |     -> JSIO PromiseRejectionEventInit
12180 |   new' a b = primJS $ PromiseRejectionEventInit.prim__new a (toFFI b)
12181 |
12182 |   export
12183 |   new : (promise : Promise AnyPtr) -> JSIO PromiseRejectionEventInit
12184 |   new a = primJS $ PromiseRejectionEventInit.prim__new a undef
12185 |
12186 |
12187 |   export
12188 |   promise :
12189 |        {auto 0 _ : JSType t}
12190 |     -> {auto 0 _ : Elem PromiseRejectionEventInit (Types t)}
12191 |     -> t
12192 |     -> Attribute True Prelude.id (Promise AnyPtr)
12193 |   promise v = fromPrim
12194 |                 "PromiseRejectionEventInit.getpromise"
12195 |                 prim__promise
12196 |                 prim__setPromise
12197 |                 (v :> PromiseRejectionEventInit)
12198 |
12199 |
12200 |   export
12201 |   reason :
12202 |        {auto 0 _ : JSType t}
12203 |     -> {auto 0 _ : Elem PromiseRejectionEventInit (Types t)}
12204 |     -> t
12205 |     -> Attribute False Optional Any
12206 |   reason v = fromUndefOrPrimNoDefault
12207 |                "PromiseRejectionEventInit.getreason"
12208 |                prim__reason
12209 |                prim__setReason
12210 |                (v :> PromiseRejectionEventInit)
12211 |
12212 |
12213 |
12214 | namespace StorageEventInit
12215 |
12216 |   export
12217 |   new' :
12218 |        (key : Optional (Maybe String))
12219 |     -> (oldValue : Optional (Maybe String))
12220 |     -> (newValue : Optional (Maybe String))
12221 |     -> (url : Optional String)
12222 |     -> (storageArea : Optional (Maybe Storage))
12223 |     -> JSIO StorageEventInit
12224 |   new' a b c d e = primJS $
12225 |     StorageEventInit.prim__new (toFFI a) (toFFI b) (toFFI c) (toFFI d) (toFFI e)
12226 |
12227 |   export
12228 |   new : JSIO StorageEventInit
12229 |   new = primJS $ StorageEventInit.prim__new undef undef undef undef undef
12230 |
12231 |
12232 |   export
12233 |   key :
12234 |        {auto 0 _ : JSType t}
12235 |     -> {auto 0 _ : Elem StorageEventInit (Types t)}
12236 |     -> t
12237 |     -> Attribute True Optional (Maybe String)
12238 |   key v = fromUndefOrPrim
12239 |             "StorageEventInit.getkey"
12240 |             prim__key
12241 |             prim__setKey
12242 |             Nothing
12243 |             (v :> StorageEventInit)
12244 |
12245 |
12246 |   export
12247 |   newValue :
12248 |        {auto 0 _ : JSType t}
12249 |     -> {auto 0 _ : Elem StorageEventInit (Types t)}
12250 |     -> t
12251 |     -> Attribute True Optional (Maybe String)
12252 |   newValue v = fromUndefOrPrim
12253 |                  "StorageEventInit.getnewValue"
12254 |                  prim__newValue
12255 |                  prim__setNewValue
12256 |                  Nothing
12257 |                  (v :> StorageEventInit)
12258 |
12259 |
12260 |   export
12261 |   oldValue :
12262 |        {auto 0 _ : JSType t}
12263 |     -> {auto 0 _ : Elem StorageEventInit (Types t)}
12264 |     -> t
12265 |     -> Attribute True Optional (Maybe String)
12266 |   oldValue v = fromUndefOrPrim
12267 |                  "StorageEventInit.getoldValue"
12268 |                  prim__oldValue
12269 |                  prim__setOldValue
12270 |                  Nothing
12271 |                  (v :> StorageEventInit)
12272 |
12273 |
12274 |   export
12275 |   storageArea :
12276 |        {auto 0 _ : JSType t}
12277 |     -> {auto 0 _ : Elem StorageEventInit (Types t)}
12278 |     -> t
12279 |     -> Attribute True Optional (Maybe Storage)
12280 |   storageArea v = fromUndefOrPrim
12281 |                     "StorageEventInit.getstorageArea"
12282 |                     prim__storageArea
12283 |                     prim__setStorageArea
12284 |                     Nothing
12285 |                     (v :> StorageEventInit)
12286 |
12287 |
12288 |   export
12289 |   url :
12290 |        {auto 0 _ : JSType t}
12291 |     -> {auto 0 _ : Elem StorageEventInit (Types t)}
12292 |     -> t
12293 |     -> Attribute True Optional String
12294 |   url v = fromUndefOrPrim
12295 |             "StorageEventInit.geturl"
12296 |             prim__url
12297 |             prim__setUrl
12298 |             ""
12299 |             (v :> StorageEventInit)
12300 |
12301 |
12302 |
12303 | namespace StructuredSerializeOptions
12304 |
12305 |   export
12306 |   new' : (transfer : Optional (Array Object)) -> JSIO StructuredSerializeOptions
12307 |   new' a = primJS $ StructuredSerializeOptions.prim__new (toFFI a)
12308 |
12309 |   export
12310 |   new : JSIO StructuredSerializeOptions
12311 |   new = primJS $ StructuredSerializeOptions.prim__new undef
12312 |
12313 |
12314 |   export
12315 |   transfer :
12316 |        {auto 0 _ : JSType t}
12317 |     -> {auto 0 _ : Elem StructuredSerializeOptions (Types t)}
12318 |     -> t
12319 |     -> Attribute False Optional (Array Object)
12320 |   transfer v = fromUndefOrPrimNoDefault
12321 |                  "StructuredSerializeOptions.gettransfer"
12322 |                  prim__transfer
12323 |                  prim__setTransfer
12324 |                  (v :> StructuredSerializeOptions)
12325 |
12326 |
12327 |
12328 | namespace SubmitEventInit
12329 |
12330 |   export
12331 |   new' :
12332 |        {auto 0 _ : JSType t1}
12333 |     -> {auto 0 _ : Elem HTMLElement (Types t1)}
12334 |     -> (submitter : Optional (Maybe t1))
12335 |     -> JSIO SubmitEventInit
12336 |   new' a = primJS $ SubmitEventInit.prim__new (omyUp a)
12337 |
12338 |   export
12339 |   new : JSIO SubmitEventInit
12340 |   new = primJS $ SubmitEventInit.prim__new undef
12341 |
12342 |
12343 |   export
12344 |   submitter :
12345 |        {auto 0 _ : JSType t}
12346 |     -> {auto 0 _ : Elem SubmitEventInit (Types t)}
12347 |     -> t
12348 |     -> Attribute True Optional (Maybe HTMLElement)
12349 |   submitter v = fromUndefOrPrim
12350 |                   "SubmitEventInit.getsubmitter"
12351 |                   prim__submitter
12352 |                   prim__setSubmitter
12353 |                   Nothing
12354 |                   (v :> SubmitEventInit)
12355 |
12356 |
12357 |
12358 | namespace TrackEventInit
12359 |
12360 |   export
12361 |   new' :
12362 |        (track : Optional (Maybe (HSum [VideoTrack, AudioTrack, TextTrack])))
12363 |     -> JSIO TrackEventInit
12364 |   new' a = primJS $ TrackEventInit.prim__new (toFFI a)
12365 |
12366 |   export
12367 |   new : JSIO TrackEventInit
12368 |   new = primJS $ TrackEventInit.prim__new undef
12369 |
12370 |
12371 |   export
12372 |   track :
12373 |        {auto 0 _ : JSType t}
12374 |     -> {auto 0 _ : Elem TrackEventInit (Types t)}
12375 |     -> t
12376 |     -> Attribute True Optional (Maybe
12377 |                                   (HSum [VideoTrack, AudioTrack, TextTrack]))
12378 |   track v = fromUndefOrPrim
12379 |               "TrackEventInit.gettrack"
12380 |               prim__track
12381 |               prim__setTrack
12382 |               Nothing
12383 |               (v :> TrackEventInit)
12384 |
12385 |
12386 |
12387 | namespace ValidityStateFlags
12388 |
12389 |   export
12390 |   new' :
12391 |        (valueMissing : Optional Bool)
12392 |     -> (typeMismatch : Optional Bool)
12393 |     -> (patternMismatch : Optional Bool)
12394 |     -> (tooLong : Optional Bool)
12395 |     -> (tooShort : Optional Bool)
12396 |     -> (rangeUnderflow : Optional Bool)
12397 |     -> (rangeOverflow : Optional Bool)
12398 |     -> (stepMismatch : Optional Bool)
12399 |     -> (badInput : Optional Bool)
12400 |     -> (customError : Optional Bool)
12401 |     -> JSIO ValidityStateFlags
12402 |   new' a b c d e f g h i j = primJS $
12403 |     ValidityStateFlags.prim__new
12404 |       (toFFI a)
12405 |       (toFFI b)
12406 |       (toFFI c)
12407 |       (toFFI d)
12408 |       (toFFI e)
12409 |       (toFFI f)
12410 |       (toFFI g)
12411 |       (toFFI h)
12412 |       (toFFI i)
12413 |       (toFFI j)
12414 |
12415 |   export
12416 |   new : JSIO ValidityStateFlags
12417 |   new = primJS $
12418 |     ValidityStateFlags.prim__new
12419 |       undef
12420 |       undef
12421 |       undef
12422 |       undef
12423 |       undef
12424 |       undef
12425 |       undef
12426 |       undef
12427 |       undef
12428 |       undef
12429 |
12430 |
12431 |   export
12432 |   badInput :
12433 |        {auto 0 _ : JSType t}
12434 |     -> {auto 0 _ : Elem ValidityStateFlags (Types t)}
12435 |     -> t
12436 |     -> Attribute True Optional Bool
12437 |   badInput v = fromUndefOrPrim
12438 |                  "ValidityStateFlags.getbadInput"
12439 |                  prim__badInput
12440 |                  prim__setBadInput
12441 |                  False
12442 |                  (v :> ValidityStateFlags)
12443 |
12444 |
12445 |   export
12446 |   customError :
12447 |        {auto 0 _ : JSType t}
12448 |     -> {auto 0 _ : Elem ValidityStateFlags (Types t)}
12449 |     -> t
12450 |     -> Attribute True Optional Bool
12451 |   customError v = fromUndefOrPrim
12452 |                     "ValidityStateFlags.getcustomError"
12453 |                     prim__customError
12454 |                     prim__setCustomError
12455 |                     False
12456 |                     (v :> ValidityStateFlags)
12457 |
12458 |
12459 |   export
12460 |   patternMismatch :
12461 |        {auto 0 _ : JSType t}
12462 |     -> {auto 0 _ : Elem ValidityStateFlags (Types t)}
12463 |     -> t
12464 |     -> Attribute True Optional Bool
12465 |   patternMismatch v = fromUndefOrPrim
12466 |                         "ValidityStateFlags.getpatternMismatch"
12467 |                         prim__patternMismatch
12468 |                         prim__setPatternMismatch
12469 |                         False
12470 |                         (v :> ValidityStateFlags)
12471 |
12472 |
12473 |   export
12474 |   rangeOverflow :
12475 |        {auto 0 _ : JSType t}
12476 |     -> {auto 0 _ : Elem ValidityStateFlags (Types t)}
12477 |     -> t
12478 |     -> Attribute True Optional Bool
12479 |   rangeOverflow v = fromUndefOrPrim
12480 |                       "ValidityStateFlags.getrangeOverflow"
12481 |                       prim__rangeOverflow
12482 |                       prim__setRangeOverflow
12483 |                       False
12484 |                       (v :> ValidityStateFlags)
12485 |
12486 |
12487 |   export
12488 |   rangeUnderflow :
12489 |        {auto 0 _ : JSType t}
12490 |     -> {auto 0 _ : Elem ValidityStateFlags (Types t)}
12491 |     -> t
12492 |     -> Attribute True Optional Bool
12493 |   rangeUnderflow v = fromUndefOrPrim
12494 |                        "ValidityStateFlags.getrangeUnderflow"
12495 |                        prim__rangeUnderflow
12496 |                        prim__setRangeUnderflow
12497 |                        False
12498 |                        (v :> ValidityStateFlags)
12499 |
12500 |
12501 |   export
12502 |   stepMismatch :
12503 |        {auto 0 _ : JSType t}
12504 |     -> {auto 0 _ : Elem ValidityStateFlags (Types t)}
12505 |     -> t
12506 |     -> Attribute True Optional Bool
12507 |   stepMismatch v = fromUndefOrPrim
12508 |                      "ValidityStateFlags.getstepMismatch"
12509 |                      prim__stepMismatch
12510 |                      prim__setStepMismatch
12511 |                      False
12512 |                      (v :> ValidityStateFlags)
12513 |
12514 |
12515 |   export
12516 |   tooLong :
12517 |        {auto 0 _ : JSType t}
12518 |     -> {auto 0 _ : Elem ValidityStateFlags (Types t)}
12519 |     -> t
12520 |     -> Attribute True Optional Bool
12521 |   tooLong v = fromUndefOrPrim
12522 |                 "ValidityStateFlags.gettooLong"
12523 |                 prim__tooLong
12524 |                 prim__setTooLong
12525 |                 False
12526 |                 (v :> ValidityStateFlags)
12527 |
12528 |
12529 |   export
12530 |   tooShort :
12531 |        {auto 0 _ : JSType t}
12532 |     -> {auto 0 _ : Elem ValidityStateFlags (Types t)}
12533 |     -> t
12534 |     -> Attribute True Optional Bool
12535 |   tooShort v = fromUndefOrPrim
12536 |                  "ValidityStateFlags.gettooShort"
12537 |                  prim__tooShort
12538 |                  prim__setTooShort
12539 |                  False
12540 |                  (v :> ValidityStateFlags)
12541 |
12542 |
12543 |   export
12544 |   typeMismatch :
12545 |        {auto 0 _ : JSType t}
12546 |     -> {auto 0 _ : Elem ValidityStateFlags (Types t)}
12547 |     -> t
12548 |     -> Attribute True Optional Bool
12549 |   typeMismatch v = fromUndefOrPrim
12550 |                      "ValidityStateFlags.gettypeMismatch"
12551 |                      prim__typeMismatch
12552 |                      prim__setTypeMismatch
12553 |                      False
12554 |                      (v :> ValidityStateFlags)
12555 |
12556 |
12557 |   export
12558 |   valueMissing :
12559 |        {auto 0 _ : JSType t}
12560 |     -> {auto 0 _ : Elem ValidityStateFlags (Types t)}
12561 |     -> t
12562 |     -> Attribute True Optional Bool
12563 |   valueMissing v = fromUndefOrPrim
12564 |                      "ValidityStateFlags.getvalueMissing"
12565 |                      prim__valueMissing
12566 |                      prim__setValueMissing
12567 |                      False
12568 |                      (v :> ValidityStateFlags)
12569 |
12570 |
12571 |
12572 | namespace WindowPostMessageOptions
12573 |
12574 |   export
12575 |   new' : (targetOrigin : Optional String) -> JSIO WindowPostMessageOptions
12576 |   new' a = primJS $ WindowPostMessageOptions.prim__new (toFFI a)
12577 |
12578 |   export
12579 |   new : JSIO WindowPostMessageOptions
12580 |   new = primJS $ WindowPostMessageOptions.prim__new undef
12581 |
12582 |
12583 |   export
12584 |   targetOrigin :
12585 |        {auto 0 _ : JSType t}
12586 |     -> {auto 0 _ : Elem WindowPostMessageOptions (Types t)}
12587 |     -> t
12588 |     -> Attribute True Optional String
12589 |   targetOrigin v = fromUndefOrPrim
12590 |                      "WindowPostMessageOptions.gettargetOrigin"
12591 |                      prim__targetOrigin
12592 |                      prim__setTargetOrigin
12593 |                      "/"
12594 |                      (v :> WindowPostMessageOptions)
12595 |
12596 |
12597 |
12598 | namespace WorkerOptions
12599 |
12600 |   export
12601 |   new' :
12602 |        (type : Optional WorkerType)
12603 |     -> (credentials : Optional RequestCredentials)
12604 |     -> (name : Optional String)
12605 |     -> JSIO WorkerOptions
12606 |   new' a b c = primJS $ WorkerOptions.prim__new (toFFI a) (toFFI b) (toFFI c)
12607 |
12608 |   export
12609 |   new : JSIO WorkerOptions
12610 |   new = primJS $ WorkerOptions.prim__new undef undef undef
12611 |
12612 |
12613 |   export
12614 |   credentials :
12615 |        {auto 0 _ : JSType t}
12616 |     -> {auto 0 _ : Elem WorkerOptions (Types t)}
12617 |     -> t
12618 |     -> Attribute False Optional RequestCredentials
12619 |   credentials v = fromUndefOrPrimNoDefault
12620 |                     "WorkerOptions.getcredentials"
12621 |                     prim__credentials
12622 |                     prim__setCredentials
12623 |                     (v :> WorkerOptions)
12624 |
12625 |
12626 |   export
12627 |   name :
12628 |        {auto 0 _ : JSType t}
12629 |     -> {auto 0 _ : Elem WorkerOptions (Types t)}
12630 |     -> t
12631 |     -> Attribute True Optional String
12632 |   name v = fromUndefOrPrim
12633 |              "WorkerOptions.getname"
12634 |              prim__name
12635 |              prim__setName
12636 |              ""
12637 |              (v :> WorkerOptions)
12638 |
12639 |
12640 |   export
12641 |   type :
12642 |        {auto 0 _ : JSType t}
12643 |     -> {auto 0 _ : Elem WorkerOptions (Types t)}
12644 |     -> t
12645 |     -> Attribute False Optional WorkerType
12646 |   type v = fromUndefOrPrimNoDefault
12647 |              "WorkerOptions.gettype"
12648 |              prim__type
12649 |              prim__setType
12650 |              (v :> WorkerOptions)
12651 |
12652 |
12653 |
12654 | namespace WorkletOptions
12655 |
12656 |   export
12657 |   new' : (credentials : Optional RequestCredentials) -> JSIO WorkletOptions
12658 |   new' a = primJS $ WorkletOptions.prim__new (toFFI a)
12659 |
12660 |   export
12661 |   new : JSIO WorkletOptions
12662 |   new = primJS $ WorkletOptions.prim__new undef
12663 |
12664 |
12665 |   export
12666 |   credentials :
12667 |        {auto 0 _ : JSType t}
12668 |     -> {auto 0 _ : Elem WorkletOptions (Types t)}
12669 |     -> t
12670 |     -> Attribute False Optional RequestCredentials
12671 |   credentials v = fromUndefOrPrimNoDefault
12672 |                     "WorkletOptions.getcredentials"
12673 |                     prim__credentials
12674 |                     prim__setCredentials
12675 |                     (v :> WorkletOptions)
12676 |
12677 |
12678 |
12679 |
12680 | --------------------------------------------------------------------------------
12681 | --          Callbacks
12682 | --------------------------------------------------------------------------------
12683 |
12684 | namespace BlobCallback
12685 |
12686 |   export
12687 |   toBlobCallback : (Nullable Blob -> IO ()) -> JSIO BlobCallback
12688 |   toBlobCallback cb = primJS $ prim__toBlobCallback cb
12689 |
12690 |
12691 |
12692 | namespace CompositionEventHandler
12693 |
12694 |   export
12695 |   toCompositionEventHandler :
12696 |        (CompositionEvent -> IO ())
12697 |     -> JSIO CompositionEventHandler
12698 |   toCompositionEventHandler cb = primJS $ prim__toCompositionEventHandler cb
12699 |
12700 |
12701 |
12702 | namespace CustomElementConstructor
12703 |
12704 |   export
12705 |   toCustomElementConstructor :
12706 |        (() -> IO HTMLElement)
12707 |     -> JSIO CustomElementConstructor
12708 |   toCustomElementConstructor cb = primJS $ prim__toCustomElementConstructor cb
12709 |
12710 |
12711 |
12712 | namespace EventHandlerNonNull
12713 |
12714 |   export
12715 |   toEventHandlerNonNull : (Event -> IO AnyPtr) -> JSIO EventHandlerNonNull
12716 |   toEventHandlerNonNull cb = primJS $ prim__toEventHandlerNonNull cb
12717 |
12718 |
12719 |
12720 | namespace FocusEventHandler
12721 |
12722 |   export
12723 |   toFocusEventHandler : (FocusEvent -> IO ()) -> JSIO FocusEventHandler
12724 |   toFocusEventHandler cb = primJS $ prim__toFocusEventHandler cb
12725 |
12726 |
12727 |
12728 | namespace FunctionStringCallback
12729 |
12730 |   export
12731 |   toFunctionStringCallback : (String -> IO ()) -> JSIO FunctionStringCallback
12732 |   toFunctionStringCallback cb = primJS $ prim__toFunctionStringCallback cb
12733 |
12734 |
12735 |
12736 | namespace InputEventHandler
12737 |
12738 |   export
12739 |   toInputEventHandler : (InputEvent -> IO ()) -> JSIO InputEventHandler
12740 |   toInputEventHandler cb = primJS $ prim__toInputEventHandler cb
12741 |
12742 |
12743 |
12744 | namespace KeyboardEventHandler
12745 |
12746 |   export
12747 |   toKeyboardEventHandler : (KeyboardEvent -> IO ()) -> JSIO KeyboardEventHandler
12748 |   toKeyboardEventHandler cb = primJS $ prim__toKeyboardEventHandler cb
12749 |
12750 |
12751 |
12752 | namespace MouseEventHandler
12753 |
12754 |   export
12755 |   toMouseEventHandler : (MouseEvent -> IO ()) -> JSIO MouseEventHandler
12756 |   toMouseEventHandler cb = primJS $ prim__toMouseEventHandler cb
12757 |
12758 |
12759 |
12760 | namespace OnBeforeUnloadEventHandlerNonNull
12761 |
12762 |   export
12763 |   toOnBeforeUnloadEventHandlerNonNull :
12764 |        (Event -> IO (Nullable String))
12765 |     -> JSIO OnBeforeUnloadEventHandlerNonNull
12766 |   toOnBeforeUnloadEventHandlerNonNull cb = primJS $ prim__toOnBeforeUnloadEventHandlerNonNull cb
12767 |
12768 |
12769 |
12770 | namespace OnErrorEventHandlerNonNull
12771 |
12772 |   export
12773 |   toOnErrorEventHandlerNonNull :
12774 |        (  Union2 Event String
12775 |        -> UndefOr String
12776 |        -> UndefOr Bits32
12777 |        -> UndefOr Bits32
12778 |        -> UndefOr AnyPtr
12779 |        -> IO AnyPtr
12780 |        )
12781 |     -> JSIO OnErrorEventHandlerNonNull
12782 |   toOnErrorEventHandlerNonNull cb = primJS $ prim__toOnErrorEventHandlerNonNull cb
12783 |
12784 |
12785 |
12786 | namespace UIEventHandler
12787 |
12788 |   export
12789 |   toUIEventHandler : (UIEvent -> IO ()) -> JSIO UIEventHandler
12790 |   toUIEventHandler cb = primJS $ prim__toUIEventHandler cb
12791 |
12792 |
12793 |
12794 | namespace WheelEventHandler
12795 |
12796 |   export
12797 |   toWheelEventHandler : (WheelEvent -> IO ()) -> JSIO WheelEventHandler
12798 |   toWheelEventHandler cb = primJS $ prim__toWheelEventHandler cb
12799 |