UNPKG

pxt-core

Version:

Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors

13 lines (12 loc) 484 B
/// <reference path="../../pxtlib.d.ts" /> import * as Blockly from "blockly"; import { FieldCustomOptions, FieldCustom } from "./field_utils"; export interface StyleOptions extends FieldCustomOptions { bold: boolean; italics: boolean; } export declare class FieldStyledLabel extends Blockly.FieldLabel implements FieldCustom { isFieldCustom_: boolean; constructor(value: string, options?: StyleOptions, opt_validator?: Function); getFieldDescription(): string; }