TWEEN ANIMATION
Targets: nodes
Can be any HTMLElement or HTMLElement[].
Type | Default | Example |
Node | null | .targets($1('#el'))
|
NodeList | null | .targets($L('.el'))
|
CODE EXAMPLE
new TweenAnim({
keys: {
translateX: 250
}
}).targets($L('.el'));