API

Function editableInPropertyPage

  • Decorator that flags a property in a node block as being editable

    Parameters

    • 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: IEditablePropertyOption

      the options of the property

    Returns (
        _value: unknown,
        context: { metadata: DecoratorMetadataObject; name: string | symbol },
    ) => void

    the decorator