diff --git a/src/components/spinner/spinner.ts b/src/components/spinner/spinner.ts index bd88965e622..d62c0ac04fd 100644 --- a/src/components/spinner/spinner.ts +++ b/src/components/spinner/spinner.ts @@ -130,6 +130,14 @@ export class Spinner extends Ion { this._setColor('spinner', value); } + /** + * @input {string} The mode to apply to this component. + */ + @Input() + set mode(val: string) { + this._setMode('spinner', val); + } + /** * @input {string} SVG spinner name. */ @@ -163,6 +171,8 @@ export class Spinner extends Ion { constructor(config: Config, elementRef: ElementRef, renderer: Renderer) { super(config, elementRef, renderer); + + this.mode = config.get('mode'); } /**