ranui
Version:
UI Component library based on `Web Component`
22 lines (21 loc) • 629 B
TypeScript
declare const ScratchTicket_base: {
new (): HTMLElement;
prototype: HTMLElement;
};
declare class ScratchTicket extends ScratchTicket_base {
scratchTicketContainer: HTMLDivElement;
scratchTicket: HTMLCanvasElement;
state: {
touchStart: boolean;
scratchArea: number;
};
scratchAward: HTMLDivElement;
static get observedAttributes(): string[];
constructor();
touchStartScratch: (e: TouchEvent) => void;
touchMoveScratch: () => void;
touchEndScratch: () => void;
drawScratchTicket: () => void;
attributeChangedCallback(): void;
}
export default ScratchTicket;