fix(components): add a mode agnostic css class (#9133)

Fixes #8545
This commit is contained in:
Alan
2016-11-14 13:50:01 -05:00
committed by Brandy Carney
parent d3ef28d3ec
commit 025c5cc646
30 changed files with 148 additions and 186 deletions

View File

@@ -100,7 +100,7 @@ export class Chip extends Ion {
*/
@Input()
set color(val: string) {
this._setColor('chip', val);
this._setColor(val);
}
/**
@@ -108,13 +108,11 @@ export class Chip extends Ion {
*/
@Input()
set mode(val: string) {
this._setMode('chip', val);
this._setMode(val);
}
constructor(config: Config, elementRef: ElementRef, renderer: Renderer) {
super(config, elementRef, renderer);
this.mode = config.get('mode');
super(config, elementRef, renderer, 'chip');
}
}