Options for applying flex layout attributes to flex object.
Go to Property Listing | Method Listing
addEventListener, getElements, removeEventListener, toSource, toSpecifier
Boolean, EventListeners, Events, FlexDirection, FlexEnum, FlexPosition, FlexSpacing, FlexWidthHeightMode, FlexWrap, Number, Object, String,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
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. |
||
|
read/write |
Defines the default behavior for how flex items are laid out along the cross axis. Can return: FlexPosition enumerator or FlexEnum enumerator. |
||
|
readonly |
A collection of event listeners. |
||
|
readonly |
A collection of events. |
||
|
read/write |
The direction of the flex container |
||
|
read/write |
The column gap between flex items |
||
|
read/write |
The row gap between flex items |
||
|
read/write |
The height behavior of the flex container. Can return: FlexWidthHeightMode enumerator or FlexEnum enumerator. |
||
|
read/write |
The bottom padding of the flex container |
||
|
read/write |
The left padding of the flex container |
||
|
read/write |
The right padding of the flex container |
||
|
read/write |
The top padding of the flex container |
||
|
read/write |
The width behavior of the flex container. Can return: FlexWidthHeightMode enumerator or FlexEnum enumerator. |
||
|
read/write |
Whether flex items are forced onto one line or can wrap onto multiple lines |
||
|
readonly |
Returns true if the object specifier resolves to valid objects. |
||
|
read/write |
Defines how the browser distributes space between and around content items along the main-axis. Can return: FlexPosition enumerator or FlexSpacing enumerator. |
||
|
readonly |
The parent of the FlexLayoutAttributeOption (a ObjectStyle). |
||
|
read/write |
A property that allows setting of several properties at the same time. |
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
FlexLayoutAttributeOption getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the FlexLayoutAttributeOption.
String toSpecifier ()
Retrieves the object specifier.
ObjectStyle.flexLayoutAttributeOptions
Event.parent
EventListener.parent
MutationEvent.parent