mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
feat(toolbar): forward "clear" event in ToolbarSearch
This commit is contained in:
parent
390b621ed4
commit
96e9130601
4 changed files with 4 additions and 0 deletions
|
@ -4183,6 +4183,7 @@ None.
|
|||
|
||||
| Event name | Type | Detail |
|
||||
| :--------- | :-------- | :----- |
|
||||
| clear | forwarded | -- |
|
||||
| change | forwarded | -- |
|
||||
| input | forwarded | -- |
|
||||
| focus | forwarded | -- |
|
||||
|
|
|
@ -10372,6 +10372,7 @@
|
|||
],
|
||||
"slots": [],
|
||||
"events": [
|
||||
{ "type": "forwarded", "name": "clear", "element": "Search" },
|
||||
{ "type": "forwarded", "name": "change", "element": "Search" },
|
||||
{ "type": "forwarded", "name": "input", "element": "Search" },
|
||||
{ "type": "forwarded", "name": "focus", "element": "Search" },
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
{...$$restProps}
|
||||
bind:ref
|
||||
bind:value
|
||||
on:clear
|
||||
on:change
|
||||
on:input
|
||||
on:focus
|
||||
|
|
1
types/DataTable/ToolbarSearch.d.ts
vendored
1
types/DataTable/ToolbarSearch.d.ts
vendored
|
@ -42,6 +42,7 @@ export interface ToolbarSearchProps {
|
|||
export default class ToolbarSearch extends SvelteComponentTyped<
|
||||
ToolbarSearchProps,
|
||||
{
|
||||
clear: WindowEventMap["clear"];
|
||||
change: WindowEventMap["change"];
|
||||
input: WindowEventMap["input"];
|
||||
focus: WindowEventMap["focus"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue