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

Method getIcons

packages/blockly/core/block.ts:2454–2456  ·  view source on GitHub ↗

@returns An array of the icons attached to this block.

()

Source from the content-addressed store, hash-verified

2452
2453 /** @returns An array of the icons attached to this block. */
2454 getIcons(): IIcon[] {
2455 return [...this.icons];
2456 }
2457
2458 /**
2459 * Return the coordinates of the top-left corner of this block relative to the

Callers 15

getNestedTreesMethod · 0.80
lookUpFocusableNodeMethod · 0.80
initSvgMethod · 0.80
updateCollapsedMethod · 0.80
updateIconLocationsMethod · 0.80
setEditableMethod · 0.80
disposeInternalMethod · 0.80
applyColourMethod · 0.80
stopTrackingAllMethod · 0.80
loadMethod · 0.80
saveIconsFunction · 0.80
initBlockFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected