UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

25 lines (24 loc) 836 B
import GirafeHTMLElement from './GirafeHTMLElement'; declare class GirafeDraggableElement extends GirafeHTMLElement { button?: HTMLElement; div?: HTMLElement; header?: HTMLElement; closeButton?: HTMLElement; container?: HTMLElement; get host(): HTMLElement; pos1: number; pos2: number; pos3: number; pos4: number; constructor(component: string); makeDraggable(container?: HTMLElement | undefined): void; private setDefaultPosition; closeWindow(): void; dragMouseDown(_this: GirafeDraggableElement, e: MouseEvent): void; elementDrag(_this: GirafeDraggableElement, e: MouseEvent): void; getContainerWidth(): number; getContainerHeight(): number; resize(_this: GirafeDraggableElement): void; closeDragElement(): void; } export default GirafeDraggableElement;