Elements are the main building blocks of layers. Each layer must have one element, which can be of several types defined with
ElementType enumeration. In the table below, you can see all element names, their
ElementType and information if that element has default middleware implementation or not.
|Image sequence element|
|Image loader element||✅|
All element types are described in details on their dedicated pages.
Below are listed all properties that are shared across all element types. Note that different element types may have their own specific properties and methods together with the common ones.
- Type: string
ID of the element.
- Type: undefined | string
Unique key of the element. Key is used for querying the element using
- Type: ElementType
Type of the element, as described in the introduction
- Type: HTMLElement
Reference to DOM element representing element in DOM structure.
- Type: Object
Object containing all element style properties which define it's final style. This object is not the same for all element types, for example text element style properties are only available for Text element object. For detailed list of all properties, check the list of all style properties.