An open API service indexing awesome lists of open source software.

https://github.com/m1ga/ti.flexbox


https://github.com/m1ga/ti.flexbox

android titanium-module

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# ti.flexbox - Flexbox layout for Titanium

Currently: Android only using https://github.com/google/flexbox-layout

## Example

```js
const TiFlexbox = require('ti.flexbox');
const flexView = TiFlexbox.createFlexView({
direction: "row",
justifyContent: "spaceAround"
});
````

## Parameters
* direction: row, rowReverse, column, columnReverse,
* alignItems: stretch, baseline, center, flexEnd, flexStart
* alignContent: spaceBetween, spaceAround, center, flexEnd, flexEnd
* justifyContent: spaceBetween, spaceEvenly, spaceAround, center, flexEnd, flexStart
* wrap: wrap, noWrap