Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49229

How to have a vertical scroll in an ionic app?

$
0
0

@David101 wrote:

I have an almost fully functional app I am developing. I have a list of two items so far and I can't scroll down to the next item on my Menu. I thought scrolling was automatic in ionic?

So my question is how can I implement a scroller in ionic?
Like this:

Here is the tab html

`

<ion-refresher
  pulling-text="Pull to refresh..."
  on-refresh="doRefresh()">
</ion-refresher>


<!-- items per category -->
  <div ng-switch="status.loading">
    <div ng-switch-when="true" class="center">
      <br>
      <ion-spinner></ion-spinner>
    </div>
    <div ng-switch-when="false">

      <!-- item card start -->
      <div class="list card" ng-repeat="item in getProductsMeta('all') | orderBy: sortType">

        <div class="item item-text-wrap">
          <h2>{{item.value.title}}</h2>
        </div>

        <a class="item item-image" href="" ng-click="goToItem(item.key)">
          <img class="thumbnail-card" ng-src="{{getProductIcon(item.key)}}">
        </a>

        <a class="item">
          <p>£{{item.value.price}}</p>
          <p>{{item.value.summary}}</p>
        </a>

      </div>
      <!-- ./ item card end -->
    </div>
  </div> <!-- ./ items per category -->


`

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49229

Trending Articles