How can i get active route info in my AppLayout Vm, my AppLayout vm is place that i write all of my routingTemplate info. is there any way to find out active route info?
for example i wanna know if logout route that is a GET method is activated, before that AppLayout vm is called with related constructor, at this step, i want to get current Url, that in my example is /logout and set some strategy for it.
How can i get active route info in my
AppLayout Vm
, myAppLayout vm
is place that i write all of my routingTemplate info. is there any way to find out active route info? for example i wanna know if logout route that is a GET method is activated, before thatAppLayout
vm is called with related constructor, at this step, i want to get current Url, that in my example is /logout and set some strategy for it.