Interaction Trigger
Trigger an SA5 Event from an Interaction
Use cases;
Start a video after an interaction has completed
Display a pop-up in the middle of an interaction sequence
Technical notes
wfu-ix-trigger-script = ( ... )
Actions
Triggers;
User action
Click
Scroll
Hover
Variable change ( reactive );
e.g. x > 1000
Timer
Interaction step
Form submit
Alpine.js triggers
Actions;
Click ( other elements )
Interaction
Scroll ( other elements )
Code execution
Class add/remove
Form submit
Mechanic;
Define triggers
e.g. attribute wfu-click = ( name )
https://codepen.io/memetican/pen/pvzXrKQ/30243a91b6fb117a92b0e5b3b5b69503?editors=1111
Last updated
Was this helpful?