Eight.getControl

Gets a WinJS Control attached to a dom element by a query. Returns null if the element or its winControl property does not exist.

Example

var listView = Eight.getControl("#listView");
listView.itemDataSource = new WinJS.Binding.List( ... );

Last edited Feb 10, 2013 at 2:44 AM by gotdibbs, version 1

Comments

No comments yet.