Transition Module
Support for CSS transitions that can react to store values
Types
Type | Description |
Functions and values
Function or value | Description |
Full Usage:
animateNode node from animator
Parameters:
HTMLElement
from : ClientRect
animator : AnimationBuilder
|
|
Full Usage:
applyProps props tr
Parameters:
TransitionProp list
tr : Transition
Returns: Transition
|
|
|
|
|
|
Full Usage:
createAnimation node from animateFn props
Parameters:
HTMLElement
from : ClientRect
animateFn : AnimationBuilder
props : TransitionProp list
Returns: string
|
|
|
|
Full Usage:
createRule node a b tr uid
Parameters:
HTMLElement
a : float
b : float
tr : Transition
uid : int
Returns: string
|
|
|
|
Full Usage:
flip props node animation
Parameters:
TransitionProp list
node : Element
animation : Animation
Returns: Transition
|
|
Full Usage:
makeHideable guard element transOpt
Parameters:
IObservable<bool>
element : SutilElement
transOpt : TransitionAttribute list
Returns: Hideable
|
|
|
|
Full Usage:
mapTrans f t
Parameters:
Transition -> TransitionProp list
t : Transition
Returns: Transition
|
|
Full Usage:
mergeProps newerProps existingProps
Parameters:
TransitionProp list
existingProps : TransitionProp list
Returns: TransitionProp list
|
|
Full Usage:
showIf visibility element
Parameters:
IObservable<bool>
element : SutilElement
Returns: SutilElement
|
|
Full Usage:
showIfElse visibility element otherElement
Parameters:
IObservable<bool>
element : SutilElement
otherElement : SutilElement
Returns: SutilElement
|
|
Full Usage:
transition options visibility element
Parameters:
TransitionAttribute list
visibility : IObservable<bool>
element : SutilElement
Returns: SutilElement
|
|
Full Usage:
transitionElse options visibility element otherElement
Parameters:
TransitionAttribute list
visibility : IObservable<bool>
element : SutilElement
otherElement : SutilElement
Returns: SutilElement
|
|
|
|
Full Usage:
transitionMatch store options
Parameters:
IObservable<'T>
options : MatchOption<'T> list
Returns: SutilElement
|
|
Full Usage:
transitionNode el trans initProps isVisible start complete
Parameters:
HTMLElement
trans : TransitionAttribute list
initProps : TransitionProp list
isVisible : bool
start : HTMLElement -> unit
complete : HTMLElement -> unit
|
|
Full Usage:
transitionOpt trans store element elseElement
Parameters:
TransitionAttribute list
store : IObservable<bool>
element : SutilElement
elseElement : SutilElement option
Returns: SutilElement
|
|
Full Usage:
withProps userProps f initProps
Parameters:
TransitionProp list
f : TransitionProp list -> 'a
initProps : TransitionProp list
Returns: 'a
|
|