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.
2 parents eabbe09 + 15116b0 commit 50ee441Copy full SHA for 50ee441
src/button/button.directive.ts
@@ -30,7 +30,7 @@ export class Button implements OnInit {
30
*/
31
@Input() size: "normal" | "sm" = "normal";
32
// a whole lot of HostBindings ... this way we don't have to touch the elementRef directly
33
- @HostBinding("class") btnClass = "bx--btn";
+ @HostBinding("class.bx--btn") baseClass = true;
34
@HostBinding("class.bx--btn--primary") primary = true;
35
@HostBinding("class.bx--btn--secondary") secondary = false;
36
@HostBinding("class.bx--btn--tertiary") tertiary = false;
0 commit comments