Adds an event listener.
Object
FlexLayoutAttributeOption
Options for applying flex layout attributes to flex object.
Preference ›FlexLayoutAttributeOption
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| FlexPosition | FlexEnum | read/write | Aligns a flex container's lines within when there is extra space in the cross-axis. Can return: FlexPosition enumerator or FlexEnum enumerator. | |
| FlexPosition | FlexEnum | read/write | Defines the default behavior for how flex items are laid out along the cross axis. Can return: FlexPosition enumerator or FlexEnum enumerator. | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| FlexDirection | read/write | The direction of the flex container | |
| Number | String unit | read/write | The column gap between flex items | |
| Number | String unit | read/write | The row gap between flex items | |
| FlexWidthHeightMode | FlexEnum | read/write | The height behavior of the flex container. Can return: FlexWidthHeightMode enumerator or FlexEnum enumerator. | |
| Number | String unit | read/write | The bottom padding of the flex container | |
| Number | String unit | read/write | The left padding of the flex container | |
| Number | String unit | read/write | The right padding of the flex container | |
| Number | String unit | read/write | The top padding of the flex container | |
| FlexWidthHeightMode | FlexEnum | read/write | The width behavior of the flex container. Can return: FlexWidthHeightMode enumerator or FlexEnum enumerator. | |
| FlexWrap | read/write | Whether flex items are forced onto one line or can wrap onto multiple lines | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| FlexPosition | FlexSpacing | read/write | Defines how the browser distributes space between and around content items along the main-axis. Can return: FlexPosition enumerator or FlexSpacing enumerator. | |
| ObjectStyle | readonly | The parent of the FlexLayoutAttributeOption (a ObjectStyle). | |
| Object | read/write | A property that allows setting of several properties at the same time. |
Methods
Resolves the object specifier, creating an array of object references.
→ Boolean
Removes the event listener.
→ String
Generates a string which, if executed, will return the FlexLayoutAttributeOption.
→ String
Retrieves the object specifier.
Object of 4
Properties elsewhere that hold a FlexLayoutAttributeOption.
Return 1
Methods that return a FlexLayoutAttributeOption.