Browse Source
Merge pull request #24142 from abpframework/issue/24141
Angular - Fixing the `abpClick` event problem
pull/24147/head
Yağmur Çelik
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
npm/ng-packs/packages/theme-shared/src/lib/components/button/button.component.ts
|
|
|
@ -10,7 +10,7 @@ import { |
|
|
|
ViewChild, |
|
|
|
} from '@angular/core'; |
|
|
|
import { CommonModule } from '@angular/common'; |
|
|
|
import { ABP } from '@abp/ng.core'; |
|
|
|
import { ABP, StopPropagationDirective } from '@abp/ng.core'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
selector: 'abp-button', |
|
|
|
@ -29,7 +29,7 @@ import { ABP } from '@abp/ng.core'; |
|
|
|
<i [ngClass]="icon" class="me-1" aria-hidden="true"></i><ng-content></ng-content> |
|
|
|
</button> |
|
|
|
`,
|
|
|
|
imports: [CommonModule], |
|
|
|
imports: [CommonModule, StopPropagationDirective], |
|
|
|
}) |
|
|
|
export class ButtonComponent implements OnInit { |
|
|
|
@Input() |
|
|
|
|