mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
17 lines
792 B
TypeScript
17 lines
792 B
TypeScript
|
|
interface ProgressInstanceEventMap<InstType = IProgressBarInstance> extends WorldInstanceEventMap<InstType> {
|
|
"click": InstanceEvent<InstType>;
|
|
}
|
|
/** Represents the Progress Bar object.
|
|
* @see {@link https://www.construct.net/make-games/manuals/construct-3/scripting/scripting-reference/plugin-interfaces/progress-bar | IProgressBarInstance documentation } */
|
|
declare class IProgressBarInstance extends IDOMInstance
|
|
{
|
|
addEventListener<K extends keyof ProgressInstanceEventMap<this>>(type: K, listener: (ev: ProgressInstanceEventMap<this>[K]) => any): void;
|
|
removeEventListener<K extends keyof ProgressInstanceEventMap<this>>(type: K, listener: (ev: ProgressInstanceEventMap<this>[K]) => any): void;
|
|
|
|
progress: number;
|
|
maximum: number;
|
|
tooltip: string;
|
|
setIndeterminate(): void;
|
|
}
|