Header menu logo Sutil

SutilAttrEngine Type

DOM element attributes

Example

 Html.button [
     Attr.className "is-primary"
 ]

Constructors

Constructor Description

SutilAttrEngine()

Full Usage: SutilAttrEngine()

Returns: SutilAttrEngine
Returns: SutilAttrEngine

Instance members

Instance member Description

this.addClass className

Full Usage: this.addClass className

Parameters:
    className : string

Returns: SutilElement
className : string
Returns: SutilElement

this.disabled value

Full Usage: this.disabled value

Parameters:
Returns: SutilElement
value : IObservable<'T>
Returns: SutilElement

this.none

Full Usage: this.none

Returns: SutilElement
Returns: SutilElement

this.removeClass className

Full Usage: this.removeClass className

Parameters:
    className : string

Returns: SutilElement
className : string
Returns: SutilElement

this.setClass className

Full Usage: this.setClass className

Parameters:
    className : string

Returns: SutilElement
className : string
Returns: SutilElement

this.style cssAttrs

Full Usage: this.style cssAttrs

Parameters:
Returns: SutilElement
cssAttrs : IObservable<'a>
Returns: SutilElement

this.style cssAttrs

Full Usage: this.style cssAttrs

Parameters:
    cssAttrs : (string * obj) seq

Returns: SutilElement
cssAttrs : (string * obj) seq
Returns: SutilElement

this.styleAppend cssAttrs

Full Usage: this.styleAppend cssAttrs

Parameters:
    cssAttrs : (string * obj) seq

Returns: SutilElement
cssAttrs : (string * obj) seq
Returns: SutilElement

this.text s

Full Usage: this.text s

Parameters:
    s : string

Returns: SutilElement
s : string
Returns: SutilElement

this.toggleClass className

Full Usage: this.toggleClass className

Parameters:
    className : string

Returns: SutilElement
className : string
Returns: SutilElement

this.value (value, dispatch)

Full Usage: this.value (value, dispatch)

Parameters:
Returns: SutilElement
value : IObservable<'T>
dispatch : 'T -> unit
Returns: SutilElement

this.value value

Full Usage: this.value value

Parameters:
Returns: SutilElement
value : IObservable<'T>
Returns: SutilElement

this.value value

Full Usage: this.value value

Parameters:
    value : bool

Returns: SutilElement
value : bool
Returns: SutilElement

this.value value

Full Usage: this.value value

Parameters:
    value : float

Returns: SutilElement
value : float
Returns: SutilElement

this.value value

Full Usage: this.value value

Parameters:
    value : int

Returns: SutilElement
value : int
Returns: SutilElement

this.value value

Full Usage: this.value value

Parameters:
    value : obj

Returns: SutilElement
value : obj
Returns: SutilElement

Type something to start searching.