Events

Events

Movement emits some events to page templates, to allow you to more easily hook using JavaScript when building templates.

Please let us know via support if there are more events you'd like to use or that would be useful.

Page loaded

Event: 'movementPageLoaded'

Fired: When the page and DOM is fully loaded, to allow you to set up event hooks or other transformations

Example:

document.addEventListener('movementPageLoaded', (event) => {