View Navigation
Custom navigation within TokenNegotiator
When building custom solutions or using the defaults there is a provided method to navigate views with negotiator.ui.updateUI(viewName, data, viewOptions)
Parameters | Type | Details | Options |
---|---|---|---|
viewName | string | string definition of the view to navigate to | 'start', 'wallet', 'main', 'any_custom_view_name' |
data | object | optional data that you wish to send to this view | object |
viewOptions.viewTransition | string | the optional transition animation to load the view | 'slide-in-left' | 'slide-in-right' | 'slide-in-top' | 'slide-in-bottom' |
Example usage
For support and any questions please reach out to us on discord or via sayhi@smarttokenlabs.com
Last updated