mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
perf(scroll): efficient scroll events and properties
This commit is contained in:
@@ -161,8 +161,8 @@ export class App {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
setScrolling() {
|
||||
this._scrollTime = Date.now() + ACTIVE_SCROLLING_TIME;
|
||||
setScrolling(timeStamp: number) {
|
||||
this._scrollTime = timeStamp + ACTIVE_SCROLLING_TIME;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user