When is savvior done ?
wirmachenbunt opened this issue · comments
Christian Engler commented
is there a way to figure out when savvior is finished so i can trigger some js library after savvior ?
Attila Beregszaszi commented
In the current version an event called savvior:setup
is dispatched on window
. The event object contains more information on the grid being set up, i.e:
window.addEventListener('savvior:setup', function(e) {
console.log(e.detail); // Outputs: { element: [Element], columns: [Number], filter: [Grid.filter] }
});
Hope that helps.
Christian Engler commented
hey cheers for the quick answer