Skip to main content

Events

Gr4vy Embed accepts an onEvent parameter that can be used to listen to certain events emitted from the form.

setup({
element: '.container',
...,
onEvent: (name, data) => {
...
}
})

For a full list of events, please see the documentation for Embed on GitHub.