mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 09:34:19 +08:00
feat(segment): add swipeGesture property to allow for disabling of the swipe gesture (#22087)
resolves #22048
This commit is contained in:
@ -661,8 +661,8 @@ export class IonSearchbar {
|
||||
}
|
||||
export declare interface IonSegment extends Components.IonSegment {
|
||||
}
|
||||
@ProxyCmp({ inputs: ["color", "disabled", "mode", "scrollable", "value"] })
|
||||
@Component({ selector: "ion-segment", changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>", inputs: ["color", "disabled", "mode", "scrollable", "value"] })
|
||||
@ProxyCmp({ inputs: ["color", "disabled", "mode", "scrollable", "swipeGesture", "value"] })
|
||||
@Component({ selector: "ion-segment", changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>", inputs: ["color", "disabled", "mode", "scrollable", "swipeGesture", "value"] })
|
||||
export class IonSegment {
|
||||
ionChange!: EventEmitter<CustomEvent>;
|
||||
protected el: HTMLElement;
|
||||
|
Reference in New Issue
Block a user