564
edits
| Line 98: | Line 98: | ||
jetpack.toolbar.prepend(newToolbar); | jetpack.toolbar.prepend(newToolbar); | ||
</pre> | |||
=== Initial Implementation API === | |||
For the initial implementation, the api will be restricted to | |||
<pre class="brush:js;"> | |||
jetpack.toolbar.navigation | |||
var newButton = {id: "fooButton"}; | |||
jetpack.toolbar.navigation.append(newButton) | |||
jetpack.toolbar.navigation.remove("fooButton"); | |||
As well as jetpack.toolbar.bookmarks .append / .remove | |||
</pre> | </pre> | ||
edits