0

DOM にドロップして呼び出すことなく、JavaScript で data-win-control オブジェクトをインスタンス化することは可能WinJS.UI.processAll()ですか?

4

1 に答える 1

2

はい、可能です。コード ビハインドで実行できます。

// Object is a new FlipView component instantiate in code behind
// element can be an element already existing in the DOM or just created with JS
var object = new WinJS.UI.FlipView(element, options);
于 2013-01-27T13:31:24.527 に答える