DomKeyRules
The DOM's Key rules, for the keys it blends by name. visibility keeps display and visibility at
their start until an animation's last frame when they're hiding the element, and animatableNone
grows a shadow, a filter or a fill from nothing when one end is empty. all is both, in the order
they're asked.
import * as DomKeyRules from "@wardic/dom/DomKeyRules"
const registry = yield* InterpolatorRegistry.make(DomInterpolators.all, [DomKeyRules.visibility])Variables
all
const all: ReadonlyArray<InterpolatorRegistry.KeyRule>;The DOM's Key rules, in the order they're asked.
animatableNone
const animatableNone: InterpolatorRegistry.KeyRule;An empty end facing a complex value or a colour grows from, or goes back to, its Animatable none, and a shadow list blends shadow by shadow; the run's last Frame writes the target as given.
visibility
const visibility: InterpolatorRegistry.KeyRule;display and visibility, turning to none or hidden, show their start until the run's last Frame.