Class: TabPage

js-whatever/js/tab-page. TabPage

<abstract> new TabPage()

Wrapper around LazyTabView which allows it to be
used as a page. The constructor calls initializeTabs, followed by filterTabs, then constructs an instance
of each tab

Source:

Extends

Members

appPrefix :string

The base route of your application

Type:
  • string
Default Value:
  • page
Source:

filterTabs :function

Override to filter this.tabs

Type:
  • function
Source:

initializeTabs :function

Override to initialize this.tabs

Type:
  • function
Source:

<abstract> routePrefix :string

String used in route construction. Set this to the name of the page

Type:
  • string
Default Value:
  • overrideMe
Source:

<abstract> router :Backbone.Router

Type:
  • Backbone.Router
Source:

<abstract> tabs :Array.<TabPageTabData>

Tabs to be rendered. Initialize in initializeTabs

Type:
  • Array.<TabPageTabData>
Source:

template

Template for page

Source:

<abstract> vent :module:js-whatever/js/vent-constructor.Vent

Instance of Vent used for navigation

Type:
Source:

Methods

getSelectedRoute() → {string}

Returns the selected route for the embedded tab view

Source:
Returns:
Type
string

hide()

Hides the page

Inherited From:
Source:

render()

Renders the view, creating an embedded module:js-whatever/js/tab-view.TabView

Source:

show()

Shows the page and calls the update method

Inherited From:
Source:

update()

Selects the currently selected tab to update navigation

Source:
Copyright 2013-2018 Micro Focus International plc. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
Documentation generated by JSDoc 3.4.3 on Thu Jun 21st 18:04 2018 using the DocStrap template.