pxt-core
Version:
Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors
14 lines (13 loc) • 554 B
TypeScript
import * as Blockly from "blockly";
export interface ExtendedButtonInfo extends Blockly.utils.toolbox.LabelInfo {
"web-class": string;
"web-icon": string;
"web-icon-class": string;
"web-icon-color": string;
"web-line": string;
"web-line-width": string;
}
export declare class FlyoutButton extends Blockly.FlyoutButton {
constructor(workspace: Blockly.WorkspaceSvg, targetWorkspace: Blockly.WorkspaceSvg, json: Blockly.utils.toolbox.ButtonOrLabelInfo | ExtendedButtonInfo, isFlyoutLabel: boolean);
isDisposed(): boolean;
}