Navigate Handler
An actor with an HTML snippet can trigger navigate
action, which needs to be handled by navigate generalHandler
, which is a map of navigate
name and the corresponding handler.
<tagnavigate=“navigateName”/>
“actorName”: {“generalHandlers”: {“navigate”: {“navigateName”: {...}
Default Value
“actorName”: {“generalHandlers”: {“navigate”: {“navigateName”: {...}
Status
Release Available | Status | Framework Name |
---|---|---|
Initial | Current | MUI and Mint |
Implementation Example
Code JSON | Handle |
---|---|
Code JSON "SimpleLayout_HeaderContentZone": { "category": "content", "type": "static-content", "property": { "contentName": "portal2demo_public_header" }, "generalHandlers": { "navigate": { "loginPage": { "next": "LoginPage" }, "homePage": { "next": "ApplicationPage" } } } } | HTML <div class="links"> <div class="nav-link" navigate="homePage">Application Home</div> <div class="nav-link" navigate="loginPage">Log In</div></div> |