Browse Source

Merge pull request #24142 from abpframework/issue/24141

Angular - Fixing the `abpClick` event problem
pull/24147/head
Yağmur Çelik 6 months ago
committed by GitHub
parent
commit
8a6699992b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      npm/ng-packs/packages/theme-shared/src/lib/components/button/button.component.ts

4
npm/ng-packs/packages/theme-shared/src/lib/components/button/button.component.ts

@ -10,7 +10,7 @@ import {
ViewChild, ViewChild,
} from '@angular/core'; } from '@angular/core';
import { CommonModule } from '@angular/common'; import { CommonModule } from '@angular/common';
import { ABP } from '@abp/ng.core'; import { ABP, StopPropagationDirective } from '@abp/ng.core';
@Component({ @Component({
selector: 'abp-button', 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> <i [ngClass]="icon" class="me-1" aria-hidden="true"></i><ng-content></ng-content>
</button> </button>
`, `,
imports: [CommonModule], imports: [CommonModule, StopPropagationDirective],
}) })
export class ButtonComponent implements OnInit { export class ButtonComponent implements OnInit {
@Input() @Input()

Loading…
Cancel
Save