new Navigation(options)
Wrapper around a Bootstrap navbar to handle updating the active link
Parameters:
| Name | Type | Description |
|---|---|---|
options |
NavigationOptions |
- Source:
Extends
- Backbone.View
Members
-
template
-
Template for the navbar
- Source:
Methods
-
<abstract> getTemplateParameters()
-
Returns parameters which are passed to the template. Defaults to a no-op
- Source:
-
navigate(pageName)
-
Updates the active link on the navbar. Called when the given router fires the given event
Parameters:
Name Type Description pageNameThe name of the page that has been navigated to
- Source:
-
render()
-
Renders the navbar
- Source: