Function editableInPropertyPage
-
editableInPropertyPage(
displayName: string,
propertyType?: PropertyTypeForEdition,
groupName?: string,
options?: IEditablePropertyOption,
): (
_value: unknown,
context: { metadata: DecoratorMetadataObject; name: string | symbol },
) => voidParameters
- displayName: string
the display name of the property
- propertyType: PropertyTypeForEdition = PropertyTypeForEdition.Boolean
the type of the property
- groupName: string = "PROPERTIES"
the group name of the property
Optionaloptions: IEditablePropertyOptionthe options of the property
Returns (
_value: unknown,
context: { metadata: DecoratorMetadataObject; name: string | symbol },
) => voidthe decorator
- displayName: string
Decorator that flags a property in a node block as being editable