Object with data for the route.
String, default = ''
As of 1.4+ you can specify a route for the tabs. When the tab is clicked, it will still emit .onClick event, but in addition it will follow a route defined for the tab. The route can have dynamic data, for example: $('#tabs').w2tabs({ name: 'tabs', routeData: { id: 14 }, tabs: [ { id: 'tab1', text: 'Tab 1' route: '/view/:id/details' }, { id: 'tab2', text: 'Tab 2' route: '/view/:id/details' } ] }); In the example above, the ":id" from the route will be replaced with "14" from routeData object.