pxt-core
Version:
Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors
9 lines (8 loc) • 798 B
TypeScript
/// <reference path="../pxtlib.d.ts" />
import * as Blockly from "blockly";
export declare function setBuiltinHelpInfo(block: any, id: string): void;
export declare function installBuiltinHelpInfo(id: string): void;
export declare function setHelpResources(block: Blockly.BlockSvg, id: string, name: string, tooltip: any, url: string, colour: string, colourSecondary?: string, colourTertiary?: string, undeletable?: boolean): void;
export declare function installHelpResources(id: string, name: string, tooltip: any, url: string, colour: string, colourSecondary?: string, colourTertiary?: string): void;
export declare function mkCard(fn: pxtc.SymbolInfo, blockXml: HTMLElement): pxt.CodeCard;
export declare function attachCardInfo(blockInfo: pxtc.BlocksInfo, qName: string): pxt.CodeCard | void;