mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
feat(data-table): dispatch on:click:row--select
event (#1450)
This commit is contained in:
parent
60ce334859
commit
30487128b3
4 changed files with 14 additions and 0 deletions
4
types/DataTable/DataTable.svelte.d.ts
vendored
4
types/DataTable/DataTable.svelte.d.ts
vendored
|
@ -198,6 +198,10 @@ export default class DataTable extends SvelteComponentTyped<
|
|||
expanded: boolean;
|
||||
row: DataTableRow;
|
||||
}>;
|
||||
["click:row--select"]: CustomEvent<{
|
||||
selected: boolean;
|
||||
row: DataTableRow;
|
||||
}>;
|
||||
["click:cell"]: CustomEvent<DataTableCell>;
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue