Bind Type
Bindings for observables and the Core. For example, use an IObservable<bool>
to toggle an element's class
attribute
Static members
Static member | Description |
Full Usage:
Bind.attr (name, dispatch)
Parameters:
string
dispatch : 'T -> unit
Returns: SutilElement
|
|
Full Usage:
Bind.attr (name, value)
Parameters:
string
value : IObservable<'T>
Returns: SutilElement
|
|
Full Usage:
Bind.attr (name, value)
Parameters:
string
value : IStore<'T>
Returns: SutilElement
|
|
Full Usage:
Bind.attr (name, value, dispatch)
Parameters:
string
value : IObservable<'T>
dispatch : 'T -> unit
Returns: SutilElement
|
|
Full Usage:
Bind.attrInit (attrName, initValue, dispatch)
Parameters:
string
initValue : 'T
dispatch : 'T -> unit
Returns: SutilElement
|
|
Full Usage:
Bind.booleanAttr (name, isTrue)
Parameters:
string
isTrue : IObservable<bool>
Returns: SutilElement
|
|
|
|
|
|
|
|
Full Usage:
Bind.each (items, view, key)
Parameters:
IObservable<'T list>
view : IReadOnlyStore<'T> -> SutilElement
key : 'T -> 'K
Returns: SutilElement
|
|
Full Usage:
Bind.each (items, view, key)
Parameters:
IObservable<'T list>
view : IObservable<'T> -> SutilElement
key : 'T -> 'K
Returns: SutilElement
|
|
Full Usage:
Bind.each (items, view, key, trans)
Parameters:
IObservable<'T list>
view : IObservable<'T> -> SutilElement
key : 'T -> 'K
trans : TransitionAttribute list
Returns: SutilElement
|
|
Full Usage:
Bind.each (items, view, key)
Parameters:
IObservable<'T list>
view : 'T -> SutilElement
key : 'T -> 'K
Returns: SutilElement
|
|
Full Usage:
Bind.each (items, view, key, trans)
Parameters:
IObservable<'T list>
view : 'T -> SutilElement
key : 'T -> 'K
trans : TransitionAttribute list
Returns: SutilElement
|
|
Full Usage:
Bind.each (items, view)
Parameters:
IObservable<'T list>
view : 'T -> SutilElement
Returns: SutilElement
|
|
Full Usage:
Bind.each (items, view, trans)
Parameters:
IObservable<'T list>
view : 'T -> SutilElement
trans : TransitionAttribute list
Returns: SutilElement
|
|
Full Usage:
Bind.eachi (items, view, key)
Parameters:
IObservable<'T list>
view : IObservable<int> * IObservable<'T> -> SutilElement
key : int * 'T -> 'K
Returns: SutilElement
|
|
Full Usage:
Bind.eachi (items, view, key, trans)
Parameters:
IObservable<'T list>
view : IObservable<int> * IObservable<'T> -> SutilElement
key : int * 'T -> 'K
trans : TransitionAttribute list
Returns: SutilElement
|
|
Full Usage:
Bind.eachi (items, view)
Parameters:
IObservable<'T list>
view : IObservable<int> * IObservable<'T> -> SutilElement
Returns: SutilElement
|
|
Full Usage:
Bind.eachi (items, view, trans)
Parameters:
IObservable<'T list>
view : IObservable<int> * IObservable<'T> -> SutilElement
trans : TransitionAttribute list
Returns: SutilElement
|
|
Full Usage:
Bind.eachi (items, view)
Parameters:
IObservable<'T list>
view : int * 'T -> SutilElement
Returns: SutilElement
|
|
Full Usage:
Bind.eachi (items, view, trans)
Parameters:
IObservable<'T list>
view : int * 'T -> SutilElement
trans : TransitionAttribute list
Returns: SutilElement
|
|
Full Usage:
Bind.effect (values, updater)
Parameters:
IObservable<'T>
updater : 'E -> 'T -> unit
Returns: SutilElement
|
|
Full Usage:
Bind.el (value, key, element)
Parameters:
IObservable<'T>
key : 'T -> 'K
element : IObservable<'T> -> SutilElement
Returns: SutilElement
|
|
Full Usage:
Bind.el (value, key, element)
Parameters:
IObservable<'T>
key : 'T -> 'K
element : 'T -> SutilElement
Returns: SutilElement
|
|
Full Usage:
Bind.el (value, element)
Parameters:
IObservable<'T>
element : 'T -> SutilElement
Returns: SutilElement
|
|
Full Usage:
Bind.el2 valueA valueB element
Parameters:
IObservable<'A>
valueB : IObservable<'B>
element : 'A * 'B -> SutilElement
Returns: SutilElement
|
|
Full Usage:
Bind.fragment value element
Parameters:
IObservable<'T>
element : 'T -> SutilElement
Returns: SutilElement
|
|
Full Usage:
Bind.fragment2 valueA valueB element
Parameters:
IObservable<'A>
valueB : IObservable<'B>
element : 'A * 'B -> SutilElement
Returns: SutilElement
|
|
|
|
Full Usage:
Bind.promise (p, view)
Parameters:
Promise<'T>
view : 'T -> SutilElement
Returns: SutilElement
|
|
Full Usage:
Bind.promise (p, view, waiting, error)
Parameters:
Promise<'T>
view : 'T -> SutilElement
waiting : SutilElement
error : Exception -> SutilElement
Returns: SutilElement
|
|
Full Usage:
Bind.promises (items, view, waiting, error)
Parameters:
IObservable<Promise<'T>>
view : 'T -> SutilElement
waiting : SutilElement
error : Exception -> SutilElement
Returns: SutilElement
|
|
|
|
Full Usage:
Bind.selectMultiple (value, dispatch)
Parameters:
IObservable<'T list>
dispatch : 'T list -> unit
Returns: SutilElement
|
|
|
|
|
|
Full Usage:
Bind.selectSingle (value, dispatch)
Parameters:
IObservable<'T>
dispatch : 'T -> unit
Returns: SutilElement
|
|
|
|
|
|
|
|
|
|
Full Usage:
Bind.selected (value, dispatch)
Parameters:
IObservable<'T list>
dispatch : 'T list -> unit
Returns: SutilElement
|
|
Full Usage:
Bind.style (values, updater)
Parameters:
IObservable<'T>
updater : CSSStyleDeclaration -> 'T -> unit
Returns: SutilElement
|
|
|
|
Full Usage:
Bind.toggleClass (toggle, activeClass)
Parameters:
IObservable<bool>
activeClass : string
Returns: SutilElement
|
|
Full Usage:
Bind.toggleClass (toggle, activeClass, inactiveClass)
Parameters:
IObservable<bool>
activeClass : string
inactiveClass : string
Returns: SutilElement
|
|
Full Usage:
Bind.visibility (isVisible, trans)
Parameters:
IObservable<bool>
trans : TransitionAttribute list
Returns: SutilElement -> SutilElement
|
|
Full Usage:
Bind.visibility isVisible
Parameters:
IObservable<bool>
Returns: SutilElement -> SutilElement
|
|
|
|