The walker comes with a bunch of integrated triggers that will fire the event at the right moment.
Event | Moment |
load | after loading a page when the DOM is ready |
click | when the element or a child is clicked |
visible | after the element has been in viewport for at least 50% for a second |
wait(n) | n milliseconds after the load event |
scroll(n) | as soon as the user scrolls to the specified depth (=n) |
submit | on a valid form submission |
unload | when leaving the page |
custom | calling elbLayer.push(), see using JavaScript |
A trigger
is predefined and has to be from the list while the action
can be an arbitrary defined name.