mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
8 lines
176 B
TypeScript
8 lines
176 B
TypeScript
export function loaded(args) {
|
|
var items = [];
|
|
for (var i = 0; i < 5; i++) {
|
|
items.push("name" + i);
|
|
}
|
|
args.object.bindingContext = { items: items };
|
|
}
|