android - How to show arc at the end of page in cordova mobile application? -
when user scrolls down , comes end, , still tries scroll down, arc appears. example, in whatsapp, on message window, can't scroll down if @ end , arc appears.
how can in cordova mobile app ( android ) using angular.js , ionic?
or name of property ?
thanks in advance
answer:
i found property ionic framework. not want, shows there no more data after last ion-list item bouncing page.
if has-bouncing attribute added ion-content, page bounce. attribute's value true default ios, don't need add it, have add android.
<ion-content has-bouncing="true"> </ion-content>
when scroll down, mean using on-infinite-scroll
for exemple, use following function mymodel.maxitemloaded boolean false, except if loaded items.
<ion-infinite-scroll ng-if="!mymodel.maxitemloaded" icon="ion-loading-c" on-infinite="loadmoredata()" distance="10" > </ion-infinite-scroll>
therefore, message, add following
<div ng-if="mymodel.maxitemloaded"> end of page </div>
Comments
Post a Comment