mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
fix(types): improve e.detail
type for dispatched events
This commit is contained in:
parent
f1cafd4959
commit
674253b7bf
4 changed files with 16 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
||||||
<script>
|
<script>
|
||||||
|
/**
|
||||||
|
* @event {KeyboardEvent | MouseEvent} clear
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {"clearAll" | "clearSelection"} ListBoxSelectionTranslationId
|
* @typedef {"clearAll" | "clearSelection"} ListBoxSelectionTranslationId
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
<script>
|
<script>
|
||||||
|
/**
|
||||||
|
* @event {number} change
|
||||||
|
*/
|
||||||
|
|
||||||
/** Specify the value of the slider */
|
/** Specify the value of the slider */
|
||||||
export let value = 0;
|
export let value = 0;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
<script>
|
<script>
|
||||||
|
/**
|
||||||
|
* @event {string} change
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specify the selected structured list row value
|
* Specify the selected structured list row value
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
<script>
|
<script>
|
||||||
|
/**
|
||||||
|
* @event {number} change
|
||||||
|
*/
|
||||||
|
|
||||||
/** Specify the selected tab index */
|
/** Specify the selected tab index */
|
||||||
export let selected = 0;
|
export let selected = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue