Skip to content

Change event listener

Bind to :

document.addEventListener('mh-navigation-begin', e => {
    console.log(e);
    e.detail.complete.then((f) => {
	console.log('COMPLETED', e, f);
	f.render.then((g) => console.log('RENDERED', e, f, g));
    });
});
Edited by Ludovic LE BRECH