(what: string)
| 1 | import { FlexboxLayout } from '@nativescript/core/ui/layouts/flexbox-layout'; |
| 2 | |
| 3 | function set(what: string) { |
| 4 | return function (args) { |
| 5 | let containerCss = ' #container { ' + args.object.tag + ' }'; |
| 6 | args.object.page.addCss(containerCss); |
| 7 | }; |
| 8 | } |
| 9 | |
| 10 | export const flexDirection = set('flexDirection'); |
| 11 | export const flexWrap = set('flexWrap'); |