system.nav.getCurrentWindow For Perspective

Hello There,

Are there any equivalents of “system.nav.getCurrentWindow” for Perspective?

Essentially I would like to pass the name of the Active Page to my Docked Window once it opens up.

Many Thanks

“” was what I was looking for. Solved.

@jaspinall thanks for this tip. I added below how I implimented it so others have it for reference. I had the exact same question as you so your post was helpful.

  1. add a label in the top docked view
  2. add a property binding to that label for ‘page.props.primaryView’

Then after that whatever view you navigate to, the current view name will be displayed so the user doesn’t get lost, especially in case 2 views look similar.



1 Like