Docs for the new event

pull/104/head
cagataycivici 2019-11-20 12:57:28 +03:00
parent b27169098e
commit b37a325ab9
2 changed files with 7 additions and 0 deletions

View File

@ -57,6 +57,7 @@ export declare class DataTable extends Vue {
$emit(eventName: 'page', event: Event): this;
$emit(eventName: 'sort', event: Event): this;
$emit(eventName: 'filter', event: Event): this;
$emit(eventName: 'row-click', event: Event): this;
$emit(eventName: 'row-select', event: Event): this;
$emit(eventName: 'row-unselect', event: Event): this;
$emit(eventName: 'column-resize-end', event: Event): this;

View File

@ -1932,6 +1932,12 @@ export default {
event.filteredValue: Filtered collection.</td>
<td>Callback to invoke on filtering.</td>
</tr>
<tr>
<td>row-click</td>
<td>event.originalEvent: Browser event. <br />
event.data: Selected row data.</td>
<td>Callback to invoke when a row is clicked.</td>
</tr>
<tr>
<td>row-select</td>
<td>event.originalEvent: Browser event. <br />