Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function () {
- "use strict";
- WinJS.UI.Pages.define("...", {
- ready: function (element, options) {
- var item = element.querySelector("#item").winControl;
- function handler(eventInfo) {
- eventInfo.detail.itemPromise.done(function (item) {
- WinJS.Navigation.navigate("....", { newsItem: item.data });
- });
- }
- },
- unload: function () {},
- updateLayout: function (element) {}
- });
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement