Idris2Doc : Web.Async.View

Web.Async.View

(source)

Definitions

bubbles : Event->Bool
cancelable : Event->Bool
addEventListener : EventTarget->String-> (Event->IO1 ()) ->IO1 ()
Totality: total
Visibility: export
preventDefault : Event->IO1 ()
Totality: total
Visibility: export
stopPropagation : Event->IO1 ()
Totality: total
Visibility: export
registerDOMEvent : Sinke=>Bool->Bool->EventTarget->DOMEvente->IO1 ()
  Low level method for registering `DOMEvents` at
HTML elements.

Use this, for instance, to register `DOMEvents` at
a HTMLElement of a static document.

Totality: total
Visibility: export
setAttribute : Element->Attributet->IO1 ()
Totality: total
Visibility: export
children : HasJSErres=>Reft->HTMLNodes->JSes ()
  Sets up the reactive behavior of the given `Node`s and
inserts them as the children of the given target.

Totality: total
Visibility: export
child : HasJSErres=>Reft->HTMLNode->JSes ()
  Sets up the reactive behavior of the given `Node` and
inserts it as the only child of the given target.

Totality: total
Visibility: export
text : HasJSErres=>Reft->String->JSes ()
  Replaces the given node's children with a text node
displaying the given string.

Totality: total
Visibility: export
show : HasJSErres=>Showb=>Reft->b->JSes ()
  Replaces the given node's children with a text node
showing the given value.

Totality: total
Visibility: export
raw : HasJSErres=>Reft->String->JSes ()
  Replaces the given node's children with the raw
HTML passed as a string argument.

Totality: total
Visibility: export
style : HasJSErres=>RefStyle->List (Rule1) ->JSes ()
  Replaces the given `<style>` node's CSS rules.

Totality: total
Visibility: export
afterMany : HasJSErres=>Reft->HTMLNodes->JSes ()
  Sets up the reactive behavior of the given `Node`s and
inserts them after the given child node.

Totality: total
Visibility: export
after : HasJSErres=>Reft->HTMLNode->JSes ()
  Sets up the reactive behavior of the given `Node` and
inserts it after the given child node.

Totality: total
Visibility: export
beforeMany : HasJSErres=>Reft->HTMLNodes->JSes ()
  Sets up the reactive behavior of the given `Node`s and
inserts them before the given child node.

Totality: total
Visibility: export
before : HasJSErres=>Reft->HTMLNode->JSes ()
  Sets up the reactive behavior of the given `Node` and
inserts it before the given child node.

Totality: total
Visibility: export
appendMany : HasJSErres=>Reft->HTMLNodes->JSes ()
  Sets up the reactive behavior of the given `Node`s and
appends them to the given element's list of children

Totality: total
Visibility: export
append : HasJSErres=>Reft->HTMLNode->JSes ()
  Sets up the reactive behavior of the given `Node` and
appends it to the given element's list of children

Totality: total
Visibility: export
prependMany : HasJSErres=>Reft->HTMLNodes->JSes ()
  Sets up the reactive behavior of the given `Node`s and
prepends them to the given element's list of children

Totality: total
Visibility: export
prepend : HasJSErres=>Reft->HTMLNode->JSes ()
  Sets up the reactive behavior of the given `Node` and
prepends it to the given element's list of children

Totality: total
Visibility: export
replaceMany : HasJSErres=>Reft->HTMLNodes->JSes ()
  Sets up the reactive behavior of the given `Node`s and
replaces the given element.

Totality: total
Visibility: export
replace : HasJSErres=>Reft->HTMLNode->JSes ()
  Sets up the reactive behavior of the given `Node` and
replaces the given element.

Totality: total
Visibility: export
remove : HasJSErres=>Reft->JSes ()
  Removes the given element from the DOM.

Totality: total
Visibility: export
attr : HasJSErres=>Reft->Attributet->JSes ()
  Sets an attribute at the given node.

Totality: total
Visibility: export
checked : HasJSErres=>RefInput->Bool->JSes ()
  Sets the `checked` property of the given element

Totality: total
Visibility: export
disabled : HasJSErres=>Reft->Bool->JSes ()
  Sets the `disabled` attribute of the given element

Totality: total
Visibility: export
disabledE : HasJSErres=>Reft->Eitherab->JSes ()
  Sets the `disabled` attribute of the given element
if the given values is a `Left`.

This is useful for disabling components such as buttons
in the UI in case of invalid user input.

Totality: total
Visibility: export
disabledM : HasJSErres=>Reft->Maybea->JSes ()
  Sets the `disabled` attribute of the given element
if the given values is a `Nothing`.

This is useful for disabling components such as buttons
in the UI in case of invalid user input.

Totality: total
Visibility: export
focus : HasJSErres=>Reft->JSes ()
  Focus the given HTMLElemet

Totality: total
Visibility: export
blur : HasJSErres=>Reft->JSes ()
  Blur (lose focus on) the given HTMLElemet

Totality: total
Visibility: export
dialogShow : HasJSErres=>Reft->JSes ()
  Show the given dialog element.

Totality: total
Visibility: export
showModal : HasJSErres=>Reft->JSes ()
  Show the given dialog element in "modal" mode.

Totality: total
Visibility: export
dialogClose : HasJSErres=>Reft->JSes ()
  Close the given dialog element.

Totality: total
Visibility: export
elemChildren : LoggableJSJSErr=>DomID->HTMLNodes->JS [] ()
Totality: total
Visibility: export
elemChild : LoggableJSJSErr=>DomID->HTMLNode->JS [] ()
Totality: total
Visibility: export
elemAppend : LoggableJSJSErr=>DomID->HTMLNode->JS [] ()
Totality: total
Visibility: export
elemAppendMany : LoggableJSJSErr=>DomID->HTMLNodes->JS [] ()
Totality: total
Visibility: export
elemPrepend : LoggableJSJSErr=>DomID->HTMLNode->JS [] ()
Totality: total
Visibility: export
elemPrependMany : LoggableJSJSErr=>DomID->HTMLNodes->JS [] ()
Totality: total
Visibility: export
clearElem : LoggableJSJSErr=>DomID->JS [] ()
Totality: total
Visibility: export
removeElem : LoggableJSJSErr=>DomID->JS [] ()
Totality: total
Visibility: export
replaceElem : LoggableJSJSErr=>DomID->HTMLNode->JS [] ()
Totality: total
Visibility: export
btnAttr : LoggableJSJSErr=>DomID->AttributeButton->JS [] ()
Totality: total
Visibility: export