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 942a658 commit 146e6b5Copy full SHA for 146e6b5
projects/coreui-angular/src/lib/button/button.directive.ts
@@ -58,6 +58,7 @@ export class ButtonDirective {
58
* Specifies the type of button. Always specify the type attribute for the `<button>` element.
59
* Different browsers may use different default types for the `<button>` element.
60
*/
61
+ @HostBinding('attr.type')
62
@Input() type: ButtonType = 'button';
63
/**
64
* Set the button variant to an outlined button or a ghost button.
0 commit comments