blockly > IconNavigationPolicy > getParent
IconNavigationPolicy.getParent() method
Returns the parent of the given icon.
Signature:
getParent(current: Icon): IFocusableNode | null;
Parameters
Parameter | Type | Description |
|---|---|---|
current | The icon to return the parent of. |
Returns:
IFocusableNode | null
The source block of the given icon.