MCPcopy
hub / github.com/RaspberryPiFoundation/blockly / setWarningText

Method setWarningText

packages/blockly/core/block.ts:2396–2398  ·  view source on GitHub ↗

* Set this block's warning text. * * @param _text The text, or null to delete. * @param _opt_id An optional ID for the warning text to be able to maintain * multiple warnings.

(_text: string | null, _opt_id?: string)

Source from the content-addressed store, hash-verified

2394 * multiple warnings.
2395 */
2396 setWarningText(_text: string | null, _opt_id?: string) {
2397 // NOOP.
2398 }
2399
2400 /**
2401 * Give this block a mutator dialog.

Callers 15

loops.tsFile · 0.45
procedures.tsFile · 0.45
block_test.jsFile · 0.45
navigation_test.jsFile · 0.45
blocks.jsFile · 0.45
fieldNameCheckFunction · 0.45
inputNameCheckFunction · 0.45
warnExistingBlockFunction · 0.45
factory.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected