mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
feat(segment): move indicator with scroll
This commit is contained in:
@ -2043,11 +2043,15 @@ export class IonSegmentView {
|
||||
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
||||
c.detach();
|
||||
this.el = r.nativeElement;
|
||||
proxyOutputs(this, this.el, ['ionSegmentViewScroll']);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export declare interface IonSegmentView extends Components.IonSegmentView {}
|
||||
export declare interface IonSegmentView extends Components.IonSegmentView {
|
||||
|
||||
ionSegmentViewScroll: EventEmitter<CustomEvent<{ scrollDirection: string; scrollDistance: number }>>;
|
||||
}
|
||||
|
||||
|
||||
@ProxyCmp({
|
||||
|
Reference in New Issue
Block a user