@gleb.askerko/componentkit-js
Version:
Lightweight, framework-agnostic JavaScript component library with progress gift components
37 lines (30 loc) • 853 B
TypeScript
export interface ProgressGiftOptions {
maxPoints?: number;
giftIcon?: string;
showVersion?: boolean;
className?: string;
}
export declare class ProgressGift {
static version: string;
constructor(options?: ProgressGiftOptions);
render(selector: string | HTMLElement): ProgressGift;
addPoints(points: number): ProgressGift;
restart(): ProgressGift;
initProgressGift(): ProgressGift;
}
export declare class Button {
constructor(options?: any);
render(selector: string | HTMLElement): Button;
}
export declare class Input {
constructor(options?: any);
render(selector: string | HTMLElement): Input;
}
export declare class Card {
constructor(options?: any);
render(selector: string | HTMLElement): Card;
}
export declare class Modal {
constructor(options?: any);
render(selector: string | HTMLElement): Modal;
}