https://github.com/m1ga/ti.flexbox
https://github.com/m1ga/ti.flexbox
android titanium-module
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/m1ga/ti.flexbox
- Owner: m1ga
- License: other
- Created: 2022-11-19T18:44:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-20T20:35:56.000Z (over 3 years ago)
- Last Synced: 2025-01-27T07:12:05.085Z (about 1 year ago)
- Topics: android, titanium-module
- Language: Java
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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