I have tried a lot of codes to see what’s the difference between browser and editor, but I can’t find some changes between those two things, so i’m wondering what’s the difference between browser and editor?
Accepted Reply
The browser toolbar role is typically for units of content that you navigate to over time, similar to a browser visiting web pages. The document role is typically for content you treat as a single unit, such as a document stored in a file. They look similar, but the default menu on the title contains items for navigation (browser) or items for manipulating storage (document).
If your app doesn't exactly fit into one of the 3 roles, that's OK. You can start with a role that's most similar to the functionality you want, then customize the toolbar from there.
-
But I can’t find any item on the leading side of the navigation bar to navigate between views in the browser role.
-
Oh~~ I have found some differences after the navigationlink pushing!! I will add a new reply to show what I have found. Thank you very much!! Best regard😆
Replies
The browser toolbar role is typically for units of content that you navigate to over time, similar to a browser visiting web pages. The document role is typically for content you treat as a single unit, such as a document stored in a file. They look similar, but the default menu on the title contains items for navigation (browser) or items for manipulating storage (document).
If your app doesn't exactly fit into one of the 3 roles, that's OK. You can start with a role that's most similar to the functionality you want, then customize the toolbar from there.
-
But I can’t find any item on the leading side of the navigation bar to navigate between views in the browser role.
-
Oh~~ I have found some differences after the navigationlink pushing!! I will add a new reply to show what I have found. Thank you very much!! Best regard😆
I have find some changes when pushing a navigationLink.
In I understanding, browsing role let you know the page you came from, so you will get a great experience across different pages just like a browser.
The Editor rule let you focus on a single view so that it will not show you where you came from when you're in a new view. It would just show a "back"(<) symbol.