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

Function updateButtons

apps/ui/src/tab-view/tab-view-icon-page.ts:20–27  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

18}
19
20function updateButtons(args) {
21 let button = <Button>args.object;
22 let tabView = button.page.getViewById<TabView>('tab-view');
23 for (let i = 0, length = tabView.items.length; i < length; i++) {
24 const value = isIOS ? tabView.iosIconRenderingMode : tabView.androidIconRenderingMode;
25 (<Button>tabView.items[i].view).text = '' + value;
26 }
27}

Callers 1

onChangeRenderingModeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected