Elements Definitions

Elements properties are defined in alahup/elements/definitions folder.

Each element has its own definition file, named after its short name.

For example, the possible custom properties of the image group element are defined in alahup/elements/definitions/imgGrp.xml.

  • The purpose of the definition file is to define the different properties associated with the elements, their possible values, and the interface element that will be used in the Editor to set a value.

  • Additionally, you can define "interface rules" which make an interface element show up only if some property is set to some value.

You can freely name the property (with id="..."), however most elements should have a property with id="type", especially text, container, and module elements because the appearance of these elements in the Editor is bound to the value of the "type" property.