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

Function onPageLoaded

apps/automated/src/pages/tab-view.ts:5–11  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

3var vm = new Observable();
4
5export function onPageLoaded(args) {
6 var page = args.object;
7 vm.set('firstTitle', 'fiiiirst');
8 vm.set('secondTitle', 'secondTitle');
9 vm.set('secondIcon', 'res://icon');
10 page.bindingContext = vm;
11}
12var i = 0;
13
14export function onTap() {

Callers 1

Calls 1

setMethod · 0.45

Tested by

no test coverage detected