Closed ajayns closed 4 years ago
Hello @ajayns ,
Instead of "name" in your renderers, have you tried to put "home" which is the value of your data-router-view of your homeage ? If not this is probably the reason why, when navigating to your homepage, you don't have on those events,
Keep me updated :)
Oh my bad, that was quite the ignorance from my part. This fixes it.
I know you have mentioned this in your documentation, but users generally like to get code that just works straight from the documentation and like to figure out things progressively. So many examples that can directly be used could prove helpful :)
Thank you for your quick response
Well noted, we know the documentation could be enhanced, we just need a bit of time to apply that! Thanks for the feedback :)
Following the Highway documentation, I've built a basic setup:
With this setup, any added custom transition works as expected but the custom renderer does not run the hooks at all: none of the messages are being logged from the CustomRenderer.
Additional info: HTML: