DMXzone Visual App Designer for Framework 7 Support Product Page
How can I implement pull-to-refresh on a list block using DMXZone data bindings?
Asked 24 Jun 2015 08:32:31
1
has this question
24 Jun 2015 08:32:31 Mim UK posted:
How can I implement pull-to-refresh on a list block using DMXZone data bindings?I have the following:
<div class="page-content keep-navbar-on-scroll pull-to-refresh-content" data-ptr-distance="55"> <div class="pull-to-refresh-layer"> <div class="preloader"></div> <div class="pull-to-refresh-arrow"></div> </div> <div class="list-block"> ** Repeat Children List with Link Here ** </div>
Its knowing what to add the myapp.js to refresh the data source or just the page
var ptrContent = $$('.pull-to-refresh-content');
Any help would be appreciated
Replies
Replied 24 Jun 2015 10:16:32
24 Jun 2015 10:16:32 Mim UK replied:
My List Block in the div is as follows if that helps
<ul data-binding-repeat-children="{{MyList.data}}" data-binding-id="ListID">
Cheers Mim
<ul data-binding-repeat-children="{{MyList.data}}" data-binding-id="ListID">
Cheers Mim
Replied 11 Aug 2015 09:35:05
11 Aug 2015 09:35:05 Teodor Kuduschiev replied: