createCSSTransition(
start):TransitionFn
Create a simple css transition.
a function that creates the css animation and returns a clean-up function
the css transition
CSSTransitionFn = (
element,direction,animated,context) =>void| (() =>void)
Defines a function type for CSS transitions.
"show" | "hide"
boolean
object
void | (() => void)
getTransitionDurationMs(
element):number
Retrieve the transition duration of the provided html element in milli seconds
the html element
number
transition duration in milli seconds
hasTransition(
element):boolean
Check if the provided html element has a transition
the html element
boolean
true if the element has a transition