Skip to content

Commit

Permalink
Docs for the new event
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Nov 20, 2019
1 parent b271690 commit b37a325
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/datatable/DataTable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 6 additions & 0 deletions src/views/datatable/DataTableDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 />
Expand Down

0 comments on commit b37a325

Please sign in to comment.