Skip to content

views.unmount

Removes a mounted widget or floating panel from the views (DMN-1275).

/** `views.unmount` params (DMN-1275). */
export type UnmountParams = {
id: string;
workspaceId: string;
};
/** `views.unmount` result (DMN-1275). */
export type Unmounted = {
/** Whether it removed the floating panel `id`. */
panel: boolean;
/** The views it removed because they were left empty, in id order. */
removedViews: string[];
/** The views it removed nodes from (and kept), in id order. */
views: string[];
};