UNPKG

dojox

Version:

Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.

32 lines (30 loc) 1.41 kB
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/> <meta name="apple-mobile-web-app-capable" content="yes"/> <title>RoundRectStoreList</title> <script type="text/javascript" src="../../../deviceTheme.js" data-dojo-config="mblThemeFiles: ['base']"></script> <script type="text/javascript" src="../../../../../dojo/dojo.js" data-dojo-config="async: true, parseOnLoad: true"></script> <script type="text/javascript"> var IsEdgeToEdgeList = false; </script> <script type="text/javascript" src="StoreList.js"></script> </head> <body style="visibility:hidden;"> <script type="dojo/require"> CustomListItem: "dojox/mobile/tests/doh/CustomListItem" </script> <div data-dojo-type="dojox.mobile.View"> <h1 data-dojo-type="dojox.mobile.Heading">RoundRectStoreList</h1> <ul data-dojo-type="dojox.mobile.RoundRectStoreList" id="list" data-dojo-props='store:store, query:{}, itemRenderer: CustomListItem'></ul> <p>show the different set:<br> <input type="button" value="Set1" onclick="switchTo(store1)"> <input type="button" value="Set2" onclick="switchTo(store2)"> <p>alter the object store:<br> <input type="button" value="Add" onclick="add1()"> <input type="button" value="Delete" onclick="delete1()"> </div> </body> </html>