registerWidget
function registerWidget(meta): Promise<PluginWidget>;
When registering a widget, it must be given the correct 'parentPluginId' of the plugin which spawned it in order for its own UI elements to be correctly ordered based on its parent order.
The correct 'id' is the one the parent plugin passed in 'registerPlugin'
Parameters
| Parameter | Type |
|---|---|
meta | { parentPluginId: string; } |
meta.parentPluginId | string |
Returns
Promise<PluginWidget>