Idris2Doc : Rhone.JS.Sink

Rhone.JS.Sink

(source)
A `Sink` is a monadic streaming function that consumes
data but produces no relevant output.

Definitions

rawInnerHtmlAt : ElemReft->String->JSIO ()
  Replaces the `innerHTML` property of the target with the
given `String`. Warning: The string will not be escaped
before being inserted, so don't use this with text from
untrusted sources.

Totality: total
Visibility: export
innerHtml : ElemReft->MSFJSIOString ()
  Sets the innerHTML property of the referenced node to
the input string value.

Totality: total
Visibility: export
text : ElemReft->MSFJSIOString ()
  Replaces the target's child nodes with a `Text` node
displaying the input `String`. The `String` will be
properly escaped before being inserted.

Totality: total
Visibility: export
attribute : String->MSFJSIO (HList [ElemReft, MaybeString]) ()
  Sets or removes the attribute of the given name
at the given target element.

Totality: total
Visibility: export
attributeAt : String->ElemReft->MSFJSIO (MaybeString) ()
  Sets or unsets the attribute of the given element.

Totality: total
Visibility: export
attribute_ : String->MSFJSIO (HList [ElemReft, String]) ()
  Sets the attribute of the given name at the given target element.

Totality: total
Visibility: export
attributeAt_ : String->ElemReft->MSFJSIOString ()
  Sets or unsets the attribute of the given element.

Totality: total
Visibility: export
boolAttribute : String->MSFJSIO (HList [ElemReft, Bool]) ()
  Sets or unsets the boolean attribute of the given name at
the given target element.

Totality: total
Visibility: export
disabled : MSFJSIO (HList [ElemReft, Bool]) ()
  Sets or unsets the `disabled` attribute of the given element.

Totality: total
Visibility: export
disabledAt : ElemReft->MSFJSIOBool ()
  Sets or unsets the `disabled` attribute of the given element.

Totality: total
Visibility: export
hidden : MSFJSIO (HList [ElemReft, Bool]) ()
  Sets or unsets the `hidden` attribute of the given element.

Totality: total
Visibility: export
hiddenAt : ElemReft->MSFJSIOBool ()
  Sets or unsets the `hidden` attribute of the given element.

Totality: total
Visibility: export
class : MSFJSIO (HList [ElemReft, String]) ()
  Sets the `class` attribute of the given element.

Totality: total
Visibility: export
classAt : ElemReft->MSFJSIOString ()
  Sets the `class` attribute of the given element.

Totality: total
Visibility: export
interfaceSetValidity : Type->Type
  Interface for DOM elements that can have a custom
validity message set.

Parameters: t
Constraints: SafeCast t
Methods:
setValidityMessage : t->String->JSIO ()

Implementations:
SetValidityHTMLButtonElement
SetValidityHTMLFieldSetElement
SetValidityHTMLInputElement
SetValidityHTMLObjectElement
SetValidityHTMLOutputElement
SetValidityHTMLSelectElement
SetValidityHTMLTextAreaElement
setValidityMessage : SetValidityt=>t->String->JSIO ()
Totality: total
Visibility: public export
setValidityMessageAt : SetValidityt=>ElemReft->String->JSIO ()
Totality: total
Visibility: export
validityMessageAt : SetValidityt=>ElemReft->MSFJSIOString ()
  Sets a custom validity message at the given target element

Totality: total
Visibility: export
leftInvalid : SetValidityt=>ElemReft->MSFJSIO (EitherStringx) ()
  Sets or unsets a custom validity message at the given target element
depending on whether the input value is a `Left`.

Totality: total
Visibility: export
interfaceSetValue : Type->Type
Parameters: t
Constraints: SafeCast t
Methods:
setValue' : String->t->JSIO ()

Implementations:
SetValueHTMLButtonElement
SetValueHTMLDataElement
SetValueHTMLInputElement
SetValueHTMLOptionElement
SetValueHTMLOutputElement
SetValueHTMLParamElement
SetValueHTMLSelectElement
SetValueHTMLTextAreaElement
SetValueRadioNodeList
setValue' : SetValuet=>String->t->JSIO ()
Totality: total
Visibility: public export
setValue : SetValuet=>ElemReft->String->JSIO ()
Totality: total
Visibility: export
value : SetValuet=>MSFJSIO (HList [ElemReft, String]) ()
Totality: total
Visibility: export
valueOf : SetValuet=>ElemReft->MSFJSIOString ()
Totality: total
Visibility: export
setChecked : Bool->HTMLInputElement->JSIO ()
Totality: total
Visibility: export
checked : MSFJSIO (HList [ElemRefHTMLInputElement, Bool]) ()
Totality: total
Visibility: export
isChecked : ElemRefHTMLInputElement->MSFJSIOBool ()
Totality: total
Visibility: export
setItem : MSFJSIO (HList [String, String]) ()
Totality: total
Visibility: export
setItemAt : String->MSFJSIOString ()
Totality: total
Visibility: export
setFocus : {auto0{conArg:37612} : JSTypet} -> {auto0_ : ElemHTMLOrSVGElement (Typest)} ->SafeCastt=>t->JSIO ()
Totality: total
Visibility: export
focus : {auto0{conArg:37643} : JSTypet} -> {auto0_ : ElemHTMLOrSVGElement (Typest)} ->SafeCastt=>MSFJSIO (ElemReft) ()
Totality: total
Visibility: export
focusAt : {auto0{conArg:37686} : JSTypet} -> {auto0_ : ElemHTMLOrSVGElement (Typest)} ->SafeCastt=>ElemReft->MSFJSIOi ()
Totality: total
Visibility: export