@mapka/split-panel
Version:
Split panel for mapka
30 lines • 1.07 kB
TypeScript
export declare const renderShadow: (el: HTMLElement, html: string, css?: string) => void;
export declare class SplitPanel extends HTMLElement {
#private;
isMobileView: boolean | null;
visiblePanel: "map" | "content";
rec: DOMRect | null;
median: HTMLDivElement;
mapPanel: HTMLDivElement;
contentPanel: HTMLDivElement;
set isResizing(value: boolean);
get isResizing(): boolean;
cacheDom: () => void;
updateRec: () => void;
switchToMobile: () => void;
switchDesktop: () => void;
handleResolution: () => void;
handleWindowResize: import("es-toolkit").DebouncedFunction<() => void>;
handlePointerdown: (event: PointerEvent) => void;
handlePointerup: (event: PointerEvent) => void;
handleResizeDrag: (e: PointerEvent) => void;
attachLocalEvents: () => void;
attachEvents: () => void;
disconnectEvents: () => void;
connectedCallback(): void;
disconnectedCallback(): void;
static styles: string;
static html: string;
render(): void;
}
//# sourceMappingURL=SplitPanel.d.ts.map