UNPKG

565 BTypeScriptView Raw
1import { Widget } from './widget';
2/**
3 * A contract for widgets that are extractable to a secondary window.
4 */
5export interface ExtractableWidget extends Widget {
6 /** Set to `true` to mark the widget to be extractable. */
7 isExtractable: boolean;
8 /** The secondary window that the window was extracted to or `undefined` if it is not yet extracted. */
9 secondaryWindow: Window | undefined;
10}
11export declare namespace ExtractableWidget {
12 function is(widget: unknown): widget is ExtractableWidget;
13}
14//# sourceMappingURL=extractable-widget.d.ts.map
\No newline at end of file