UNPKG

agentscape

Version:

Agentscape is a library for creating agent-based simulations. It provides a simple API for defining agents and their behavior, and for defining the environment in which the agents interact. Agentscape is designed to be flexible and extensible, allowing

30 lines (29 loc) 870 B
declare class DragPage extends HTMLElement { headerRef: HTMLDivElement; titleRef: HTMLDivElement; dragHandleRef: HTMLDivElement; private initWidth; static get observedAttributes(): string[]; constructor(); connectedCallback(): void; get heading(): string; set heading(newState: string); get minimized(): boolean; set minimized(newState: boolean); set color(newColor: string); get color(): string; get key(): string | undefined; set key(newValue: string | undefined); attributeChangedCallback(_name: string): void; private defaultHeaderColor; private handleBtnClick; private handleDblCLick; private pos; private storePosition; private restorePosition; private didMove; private beginElementDrag; private elementDrag; private endElementDrag; } export default DragPage;