Sets or gets the animation triggers for a button's icon.
The only currently supported trigger value is 'hover'
. If you set iconAnimationTriggers
to an empty array, you can create custom animation triggers using event handlers, such as onClick()
. If you don't set iconAnimationTriggers
, the button's icon animation is triggered when a site visitor hovers over or clicks the button.
To animate the button's icon in response to a trigger, call animateIconForward()
to animate the icon forward, or animateIconBackward()
to animate the icon backward.
Note: This property is only supported for buttons with icons in Wix Studio.