@dapplets/dapplet-extension
Version:
The Bridge to the Augmented Web.
86 lines (85 loc) • 2.06 kB
TypeScript
import { LitElement } from 'lit';
export interface IButtonProps {
ctx: any;
theme?: 'DARK' | 'LIGHT';
insPointName?: string;
img: string;
basic?: boolean;
label: string;
tooltip?: string;
loading: boolean;
disabled: boolean;
hidden?: boolean;
exec: (ctx: any, me: this) => void;
init: (ctx: any, me: this) => void;
}
export declare class Button extends LitElement implements IButtonProps {
static widgetParamsDescription: {
img: {
description: string;
optional: boolean;
TYPE: string;
};
basic: {
description: string;
optional: boolean;
TYPE: string;
};
label: {
description: string;
optional: boolean;
TYPE: string;
};
tooltip: {
description: string;
optional: boolean;
TYPE: string;
};
theme: {
description: string;
optional: boolean;
TYPE: string;
};
loading: {
description: string;
optional: boolean;
TYPE: string;
};
disabled: {
description: string;
optional: boolean;
TYPE: string;
};
hidden: {
description: string;
optional: boolean;
TYPE: string;
};
exec: {
description: string;
optional: boolean;
TYPE: string;
};
init: {
description: string;
optional: boolean;
TYPE: string;
};
};
state: any;
ctx: any;
theme: any;
insPointName: any;
img: any;
basic: any;
label: any;
tooltip: any;
loading: boolean;
disabled: boolean;
hidden: boolean;
exec: (ctx: any, me: this) => void;
init: (ctx: any, me: this) => void;
connectedCallback(): void;
private _clickHandler;
render(): import("lit-html").TemplateResult<1>;
}