We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96838b9 commit 8ee895fCopy full SHA for 8ee895f
src/components/spinner/spinner.ts
@@ -130,6 +130,14 @@ export class Spinner extends Ion {
130
this._setColor('spinner', value);
131
}
132
133
+ /**
134
+ * @input {string} The mode to apply to this component.
135
+ */
136
+ @Input()
137
+ set mode(val: string) {
138
+ this._setMode('spinner', val);
139
+ }
140
+
141
/**
142
* @input {string} SVG spinner name.
143
*/
@@ -163,6 +171,8 @@ export class Spinner extends Ion {
163
171
164
172
constructor(config: Config, elementRef: ElementRef, renderer: Renderer) {
165
173
super(config, elementRef, renderer);
174
175
+ this.mode = config.get('mode');
166
176
167
177
168
178
0 commit comments