Home > @jsplumbtoolkit/browser-ui-vue2 > addMiniview
addMiniview() function
Add a Miniview to the Surface with the given id. If the Surface already exists and has been initialised the Miniview will be added immediately; otherwise it will be enqueued for later processing. This is just a wrapper around addComponent.
Signature:
export declare function addMiniview(surfaceId: string, params?: MiniviewPluginOptions): void;
Parameters
Parameter | Type | Description |
---|---|---|
surfaceId | string | ID of the Surface to add the Miniview to. |
params | MiniviewPluginOptions | Constructor parameters for the Miniview. |
Returns:
void