new module:model/HeaderStyles()
- Source:
Constructs a new HeaderStyles.
Control the display of the header.
Members
(static, readonly) DisplayEnum :String
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
none |
String | value: "none" |
Allowed values for the display property.
Type:
- String
(inner) color :String
- Source:
Control the fore-ground color of the element.
Type:
- String
(inner) display :module:model/HeaderStyles.DisplayEnum
- Source:
Control the display of the header. Can only be set to 'none' over the default for hiding purposes.
Type:
(inner) fontFamily :String
- Source:
Control the font family of the text.
Type:
- String
(inner) fontSize :String
- Source:
Control the font size of the text.
Type:
- String
(inner) fontStyle :String
- Source:
Control the font style of the text.
Type:
- String
(inner) fontWeight :Object
- Source:
Control the font weight of the text.
Type:
- Object
(inner) textDecoration :String
- Source:
Control the underline and other styles of the text.
Type:
- String
Methods
(static) constructFromObject(data, obj) → {module:model/HeaderStyles}
- Source:
Constructs a HeaderStyles from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/HeaderStyles | Optional instance to populate. |
Returns:
The populated HeaderStyles instance.