w2toolbar.routeData

Object with data for the route.
String, default = ''
As of 1.4+ you can specify a route for the toolbar item. When the button is clicked, it will still emit .onClick event, but in addition it will follow a route defined for the button. The route can have dynamic data, for example: In the example above, the ":id" from the route will be replaced with "14" from routeData object.

User Comments

comments powered by Disqus