mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46: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 |
|
| Event name | Type | Detail |
|
||||||
| :--------- | :-------- | :----- |
|
| :--------- | :-------- | :----- |
|
||||||
|
| clear | forwarded | -- |
|
||||||
| change | forwarded | -- |
|
| change | forwarded | -- |
|
||||||
| input | forwarded | -- |
|
| input | forwarded | -- |
|
||||||
| focus | forwarded | -- |
|
| focus | forwarded | -- |
|
||||||
|
|
|
@ -10372,6 +10372,7 @@
|
||||||
],
|
],
|
||||||
"slots": [],
|
"slots": [],
|
||||||
"events": [
|
"events": [
|
||||||
|
{ "type": "forwarded", "name": "clear", "element": "Search" },
|
||||||
{ "type": "forwarded", "name": "change", "element": "Search" },
|
{ "type": "forwarded", "name": "change", "element": "Search" },
|
||||||
{ "type": "forwarded", "name": "input", "element": "Search" },
|
{ "type": "forwarded", "name": "input", "element": "Search" },
|
||||||
{ "type": "forwarded", "name": "focus", "element": "Search" },
|
{ "type": "forwarded", "name": "focus", "element": "Search" },
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
{...$$restProps}
|
{...$$restProps}
|
||||||
bind:ref
|
bind:ref
|
||||||
bind:value
|
bind:value
|
||||||
|
on:clear
|
||||||
on:change
|
on:change
|
||||||
on:input
|
on:input
|
||||||
on:focus
|
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<
|
export default class ToolbarSearch extends SvelteComponentTyped<
|
||||||
ToolbarSearchProps,
|
ToolbarSearchProps,
|
||||||
{
|
{
|
||||||
|
clear: WindowEventMap["clear"];
|
||||||
change: WindowEventMap["change"];
|
change: WindowEventMap["change"];
|
||||||
input: WindowEventMap["input"];
|
input: WindowEventMap["input"];
|
||||||
focus: WindowEventMap["focus"];
|
focus: WindowEventMap["focus"];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue