[Vuejs]-Access special Layout from outside of a Component (NativeScript + Vue)

0👍

You may always use the {N} way of identifying elements. Use id instead of ref and call getViewById(yourId) on the Page instance.

The current page can always be accessed from any element Or frame.

Edit:

If you prefer Vue way of accessing still, you may use $root or $parent, but for every parent above the current component, you will have to chain them.

Leave a comment