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

Function change

apps/ui/src/action-bar/modal-page.ts:13–25  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

11}
12
13export function change(args) {
14 var button: Button = <Button>args.object;
15
16 var page: Page = <Page>button.parent;
17
18 console.log('---------------------page-------------------------');
19 console.log(page);
20 var label: Label = <Label>page.getViewById('label1');
21 label.text = 'fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo';
22
23 var label2: Label = <Label>page.getViewById('label2');
24 label2.text = 'foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo';
25}

Callers

nothing calls this directly

Calls 1

logMethod · 0.45

Tested by

no test coverage detected