MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / set

Function set

apps/ui/src/flexbox/flexbox-page.ts:3–8  ·  view source on GitHub ↗
(what: string)

Source from the content-addressed store, hash-verified

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

Callers 1

flexbox-page.tsFile · 0.70

Calls 1

addCssMethod · 0.45

Tested by

no test coverage detected