Gets the anchor of the element component.
The anchor.
Sets the anchor of the element component.
The anchor.
Gets the id of the pc-asset
to use for the font.
The asset ID.
Sets the id of the pc-asset
to use for the font.
The asset ID.
Gets whether the element component should automatically adjust its width.
Whether to automatically adjust the width.
Sets whether the element component should automatically adjust its width.
Whether to automatically adjust the width.
Gets the color of the element component.
The color.
Sets the color of the element component.
The color.
Gets the underlying PlayCanvas element component.
The element component.
Gets the enabled state of the component.
The enabled state of the component.
Sets the enabled state of the component.
The enabled state of the component.
Gets the font size of the element component.
The font size.
Sets the font size of the element component.
The font size.
Gets the line height of the element component.
The line height.
Sets the line height of the element component.
The line height.
Gets the pivot of the element component.
The pivot.
Sets the pivot of the element component.
The pivot.
Gets the text of the element component.
The text.
Sets the text of the element component.
The text.
Gets the type of the element component.
The type.
Sets the type of the element component.
The type.
Gets the width of the element component.
The width.
Sets the width of the element component.
The width.
Gets whether the element component should wrap lines.
Whether to wrap lines.
Sets whether the element component should wrap lines.
Whether to wrap lines.
Protected
_onReturns a promise that resolves with this element when it's ready.
A promise that resolves with this element when it's ready.
The ElementComponentElement interface provides properties and methods for manipulating
<pc-element>
elements. The ElementComponentElement interface also inherits the properties and methods of the HTMLElement interface.