UNPKG

jay-js

Version:

Jay is a framework for creating a single page application.

21 lines (20 loc) 622 B
import "./ProgressBar.style.css"; declare type ProgressBarType = { id?: string; tag?: string; size?: "small" | "medium" | "large"; style?: Partial<CSSStyleDeclaration>; events?: Array<{ name: string; callback: (e: Event) => void; }>; className?: string | Function; attributes?: Array<[string, string]>; infinite?: boolean; value?: number; }; interface ProgressBarInterface extends HTMLElement { set: (value: number, animated?: boolean) => void; } export declare const ProgressBar: (props: ProgressBarType) => ProgressBarInterface; export {};