blockly > FlyoutButton > setCursorSvg

FlyoutButton.setCursorSvg() method

Add the cursor SVG to this buttons's SVG group.

Signature:

setCursorSvg(cursorSvg: SVGElement): void;

Parameters

Parameter Type Description
cursorSvg SVGElement The SVG root of the cursor to be added to the button SVG group.

Returns:

void