Type Parameters#
Type Parameter |
---|
P |
Properties#
Property | Modifier | Type | Description |
---|---|---|---|
builder | public | Builder | - |
engine | public | CreativeEngine | - |
state | public | { <T > (id , defaultValue ): object ; <T > (id ): object ; } | State object that can be used to store and retrieve local values. It will take a unique identifier for this state that can be used to access this store later. const { value, setValue } = state('unique-id', 'default-value'); If no default value is set, the value property may be undefined if no value was set before: const { value, setValue } = state('unique-id', 'default-value'); Param The unique identifier for the state. Param The default value for the state. |
payload? | public | P | - |
renderOptimizedSmallViewport | public | boolean | - |
experimental | public | BuilderRenderContext | PLEASE NOTE: This contains experimental APIs. Use them with caution since they might change without warning and might be replaced with a completely different concept or maybe not at all. |