We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b175bc commit 24d49f8Copy full SHA for 24d49f8
src/multi-select/tp-multi-select-pill.ts
@@ -11,7 +11,7 @@ export class TPMultiSelectPillElement extends HTMLElement {
11
* Connected callback.
12
*/
13
connectedCallback(): void {
14
- this.querySelector( 'button' )?.addEventListener( 'click', ( event: any ) => this.handleButtonClick( event ) );
+ this.querySelector( 'button' )?.addEventListener( 'click', this.handleButtonClick.bind( this ) );
15
}
16
/**
17
* Handle button click.
0 commit comments