@realsee/dnalogel
Version:
14 lines (13 loc) • 426 B
TypeScript
type CursorType = 'auto' | 'pen' | 'pen-forbidden' | 'pen-crosshair' | 'pne-polygon' | 'pen-circle' | 'crosshair-rectangle' | 'crosshair-circle';
export declare class Cursor {
private container;
constructor(container: HTMLElement);
/**
* @param type - The type of the cursor.
*/
setType(type: CursorType): void;
tip(tip: string): () => void;
closeTip(): void;
reset(): void;
}
export {};