IBuilderTier interface
đ Descriptionâ
Interface for declaring a builder tier.
tip
See this guide for more information about using tiers.
đ Type declarationâ
interface IBuilderTier { name: string; blocks: string[]; mode?: "enabled" | "disabled" | "hidden";Optional message?: (orchestrator: EditorOrchestrator) => void;FunctionOptional }
đąī¸ Hover with the mouse over a property name for a tooltip with the description of that property. Click it for more information.
đī¸ Propertiesâ
đˇī¸ blocks
â
Specifies the block identifiers included in the tier.
Typeâ
string[]
đˇī¸ mode
â
Optional mode for the tier. It can be one of the following values:
enabled
: The blocks in the tier are enabled, and the name of the tier is shown in the blocks list (this is the default mode);disabled
: The blocks in the tier are disabled;hidden
: The blocks in the tier are hidden and cannot be selected.
Typeâ
"enabled" | "disabled" | "hidden"
đˇī¸ name
â
Specifies a name for the tier.
Typeâ
string
âļī¸ Functionsâ
đ§ message
â
Optional message that renders when a block from the tier is selected, but the tier is disabled.
Signatureâ
(orchestrator: EditorOrchestrator) => void
Parametersâ
Name | Type | Optional | Description |
---|---|---|---|
orchestrator | EditorOrchestrator | No | Reference to the editor orchestrator instance that is used to define editor controls. |