Listview 剑道UI移动停止滚动器

Listview 剑道UI移动停止滚动器,listview,kendo-ui,Listview,Kendo Ui,有没有办法停止滚动条?例如,我希望允许用户在触摸按钮时返回到特定位置。到目前为止,我的做法是: // scroll to the top e.view.scroller.reset(); // scroll to the destination offset e.view.scroller.scrollTo(0, targetOffset); 问题是,如果滚动条以前滚动过,它将在targetOffset之后继续滚动,直到其速度为0 有人能帮我一个方法,首先停止滚动的速度吗 我使用的是JQue

有没有办法停止滚动条?例如,我希望允许用户在触摸按钮时返回到特定位置。到目前为止,我的做法是:

// scroll to the top
e.view.scroller.reset();

// scroll to the destination offset
e.view.scroller.scrollTo(0, targetOffset);
问题是,如果滚动条以前滚动过,它将在targetOffset之后继续滚动,直到其速度为0

有人能帮我一个方法,首先停止滚动的速度吗


我使用的是JQuery 1.9.1和Kendo Mobile 2013年第1季度的版本

,虽然没有从他们的文档中公开,但我通过将velocity属性设置为0解决了这个问题:

e.view.scroller.yinertia.velocity = 0;