Fixed #1715 - DataTable wrong TypeScript definition for row click events

pull/1726/head
Tuğçe Küçükoğlu 2021-11-04 09:54:33 +03:00
parent 24f19057cf
commit 4547fe5e5c
1 changed files with 3 additions and 2 deletions

View File

@ -106,8 +106,9 @@ declare class DataTable {
$emit(eventName: 'sort', event: Event): this;
$emit(eventName: 'filter', event: Event): this;
$emit(eventName: 'value-change', value: any[]): this;
$emit(eventName: 'row-click', event: Event): this;
$emit(eventName: 'row-dblclick', event: Event): this;
$emit(eventName: 'row-click', event: {originalEvent: Event, data: any, index: number}): this;
$emit(eventName: 'row-dblclick', event: {originalEvent: Event, data: any, index: number}): this;
$emit(eventName: 'row-rightclick', event: {originalEvent: Event, data: any, index: number}): this;
$emit(eventName: 'row-contextmenu', event: Event): this;
$emit(eventName: 'row-select', event: {originalEvent: Event, data: any, index: number, type: string}): this;
$emit(eventName: 'row-select-all', event: {originalEvent: Event, data: any}): this;