Questions tagged [winjs]

The Windows Library for JavaScript (WinJS) is a JavaScript library that can be used with any HTML, CSS, and JavaScript project on any platform including web sites, native apps, and hybrid apps. WinJS was first created for Windows 8 to enable first class, native-quality experiences in Windows Runtime apps.

The Windows Library for JavaScript (WinJS) is a JavaScript library that can be used with any HTML, CSS, and JavaScript project on any platform including web sites, native apps, and hybrid apps. WinJS was first created for Windows 8 to enable first class, native-quality experiences in Windows Runtime apps. Today, WinJS is released under the Apache 2.0 license as an Open Source project by Microsoft Open Technologies (MS Open Tech). The source code is available on GitHub: https://github.com/winjs/winjs. WinJS is actively developed by the WinJS developers working for Microsoft Open Technologies and in collaboration with the community of open source developers. WinJS provides a distinct set of UI controls with high polish and performance with fundamental support for touch, mouse, keyboard, and accessibility. It also provides developers with a cohesive set of components and utilities to build the scaffolding and infrastructure of their applications.

1687 questions
0
votes
1 answer

What is the syntax for calling functions defined using WinJS.UI.Pages.define from the associated html?

Since there is a distinct possibility that I'm doing something wrong, I'd like to describe what I'm attempting to accomplish, in case there is a better way of doing it. Platform: Windows 8 app using Navigation Template for HTML5/WinJS. I have a few…
user2287560
0
votes
1 answer

How to switch language for WinJS.Resources.processAll?

When using WinJS.Resources.processAll WinJS is using the system language, which is fine. And the example at this MSDN site shows, how to change the language/context to change single strings:…
matths
  • 760
  • 9
  • 19
0
votes
2 answers

Is there any significantly better way to write this xhrRetry utility function?

I have written this xhrWithRetry method. Purpose: This util method will retry couple of times, in case service calls fails with error code 500. client code that calls this util method, should be able to catch any exception thrown in this util method…
Sushil
  • 5,265
  • 2
  • 17
  • 15
0
votes
1 answer

how to extract values from a list?

first of all i have this kind of list which is filled like that: var data = {}; liste_path_categories.forEach(function (element) { data[element.letter] = {}; data[element.letter][element.id_categ] = element.reponse; …
Brahim
  • 309
  • 1
  • 2
  • 13
0
votes
2 answers

How to create a Blob object from image url?

I am using Winjs(javascript for windows 8 app). what I want is to create a simple blob object from a specific url of my static image by giving the path. What is the solution? Any help will be appreciated.
Brahim
  • 309
  • 1
  • 2
  • 13
0
votes
0 answers

Backgroundtask.js - how to include other files

I've started playing with time triggers, and defined my task in bacvkgroundtask.js. Now I have an simple, maybe silly question: How should I include external files? Usually we do this in the html file, but in this case, the entry point for the…
Larsi
  • 4,654
  • 7
  • 46
  • 75
0
votes
1 answer

WinJs List View display:none tile with ID

So what's the problem. I want to exclude item from WinJS List View with specific parameter (ID - passed from JSON). How to do that? Things i've tried: a) Before pushing data to someView.itemDataSource process it with this function (It work's, but…
karlisup
  • 672
  • 12
  • 22
0
votes
1 answer

winjs.xhr invalid request

I'm trying to let the user to create his own rss aggregator and it works fine, but my problem is when the user input something is not valid for example numbers, it gives me "req.send(options.data)" , and WINJS function is blocked and i can't modify…
0
votes
1 answer

Want to fill WinJS.UI.ListView with my own data

I had got the data using WinJS.xhr({ url: url, responseType: "json" }).then( function(result){}, function(error){} ); I make this stuff on the button click event. I got the data properly but can not fill them in my ListView. So now, how…
0
votes
2 answers

WinJS flipview control and item template

trying to use the FlipView control in WinJS and having some issues. I am able to bind it to a datasource and get the URL/picture property show up in the flipview control content pane but it fails to load the picture - any suggestions :( I have made…
ankur
  • 5
  • 1
0
votes
1 answer

How to integrate Dedicated worker in winjs

How to integrate Dedicated worker in winjs.. i am working on a winJS application.My application start with downloading images.How can i integrate Dedicated Worker in my application..?
user2246058
0
votes
2 answers

winJS ListView dynamic datasource edit issue

winJS ListView issue I am working on a winJS application.I have listview.I need to add new data to an existing list view.How can i do that?
user2246058
0
votes
1 answer

value passing on Winjs listview button click

value passing on Winjs listview button click Hi i am working on a winJS application.i have a winjs list and a button inside the listview.I need to pass a value on button click.
0
votes
1 answer

Vertical Scroll, ListView with WinJS

How can I make a ListView scrolling vertically with HTML/JS in an Windows8 application using WinJS? I've developed an Windows 8 app with XAML/C# and in the application I used a ListView to get a list with vertical scrolling behavior. I'm now trying…
Joakim Eriksson
  • 89
  • 1
  • 10
0
votes
2 answers

WinJS changing a template's element for a specedicitem in ListView

Here we go , this is my question and i can't find anything to resolve it. The problem that i have this template(for data-Binding) for my Gridview:
Brahim
  • 309
  • 1
  • 2
  • 13
1 2 3
99
100