Commit 6081040d authored by Matthieu Fesselier's avatar Matthieu Fesselier

Merge branch 'fix/navigate-bubbles' into 'master'

update: navigate event bubbles

See merge request !24
parents f9dfa0c5 fa19d7e9
Pipeline #3429 passed with stage
in 28 seconds
......@@ -45,6 +45,7 @@ export default class SIBRouter extends HTMLElement {
this.dispatchEvent(
new CustomEvent('navigate', {
detail: { route: routeName, resource: {id: route.resourceId} },
bubbles: true
}),
);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment