Pull to refresh not working


#1

My framework7 pull to refresh does not fire the ‘ptr:refresh’ when activated. The UI responds and shows the arrow as i pull down, but no javascript event seems to fire with this action.

<div class="page-content ptr-content">
	<div class="ptr-preloader">
		<div class="preloader"></div>
		<div class="ptr-arrow"></div>
	</div>
	<div class="list media-list">
		<ul class="rounded">
		</ul>
	</div>
</div>
var ptr = app.ptr.get('.ptr-content');

ptr.on('ptr:refresh', function (e) {
  console.log('This does not fire!');
});

#2

should be

ptr.on('refresh',