tipAnimations
Initial tip animations (mobile and desktop).
Details
Attribute: tip-animations
Type: string[]
Default value: []
Morphology
selphid.tipAnimations = ['/assets/tip-mobile.gif', '/assets/tip-desktop.gif'];Description
Paths to custom animations to replace those used in the initial tip.
In the initial tip there are two types of views, for mobile or for desktop. The first position of the array will refer to the animation for mobile views. The second will be for desktop.
Considerations
JS property only (without HTML attribute). Index 0 is mobile and 1 desktop. Requires initialTip active.
Example
Last updated