0 ElemType : Ref t -> Type DOM type associacte with an ElemRef
Totality: total
Visibility: public exportstrictGetElementById : SafeCast t => Maybe String -> String -> JSIO t Tries to retrieve an element of the given type by looking
up its ID in the DOM. Unlike `getElementById`, this will throw
an exception in the `JSIO` monad if the element is not found
or can't be safely cast to the desired type.
Totality: total
Visibility: exportstrictGetHTMLElementById : String -> String -> JSIO HTMLElement Tries to retrieve a HTMLElement by looking
up its ID in the DOM. Unlike `getElementById`, this will throw
an exception in the `JSIO` monad if the element is not found
or can't be safely cast to the desired type.
Totality: total
Visibility: exportgetElementByRef : (r : Ref t) -> JSIO (ElemType r) Tries to retrieve an element of the given type by looking
up its ID in the DOM. Unlike `getElementById`, this will throw
an exception in the `JSIO` monad if the element is not found
or can't be safely cast to the desired type.
Totality: total
Visibility: exportcastElementByRef : SafeCast t => Ref x -> JSIO t Tries to retrieve an element of the given type by looking
up its ID in the DOM. Unlike `getElementById`, this will throw
an exception in the `JSIO` monad if the element is not found
or can't be safely cast to the desired type.
Totality: total
Visibility: exportsetValidityMessage : Ref t -> ValidityTag t => String -> JSIO ()- Totality: total
Visibility: export setValue : Ref t -> ValueTag t => String -> JSIO ()- Totality: total
Visibility: export replaceChildren : Element -> DocumentFragment -> JSIO () Replaces all children of the given node with a new document fragment.
Totality: total
Visibility: exportappendDF : Element -> DocumentFragment -> JSIO () Appends the given document fragment to a DOM element's children
Totality: total
Visibility: exportprependDF : Element -> DocumentFragment -> JSIO () Prepends the given document fragment to a DOM element's children
Totality: total
Visibility: exportafterDF : Element -> DocumentFragment -> JSIO () Inserts the given document fragment after a DOM element.
Totality: total
Visibility: exportbeforeDF : Element -> DocumentFragment -> JSIO () Inserts the given document fragment before a DOM element.
Totality: total
Visibility: exportreplaceDF : Element -> DocumentFragment -> JSIO () Inserts the given document fragment before a DOM element.
Totality: total
Visibility: exporttoRect : DOMRect -> JSIO Rect- Totality: total
Visibility: export boundingRect : Ref x -> JSIO Rect- Totality: total
Visibility: export