12Jan/120

Force iScroll to refresh

If you add or remove items inside your content. You need to refresh your iScroll script.

Insert this javascript line.
setTimeout(function () { myScroll.refresh(); }, 0);

myScroll is the name of your call like:
myScroll = new iScroll('RightContent', { useTransition:true });

Related Posts:

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.