mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
feat(segment-view): support disabled
This commit is contained in:
@ -2027,6 +2027,7 @@ export declare interface IonSegmentContent extends Components.IonSegmentContent
|
||||
|
||||
|
||||
@ProxyCmp({
|
||||
inputs: ['disabled'],
|
||||
methods: ['setContent']
|
||||
})
|
||||
@Component({
|
||||
@ -2034,7 +2035,7 @@ export declare interface IonSegmentContent extends Components.IonSegmentContent
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
template: '<ng-content></ng-content>',
|
||||
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
||||
inputs: [],
|
||||
inputs: ['disabled'],
|
||||
})
|
||||
export class IonSegmentView {
|
||||
protected el: HTMLElement;
|
||||
|
@ -1865,6 +1865,7 @@ export declare interface IonSegmentContent extends Components.IonSegmentContent
|
||||
|
||||
@ProxyCmp({
|
||||
defineCustomElementFn: defineIonSegmentView,
|
||||
inputs: ['disabled'],
|
||||
methods: ['setContent']
|
||||
})
|
||||
@Component({
|
||||
@ -1872,7 +1873,7 @@ export declare interface IonSegmentContent extends Components.IonSegmentContent
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
template: '<ng-content></ng-content>',
|
||||
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
||||
inputs: [],
|
||||
inputs: ['disabled'],
|
||||
standalone: true
|
||||
})
|
||||
export class IonSegmentView {
|
||||
|
Reference in New Issue
Block a user