Skip to content

Navigation to invoke function per a specific route #3019

Answered by JohannesDoberer
andrew-tud asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,
yes, it is possible. You can use the property nodeChangeHook.
It gets two parameters:

navigation:{
   nodeChangeHook: (prevNode, nextNode) => {
     //do something
   },
   nodes:[],
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andrew-tud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants