File

projects/components/widgets/containers/linear-layout/src/layout-layout.directive.doc.ts

Description

The wmLinearLayout directive defines a linear layout component.

Inputs

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: left, center, right

left: Aligns an element to the left.

center: Aligns an element to the center.

right: Aligns an element to the right.

Default value is left.
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: left, center, right

top: Aligns an element to the top.

center: Aligns an element to the center.

bottom: Aligns an element to the bottom.

Default value is top.

results matching ""

    No results matching ""