mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
refactor(scroll): merge into ion-content
This commit is contained in:
12
core/src/components/content/content-interface.ts
Normal file
12
core/src/components/content/content-interface.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { GestureDetail } from '../../interface';
|
||||
|
||||
export interface ScrollBaseDetail {
|
||||
isScrolling: boolean;
|
||||
}
|
||||
|
||||
export interface ScrollDetail extends GestureDetail, ScrollBaseDetail {
|
||||
scrollTop: number;
|
||||
scrollLeft: number;
|
||||
}
|
||||
|
||||
export type ScrollCallback = (detail?: ScrollDetail) => boolean | void;
|
||||
Reference in New Issue
Block a user