mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
feat(progress-bar): add progress bar component (#16559)
resolves #16558
This commit is contained in:

committed by
Brandy Carney

parent
a2c7b9558b
commit
9167fb4fe1
@ -558,6 +558,17 @@ export class IonNote {
|
||||
}
|
||||
}
|
||||
|
||||
export declare interface IonProgressBar extends StencilComponents<'IonProgressBar'> {}
|
||||
@Component({ selector: 'ion-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '<ng-content></ng-content>', inputs: ['mode', 'type', 'reversed', 'value', 'buffer', 'color'] })
|
||||
export class IonProgressBar {
|
||||
|
||||
constructor(c: ChangeDetectorRef, r: ElementRef) {
|
||||
c.detach();
|
||||
const el = r.nativeElement;
|
||||
proxyInputs(this, el, ['mode', 'type', 'reversed', 'value', 'buffer', 'color']);
|
||||
}
|
||||
}
|
||||
|
||||
export declare interface IonRadio extends StencilComponents<'IonRadio'> {}
|
||||
@Component({ selector: 'ion-radio', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '<ng-content></ng-content>', inputs: ['color', 'mode', 'name', 'disabled', 'checked', 'value'] })
|
||||
export class IonRadio {
|
||||
|
Reference in New Issue
Block a user