Idris2Doc : Web.Dom

Web.Dom

(source)

Reexports

importpublic Web.Internal.Types
importpublic Web.Raw.Dom as Dom

Definitions

window : JSIOWindow
Totality: total
Visibility: export
document : JSIODocument
Totality: total
Visibility: export
body : JSIOHTMLElement
Totality: total
Visibility: export
0Anchor : Type
Totality: total
Visibility: public export
0Area : Type
Totality: total
Visibility: public export
0Audio : Type
Totality: total
Visibility: public export
0BR : Type
Totality: total
Visibility: public export
0Base : Type
Totality: total
Visibility: public export
0Body : Type
Totality: total
Visibility: public export
0Button : Type
Totality: total
Visibility: public export
0Canvas : Type
Totality: total
Visibility: public export
0DList : Type
Totality: total
Visibility: public export
0Data : Type
Totality: total
Visibility: public export
0DataList : Type
Totality: total
Visibility: public export
0Details : Type
Totality: total
Visibility: public export
0Dialog : Type
Totality: total
Visibility: public export
0Div : Type
Totality: total
Visibility: public export
0Embed : Type
Totality: total
Visibility: public export
0FieldSet : Type
Totality: total
Visibility: public export
0Form : Type
Totality: total
Visibility: public export
0HR : Type
Totality: total
Visibility: public export
0Heading : Type
Totality: total
Visibility: public export
0Html : Type
Totality: total
Visibility: public export
0IFrame : Type
Totality: total
Visibility: public export
0Image : Type
Totality: total
Visibility: public export
0Input : Type
Totality: total
Visibility: public export
0LI : Type
Totality: total
Visibility: public export
0Label : Type
Totality: total
Visibility: public export
0Legend : Type
Totality: total
Visibility: public export
Totality: total
Visibility: public export
0Map : Type
Totality: total
Visibility: public export
0Menu : Type
Totality: total
Visibility: public export
0Meta : Type
Totality: total
Visibility: public export
0Meter : Type
Totality: total
Visibility: public export
0Mod : Type
Totality: total
Visibility: public export
0OList : Type
Totality: total
Visibility: public export
0Object : Type
Totality: total
Visibility: public export
0OptGroup : Type
Totality: total
Visibility: public export
0Option : Type
Totality: total
Visibility: public export
0Output : Type
Totality: total
Visibility: public export
0Paragraph : Type
Totality: total
Visibility: public export
0Param : Type
Totality: total
Visibility: public export
0Picture : Type
Totality: total
Visibility: public export
0Pre : Type
Totality: total
Visibility: public export
0Progress : Type
Totality: total
Visibility: public export
0Quote : Type
Totality: total
Visibility: public export
0Script : Type
Totality: total
Visibility: public export
0Select : Type
Totality: total
Visibility: public export
0Slot : Type
Totality: total
Visibility: public export
0Source : Type
Totality: total
Visibility: public export
0Span : Type
Totality: total
Visibility: public export
0Style : Type
Totality: total
Visibility: public export
0TableCaption : Type
Totality: total
Visibility: public export
0TableCell : Type
Totality: total
Visibility: public export
0TableCol : Type
Totality: total
Visibility: public export
0Table : Type
Totality: total
Visibility: public export
0TableRow : Type
Totality: total
Visibility: public export
0TableSection : Type
Totality: total
Visibility: public export
0Template : Type
Totality: total
Visibility: public export
0TextArea : Type
Totality: total
Visibility: public export
0Time : Type
Totality: total
Visibility: public export
0Title : Type
Totality: total
Visibility: public export
0Track : Type
Totality: total
Visibility: public export
0UList : Type
Totality: total
Visibility: public export
0Video : Type
Totality: total
Visibility: public export
dataElementType : String->Type->Type
  HTML Element Tags linking tag names with HTML element types

This is mainly to be used with `Web.Dom.createElement` and `newElement`.
Some deprecated tags have been left out, some others might
still be missing.

Totality: total
Visibility: public export
Constructors:
A : ElementType"a"HTMLAnchorElement
Address : ElementType"address"HTMLElement
Area : ElementType"area"HTMLAreaElement
Article : ElementType"article"HTMLElement
Audio : ElementType"audio"HTMLAudioElement
Base : ElementType"base"HTMLBaseElement
Blockquote : ElementType (fromString"blockquote") HTMLQuoteElement
Body : ElementType"body"HTMLBodyElement
Br : ElementType"br"HTMLBRElement
Button : ElementType"button"HTMLButtonElement
Canvas : ElementType"canvas"HTMLCanvasElement
Caption : ElementType"caption"HTMLTableCaptionElement
Col : ElementType"col"HTMLTableColElement
Colgroup : ElementType"colgroup"HTMLTableColElement
Data : ElementType"data"HTMLDataElement
Datalist : ElementType"datalist"HTMLDataListElement
Del : ElementType"del"HTMLModElement
Details : ElementType"details"HTMLDetailsElement
Dialog : ElementType"dialog"HTMLDialogElement
Div : ElementType"div"HTMLDivElement
Dl : ElementType"dl"HTMLDListElement
Embed : ElementType"embed"HTMLEmbedElement
FieldSet : ElementType"fieldset"HTMLFieldSetElement
Footer : ElementType"footer"HTMLElement
Form : ElementType"form"HTMLFormElement
H1 : ElementType"h1"HTMLHeadingElement
H2 : ElementType"h2"HTMLHeadingElement
H3 : ElementType"h3"HTMLHeadingElement
H4 : ElementType"h4"HTMLHeadingElement
H5 : ElementType"h5"HTMLHeadingElement
H6 : ElementType"h6"HTMLHeadingElement
HR : ElementType"hr"HTMLHRElement
Header : ElementType"header"HTMLElement
Html : ElementType"html"HTMLHtmlElement
IFrame : ElementType"iframe"HTMLIFrameElement
Img : ElementType"img"HTMLImageElement
Input : ElementType"input"HTMLInputElement
Ins : ElementType"ins"HTMLModElement
Label : ElementType"label"HTMLLabelElement
Legend : ElementType"legend"HTMLLegendElement
Li : ElementType"li"HTMLLIElement
Map : ElementType"map"HTMLMapElement
Menu : ElementType"menu"HTMLMenuElement
Meta : ElementType"meta"HTMLMetaElement
Meter : ElementType"meter"HTMLMeterElement
Object : ElementType"object"HTMLObjectElement
Ol : ElementType"ol"HTMLOListElement
OptGroup : ElementType"optgroup"HTMLOptGroupElement
Option : ElementType"option"HTMLOptionElement
Output : ElementType"output"HTMLOutputElement
P : ElementType"p"HTMLParagraphElement
Param : ElementType"param"HTMLParamElement
Picture : ElementType"picture"HTMLPictureElement
Pre : ElementType"pre"HTMLPreElement
Progress : ElementType"progress"HTMLProgressElement
Q : ElementType"q"HTMLQuoteElement
Script : ElementType"script"HTMLScriptElement
Section : ElementType"section"HTMLElement
Select : ElementType"select"HTMLSelectElement
Slot : ElementType"slot"HTMLSlotElement
Source : ElementType"source"HTMLSourceElement
Span : ElementType"span"HTMLSpanElement
Style : ElementType"style"HTMLStyleElement
Table : ElementType"table"HTMLTableElement
Tbody : ElementType"tbody"HTMLTableSectionElement
Td : ElementType"td"HTMLTableCellElement
Template : ElementType"template"HTMLTemplateElement
TextArea : ElementType"textarea"HTMLTextAreaElement
Tfoot : ElementType"tfoot"HTMLTableSectionElement
Th : ElementType"th"HTMLTableCellElement
Thead : ElementType"thead"HTMLTableSectionElement
Time : ElementType"time"HTMLTimeElement
Title : ElementType"title"HTMLTitleElement
Tr : ElementType"tr"HTMLTableRowElement
Track : ElementType"track"HTMLTrackElement
Ul : ElementType"ul"HTMLUListElement
Video : ElementType"video"HTMLVideoElement
elementTag : (0_ : ElementTypetagt) ->String
  Extracts the `tag` String from a known `ElementType`.

Totality: total
Visibility: public export
createElement : SafeCastt=> (0_ : ElementTypetagt) ->JSIOt
  Creates a new element using the given `ElementType`'s `tag`
and casting the result to the corresponding HTML element type.
See also `newElement`.

Totality: total
Visibility: export
newElement : SafeCastt=> (0_ : ElementTypetagt) ->List (t->JSIO ()) ->JSIOt
  Like `createElement` but applies the given set of
modifiers. This is especially useful for setting an element's
attributes.

Totality: total
Visibility: export
getElementById : String->JSIO (MaybeElement)
Totality: total
Visibility: export
castElementById_ : SafeCasta=>String->JSIO (Maybea)
Totality: total
Visibility: export
castElementById : (0a : Type) ->SafeCasta=>String->JSIO (Maybea)
Totality: total
Visibility: export
htmlElementById : SafeCastt=> (0_ : ElementTypetagt) ->String->JSIO (Maybet)
Totality: total
Visibility: export
getElementsByClass : String->JSIOHTMLCollection
Totality: total
Visibility: export
firstElementByClass : String->JSIO (MaybeElement)
Totality: total
Visibility: export
castFirstElementByClass_ : SafeCasta=>String->JSIO (Maybea)
Totality: total
Visibility: export
castFirstElementByClass : (0a : Type) ->SafeCasta=>String->JSIO (Maybea)
Totality: total
Visibility: export
firstHtmlElementByClass : (0_ : ElementTypetaga) ->SafeCasta=>String->JSIO (Maybea)
Totality: total
Visibility: export
getElementByClass : SafeCastt=>String->JSIOt
  Tries to retrieve an element of the given type by looking
up its class in the DOM. Unlike `firstElementByClass`, 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: export