Skip to content
Browse files

added some style and hasNext hasPrevoius binding

  • Loading branch information...
1 parent b92cf08 commit 929a6cdebb389f0664990a25b671b6bde30ef8fa @krebbl krebbl committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 public/app/Detail.xml
View
6 public/app/Detail.xml
@@ -26,10 +26,10 @@
</div>
<div class="product-types">
- <a onclick="prevPage" class="previous-page" title="previous page"/>
+ <a onclick="prevPage" class="previous-page" title="previous page" visible="{productTypePage.hasPreviousPage()}"/>
<ui:SelectionView items="{productTypePage.list}" tagName="ul" selectedItem="{{selectedProductType}}"
- class="product-type-selector">
+ class="product-type-selector" needsSelection="true">
<js:Template name="item">
<li>
<sprdView:ProductTypeImage productType="{$item}" width="50" height="50" alt="${$item.name}"/>
@@ -37,7 +37,7 @@
</js:Template>
</ui:SelectionView>
- <a onclick="nextPage" class="next-page" title="next page"/>
+ <a onclick="nextPage" class="next-page" title="next page" visible="{productTypePage.hasNextPage()}"/>
</div>
<div class="info">

0 comments on commit 929a6cd

Please sign in to comment.
Something went wrong with that request. Please try again.