Skip to main content

@mapgear/geoapps > Block

Block class

Represents a block within a Screen of an app. The block can be used to dynamically render a partial area of a screen, based on user configuration.

Signature:
export declare class Block 

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Block class.

Properties

PropertyModifiersTypeDescription
BlockIdstringUnique id of block
BlockTypestringType of block
NamestringName of block

Methods

MethodModifiersDescription
Get(key)Gets a setting by the specified key
Set(key, value)Add or update a setting