Merge pull request #8605 from ramonornela/issue_8598

fix(spinner): add input mode fix #8598
This commit is contained in:
Manu Mtz.-Almeida
2016-10-10 12:10:37 +02:00
committed by GitHub

View File

@@ -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');
}
/**