564
edits
| Line 16: | Line 16: | ||
Create an easy way to get a handle on the navigation toolbar, the bookmarks toolbar. Provide an elegant API to add, modify and remove items for each bar, as well as hiding and showing the toolbars. | Create an easy way to get a handle on the navigation toolbar, the bookmarks toolbar. Provide an elegant API to add, modify and remove items for each bar, as well as hiding and showing the toolbars. | ||
<pre>jetpack.toolbar.navigation() // returns an abstracted "jetpacky" nav bar object / bookmarks bar object | <pre class="brush:js;"> | ||
jetpack.toolbar.navigation() // returns an abstracted "jetpacky" nav bar object / bookmarks bar object | |||
jetpack.toolbar.navigation.children() // gets the child objects in an array-like object | jetpack.toolbar.navigation.children() // gets the child objects in an array-like object | ||
edits