We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 574ae1c commit 0fa299eCopy full SHA for 0fa299e
src/bundle/Resources/public/ts/components/chip.ts
@@ -1,12 +1,12 @@
1
import { Base } from '../partials';
2
3
interface ChipConfig {
4
- onDelete?: (event: Event) => void;
+ onDelete?: (event: MouseEvent) => void;
5
}
6
7
export default class Chip extends Base {
8
private deleteButton: HTMLButtonElement | null;
9
- private onDelete?: (event: Event) => void;
+ private onDelete?: (event: MouseEvent) => void;
10
11
constructor(container: HTMLDivElement, config: ChipConfig = {}) {
12
super(container);
0 commit comments