Fired when a property value is changed in the component.
Request refreshing the component's properties from an external component (usually the editor).
Adds a new property to the component.
The property name.
Optionaltype: cPropertyTypeThe property type. (Default: cPropertyType.Text)
Optionaloptions: IPropertyConfigThe property options (containing any of the options in IPropertyInfo).
Adds a property change listener.
A function that is called when a property value is changed (the property name is passed as a parameter to the function).
Optionalpropertyname: stringThe name of the property whose changes are listened. (If undefined or null, listens to all properties.)
Checks if the property with the given name exists.
The name of the property.
Gets the attributes of a property. The instance specific attribute values can be changed using this object. RequestRefresh event is raised automatically when a property attribute is changed.
The name of the property.
Gets resolved color value for specified color property.
The name of the color property
Does given property have its default value.
The property name.
[ADVANCED] Resolve visibility of a property
The property name.
Get names of all the properties in the component.
Reads property values from an object and sets them to this component. (Disregards properties that aren't found in the current component.)
An object containing property names and values ({PropertyName1: PropertyValue1, PropertyName2: PropertyValue2, ...}).
Optionalremovehandled: booleanRemove read name value pairs from the properties object. Intended for preventing inheriting components reading the properties twice.
Remove a property
The property name.
Removes a property change listener.
The function to be removed.
Optionalpropertyname: stringThe name of the property whose changes were listened.
Creates an auxilary property to store for the changes from defaults. Works only with Array and Dictionary type properties.
Modifies one or several attributes of a property.
Name of the property.
Attributes with their new values.
Update the default value of a property (for this component instance).
Optionalinitialconfig: IComponentConfigSet the new item handler of a collection property. (Currently only supported for array or dictionary properties)
The collection property name.
The function creating a new item (to be added in the collection).
Set the new item name handler of a collection property.
The component property API