|
|
@ -6,7 +6,7 @@ import { filter } from 'rxjs/operators'; |
|
|
@Component({ |
|
|
@Component({ |
|
|
selector: 'abp-button', |
|
|
selector: 'abp-button', |
|
|
template: ` |
|
|
template: ` |
|
|
<button [attr.type]="buttonType" [ngClass]="buttonClass" [disabled]="loading" [disabled]="disabled"> |
|
|
<button [attr.type]="buttonType" [ngClass]="buttonClass" [disabled]="loading || disabled"> |
|
|
<i [ngClass]="icon" class="mr-1"></i><ng-content></ng-content> |
|
|
<i [ngClass]="icon" class="mr-1"></i><ng-content></ng-content> |
|
|
</button> |
|
|
</button> |
|
|
`,
|
|
|
`,
|
|
|
|