feat(segment): move indicator with scroll

This commit is contained in:
Brandy Carney
2024-09-24 19:22:46 -04:00
parent 798e725712
commit d811221750
7 changed files with 112 additions and 12 deletions

View File

@ -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({