Navigate with stories
How to :: navigate with stories
Last updated
How to :: navigate with stories
Last updated
A story can be linked to one or two stories or the home page using the linkTo option. You can even use external links! 🔥
Warning
This feature is powerful, but it can make the navigation within your application confusing. Therefore, we have limited the number of links to two.
Warning
This option is only available in code mode.
You can use HTML syntax for the legend (this allows you to add pictograms, for example): <i class="fa fa-list" aria-hidden="true"></i> Go to list view
The link buttons and the story narrative are positioned in the same place. Do not use both in the story. Also, make sure to test it on mobile devices as well 📱.
If you want to link a story to another story, there are only three parameters you need to set up:
legend
: the text that will be displayed on a button.
targetLayoutId
: enter the ID of the story. You can find it in the URL of your story.
targetLayoutType
: the type of layout you want to link to in this case STORY.
If you want to link a story to the home page, there are two parameters you can set up:
legend
: the text that will be displayed on the button.
targetLayoutType
: the type of layout you want to link to, in this case "HOME".