projects/components/widgets/containers/linear-layout/src/layout-layout.directive.doc.ts
The wmLinearLayout
directive defines a linear layout component.
class |
Type : string
|
Class of the widget. |
direction |
Type : string
|
The direction in which children have to be arranged. Allowed values are row, row-reverse, column, column-reverse. Default value is row. |
horizontalalign |
Type : string
|
If the direction is either row or row-reverse, then the value of this property decides the horizontal alignment of children. Allowed Values:
|
name |
Type : string
|
Name of the linear layout widget. |
show |
Type : boolean
|
Default value : true
|
This property will be used to show/hide the container widget on the web page. |
spacing |
Type : number
|
The amount of space to be maintained between two consecutive childs. If the linear layout is a immediate child of another linear layout, then spacing (if not specified or zero) is inherited from the parent linear layout. Default is inherited from parent or 4 (if parent is not present). |
verticalalign |
Type : string
|
If the direction is either column or column-reverse, then the value of this property decides the vertical alignment of children. Allowed Values:
|