UNPKG

gem-panel

Version:

A custom element <gem-panel>, let you easily create layout similar to Adobe After Effects.

31 lines 880 B
import { GemElement, RefObject } from '@mantou/gem'; import '@mantou/gem/elements/gesture'; import { Window } from '../lib/layout'; import './window-mask'; import './window-handle'; import './panel-title'; import './panel-placeholder'; export declare const windowTagName = "gem-panel-window"; declare type State = { independentWindow: Window | null; panelName: string | null; move: boolean; offsetX: number; offsetY: number; parentOffsetX: number; parentOffsetY: number; clientX: number; clientY: number; scrollX: number; }; export declare class GemPanelWindowElement extends GemElement<State> { #private; windowRef: RefObject<HTMLElement>; window: Window; state: State; mounted: () => void; render: () => import("@mantou/gem").TemplateResult; focus: () => void; } export {}; //# sourceMappingURL=window.d.ts.map