mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
addClasses removed
This commit is contained in:
@@ -70,7 +70,7 @@ export class IonicComponent {
|
||||
//}
|
||||
|
||||
// Add the base element classes (ex, button and button-ios)
|
||||
dom.addClasses(instance.domElement, this.componentCssName, `${this.componentCssName}-${platformMode}`);
|
||||
dom.addClass(instance.domElement, this.componentCssName, `${this.componentCssName}-${platformMode}`);
|
||||
|
||||
// Check and apply and property classes (properties that should be
|
||||
// converted to class names). For example, <button primary> should
|
||||
|
||||
Reference in New Issue
Block a user