RapidContext
Access > Discovery > Insight
www.rapidcontext.com
Extends:
RapidContext.Widget
The navigation bar widget class. Used to show step-based progress or
location in a tree structure. In both cases, it allows the user to go
back to a previous step. The widget uses a <table> HTML element.
Source code:
RapidContext_Widget_NavigationBar.js
Creates a new navigation bar widget.
|
The maximum position reached when
navigating.
|
|
The path being navigated.
|
|
The current position in the path (from 0)
|
moveTo(pos, path)
Moves the navigation bar to the specified position in the path.
|
|
reset()
Resets the position and maximum position counters and moves to
the first step in the path.
|
onchange()
Emitted when the navigation position changes.
|
JavaScript:
var navBar = RapidContext.NavigationBar();
navBar.moveTo(0, ["Step 1", "Step 2", "Step 3"]);
User Interface XML:
<NavigationBar id="navBar" />
<!-- No support for menu items in XML yet -->