ONOS Web UI - Topo2Toolbar.js Documentation

Methods

init

Creates the DOM nodes and builds the Toolbar

#Internal

initKeyData

Reads the KeyMap data and creates a reference to the callback for each command

getKey

Finds the key in the KeyMap data

addButton

Adds a button to the toolbar

addToggle

Adds a toggle button to the toolbar

toggle

Shows or hides the toolbar based on it's current visibility

destroy

Removes from DOM and clears references