ranui
Version:
UI Component library based on `Web Component`
42 lines (41 loc) • 1.26 kB
TypeScript
declare const Progress_base: {
new (): HTMLElement;
prototype: HTMLElement;
};
declare class Progress extends Progress_base {
_progress: HTMLDivElement;
_progressWrap: HTMLDivElement;
_progressWrapValue: HTMLDivElement;
_progressDot: HTMLDivElement;
moveProgress: {
mouseDown: boolean;
};
_shadowDom: ShadowRoot;
constructor();
static get observedAttributes(): string[];
get percent(): string;
set percent(value: string);
get total(): string;
set total(value: string);
get type(): string;
set type(value: string);
get animation(): string;
set animation(value: string);
get dot(): string;
set dot(value: string);
progressClick: (e: MouseEvent) => void;
progressDotMouseDown: () => void;
progressDotMouseMove: (e: MouseEvent) => void;
progressDotMouseUp: () => void;
change: () => void;
appendProgressDot: () => void;
updateCurrentProgress: () => void;
dragEvent: () => void;
private resize;
connectedCallback(): void;
disconnectCallback(): void;
attributeChangedCallback(k: string, o: string, n: string): void;
}
declare const _default: import("@/utils/index").CustomErrorType;
export default _default;
export { Progress };