pxt-core
Version:
Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors
13 lines (12 loc) • 674 B
TypeScript
import * as Blockly from "blockly";
import { FieldCustom } from "./field_utils";
/**
* An image field on the block that does not have a text label.
* These do not produce text for display strings, but may have a visual element (like an expand button).
*/
export declare class FieldImageNoText extends Blockly.FieldImage implements FieldCustom {
isFieldCustom_: boolean;
constructor(src: string | typeof Blockly.Field.SKIP_SETUP, width: string | number, height: string | number, alt?: string, onClick?: (p1: Blockly.FieldImage) => void, flipRtl?: boolean, config?: Blockly.FieldImageConfig);
getFieldDescription(): string;
protected showEditor_(): void;
}