mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
fix(number-input): type dispatched change event
This commit is contained in:
parent
4967d49b03
commit
34000a1166
5 changed files with 21 additions and 15 deletions
|
@ -2,7 +2,12 @@
|
|||
import { NumberInput, NumberInputSkeleton } from "../types";
|
||||
</script>
|
||||
|
||||
<NumberInput label="Clusters" />
|
||||
<NumberInput
|
||||
label="Clusters"
|
||||
on:change="{(e) => {
|
||||
console.log(e.detail); // number
|
||||
}}"
|
||||
/>
|
||||
|
||||
<NumberInput
|
||||
label="Clusters"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue