Skip to main content

@mapgear/geoapps > Screen > GetBlockById

Screen.GetBlockById() method

Gets block by screen id and block id

Signature:
GetBlockById(blockId: string): Block;

Parameters

ParameterTypeDescription
blockIdstring
Returns:

Block

The specified Block, or undefined if it doesn't exists