MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / createLabel

Function createLabel

apps/ui/src/events/gestures-page.ts:146–155  ·  view source on GitHub ↗
(text: string, labelHeight: number, shouldWrap = false)

Source from the content-addressed store, hash-verified

144}
145
146function createLabel(text: string, labelHeight: number, shouldWrap = false) {
147 const label = new Label();
148 label.height = labelHeight;
149 label.text = text;
150 label.textWrap = shouldWrap;
151 label.borderColor = 'green';
152 label.borderWidth = 1;
153
154 return label;
155}

Callers 1

createPageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected