|
|
@ -7,6 +7,7 @@ import { ABP } from '@abp/ng.core'; |
|
|
template: ` |
|
|
template: ` |
|
|
<button |
|
|
<button |
|
|
#button |
|
|
#button |
|
|
|
|
|
[id]="buttonId" |
|
|
[attr.type]="buttonType" |
|
|
[attr.type]="buttonType" |
|
|
[ngClass]="buttonClass" |
|
|
[ngClass]="buttonClass" |
|
|
[disabled]="loading || disabled" |
|
|
[disabled]="loading || disabled" |
|
|
@ -19,6 +20,9 @@ import { ABP } from '@abp/ng.core'; |
|
|
`,
|
|
|
`,
|
|
|
}) |
|
|
}) |
|
|
export class ButtonComponent implements OnInit { |
|
|
export class ButtonComponent implements OnInit { |
|
|
|
|
|
@Input() |
|
|
|
|
|
buttonId = ''; |
|
|
|
|
|
|
|
|
@Input() |
|
|
@Input() |
|
|
buttonClass = 'btn btn-primary'; |
|
|
buttonClass = 'btn btn-primary'; |
|
|
|
|
|
|
|
|
|