mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
10 lines
308 B
TypeScript
10 lines
308 B
TypeScript
import fs = require("file-system");
|
|
import imageSource = require("image-source");
|
|
|
|
export function pageLoaded(args) {
|
|
var page = args.object;
|
|
|
|
var telerikLogo = imageSource.fromFile(fs.path.join(__dirname, "../res/telerik-logo.png"));
|
|
|
|
page.bindingContext = { imageSource: telerikLogo };
|
|
} |