是否可以像使用 WinJS.ListView 一样将数据绑定到弹性框?我在想类似的东西...
<!-- default.html -->
<div class="flexbox" style="display:-ms-flexbox;">
<div class="itemA"></div>
<div class="itemB"></div>
<div class="itemC"></div>
</div>
/* JavaScript */
var aList = new WinJS.Binding.List([{name:"item 1"},{name:"item 2"},{name:"item 3"}]);
var flexbox = document.querySelector(".flexbox");
//is there some magic in WinJS to bind flexbox to aList???
谢谢。