View

This Component is rebuild of angular-material's flexbox directives.

Different to angular's directive implementation, which can be used independent of each other, this component combines layout and element attributes within one component.

For explanation see:

Example

Say Hello!

Usage

NameTypeDescription
childrennode
htmlElementstringDefault: 'div'
alignHenumhorizontal alignmentDefault: 'start'
alignVenumvertical alignmentDefault: 'stretch'
directionenumdirection
fillboolPassing true, will make the view fill out available spaceDefault: false
wrapenumDefining how children will wrap
flexenumFlex values, can be 5, 10, 15 ... 100 or 33, 66Default: 'none'
onClickfunc
onRefunion@deprecatedDefault: =>