glassheart-ui-vanilla
Version:
GlassHeart UI - Vanilla JavaScript components
20 lines • 567 B
TypeScript
export declare class GlassCard {
private element;
private options;
constructor(options?: CardOptions);
private createElement;
private getClassNames;
render(container: HTMLElement | string): void;
destroy(): void;
getElement(): HTMLElement;
}
export interface CardOptions {
size?: 'sm' | 'md' | 'lg' | 'xl';
variant?: 'default' | 'outline' | 'solid';
glass?: 'light' | 'medium' | 'heavy';
liquid?: boolean;
interactive?: boolean;
loading?: boolean;
content?: string;
}
//# sourceMappingURL=GlassCard.d.ts.map