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

Method setHelpUrl

packages/blockly/core/block.ts:1031–1033  ·  view source on GitHub ↗

* Set the URL of this block's help page. * * @param url URL string for block help, or function that returns a URL. Null * for no help.

(url: string | (() => string))

Source from the content-addressed store, hash-verified

1029 * for no help.
1030 */
1031 setHelpUrl(url: string | (() => string)) {
1032 this.helpUrl = url;
1033 }
1034
1035 /**
1036 * Sets the tooltip for this block.

Callers 5

jsonInitMethod · 0.95
text.tsFile · 0.80
lists.tsFile · 0.80
procedures.tsFile · 0.80
blocks.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected