target property

Element? get target

The target property of a KeyframeEffect interface represents the element or pseudo-element being animated. It may be null for animations that do not target a specific element. It performs as both a getter and a setter, except with animations and transitions generated by CSS.

Implementation

external Element? get target;
set target (Element? value)

Implementation

external set target(Element? value);