Constructor
new AlignType(hopt, vopt)
AlignType constructor
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
h | string | <optional> | Horizontal alignment. Possible values are |
v | string | <optional> | Vertical alignment. Possible values are |
- Source
Methods
getAttributes() → {object}
Gets a object with the basic attributes needed to rebuild this instance excluding functions,
parent references, constants and also attributes retaining the default value.
The resulting object is commonly usued to serialize elements in JSON format.
- Source
Returns:
- The resulting object, with minimal attrributes
- Type:
- object
setAttributes(data) → {module:boxes/ActiveBoxContent.AlignType}
Reads the properties of this AlignType from a data object
Parameters:
Name | Type | Description |
---|---|---|
data | object | The data object to be parsed |
- Source
Returns: