sparnatural
Version:
Visual client-side SPARQL query builder and knowledge graph exploration tool
20 lines (19 loc) • 554 B
TypeScript
import { HTMLComponent } from "../HtmlComponent";
export declare class PlayBtn extends HTMLComponent {
callback: () => void;
constructor(ParentComponent: HTMLComponent, callback: () => void);
render(): this;
/**
* @returns true when the button is disabled
*/
isDisabled(): boolean;
disable(): void;
/**
* Triggered when query has finished executing. Just removes the loading but keep the button disabled
*/
removeLoading(): void;
/**
* Re-enables the grey button
*/
enable(): void;
}