Constructor
new Toolbar(options, store, settings)
Create a toolbar
Parameters:
| Name | Type | Description |
|---|---|---|
options |
object | Toolbar options |
store |
object | NSPIT store |
settings |
object | User settings control |
Methods
addTool(toolActivation)
Add tool to toolbar
Parameters:
| Name | Type | Description |
|---|---|---|
toolActivation |
object | Tool properties |
createTool(name, store) → {object}
Create a tool
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | Tool name |
store |
object | NSPIT store |
Returns:
- Type
- object