You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
2.4 KiB
42 lines
2.4 KiB
<div class="view mblView"> |
|
<script type="dojo/require">at: "dojox/mvc/at"</script> |
|
|
|
<div data-dojo-type="dojox/mobile/ScrollableView"> |
|
|
|
<h1 data-dojo-type="dojox/mobile/Heading" data-dojo-props='label:"Scrollable List Five", fixed:"top"'> |
|
<span id="sc5back1" data-dojo-type="dojox/mobile/ToolBarButton" arrow="left" |
|
data-dojo-props="target: 'configuration,ScrollableListSelection', url: '#configuration,ScrollableListSelection', transitionDir: -1">Back</span> |
|
<span data-dojo-type="dojox/mobile/ToolBarButton" id="sc5insert1x" data-dojo-props='icon:"mblDomButtonWhitePlus"' style="float:right;">1</span> |
|
<span data-dojo-type="dojox/mobile/ToolBarButton" id="sc5insert10x" data-dojo-props='icon:"mblDomButtonWhitePlus"' style="float:right;">10</span> |
|
<span data-dojo-type="dojox/mobile/ToolBarButton" id="sc5remove10x" data-dojo-props='icon:"mblDomButtonWhiteMinus"' style="float:right;">10</span> |
|
|
|
</h1> |
|
<div> |
|
<div class="field-title">Should scroll between the header and the end of the page, this text will also scroll.</div> |
|
</div> |
|
|
|
|
|
<form name="repeatTestForm"> |
|
<ul |
|
data-dojo-type="dojox/mobile/RoundRectList" |
|
data-dojo-mixins="dojox/mvc/WidgetList,dojox/mvc/_InlineTemplateMixin" |
|
data-dojo-props="children: this.loadedModels.repeatmodels.model" |
|
data-mvc-child-type="dojox/mvc/Templated" |
|
data-mvc-child-mixins="dojox/mobile/ListItem" |
|
data-mvc-child-props="clickable: true, |
|
transitionOptions: {title:'Details',target:'repeatDetails',url:'#repeatDetails',params:{'cursor':this.indexAtStartup}}, |
|
onClick: function(){scrollableTestApp.setDetailsContext(this.indexAtStartup);}"> |
|
<script type="dojox/mvc/InlineTemplate"> |
|
<li data-dojo-type="dojox/mobile/ListItem"> |
|
<div data-dojo-type="dojox/mobile/ToolBarButton" |
|
data-dojo-props="icon: 'mblDomButtonRedCircleMinus',preventTouch: true, indexAtStartup: this.indexAtStartup, |
|
onClick: function(e){ /*console.log(this); console.log(this.indexAtStartup);console.log(e);*/ |
|
scrollableTestApp.removeScrollableItem(this.indexAtStartup); return false; }" |
|
style="float: left; color: white; background-color: transparent; background-image: none; border: none;"></div> |
|
<div class="mblListItemLabel" style="display: block;" data-dojo-type="dojox/mvc/Output" data-dojo-props="value: at('rel:', 'First')"></div> |
|
</li> |
|
</script> |
|
</ul> |
|
</form> |
|
</div> |
|
</div>
|
|
|