Search
Loading...
Skip to content

Interface: BuilderRenderFunctionContext

Type Parameters#

Type Parameter
P

Properties#

PropertyModifierTypeDescription
builderpublicBuilder-
enginepublicCreativeEngine-
statepublic{ <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?publicP-
renderOptimizedSmallViewportpublicboolean-
experimentalpublicBuilderRenderContextPLEASE 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.