Skip to main content

Home > blockly > Block > setHelpUrl

Block.setHelpUrl() method

Set the URL of this block's help page.

Signature:

setHelpUrl(url: string | (() => string)): void;

Parameters

ParameterTypeDescription
urlstring | (() => string)URL string for block help, or function that returns a URL. Null for no help.

Returns:

void