mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
feat: bundle workflow support (#7337)
This commit is contained in:

committed by
Vasil Chimev

parent
5f9eabdf17
commit
ecd9fc3e9d
@ -0,0 +1,11 @@
|
||||
import { Label } from "tns-core-modules/ui/label";
|
||||
import { Observable } from "tns-core-modules/data/observable";
|
||||
import { Page } from "tns-core-modules/ui/page";
|
||||
|
||||
export function loaded(args) {
|
||||
(<Observable>(<Label>args.object).page.bindingContext).set("testPassed", true);
|
||||
}
|
||||
|
||||
export function onNavigatingTo(args) {
|
||||
(<Page>args.object).bindingContext = args.context;
|
||||
}
|
Reference in New Issue
Block a user