API Commands
registerDockView
Creates a docked view container to show a widget on the bottom right corner. Its position is adjusted (stacked) to show side by of a widget if already present and is indexed with a tabindex.
Options
| Option | Type | Description |
|---|---|---|
| html | string | A Widget HTML string template that needs to be shown in dock view. |
Resolutions
| Status | When | Returns |
|---|---|---|
| resolved | When the html template is successfully opened and registered in dock view | n/a |
| rejected | When no html template is found | 'No html content' |
registerSideButton
Registers a button to show on the right side of the screen for a particular plugin. Its position is based on the respective plugin order defined in the array configuration. Currently, this is not supported for external plugins.
Options
| Option | Type | Description |
|---|---|---|
| template | string | Custom HTML string template for a button. |
Resolutions
| Status | When | Returns |
|---|---|---|
| resolved | When the html button is successfully registered | n/a |
| rejected | When no html template is found | 'No button template found to register' |
Comments or questions about this documentation? Contact us for support!
