refactor(scroll): merge into ion-content

This commit is contained in:
Manu Mtz.-Almeida
2018-08-10 00:00:18 +02:00
parent a4571bfa4f
commit 997cda0667
31 changed files with 548 additions and 912 deletions

View 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;