mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
chore: v11 NumberInput
For better compatibility with existing codebases size `xl` is still supported.
This commit is contained in:
parent
c23782b161
commit
9f32d57353
5 changed files with 8 additions and 10 deletions
|
@ -2488,7 +2488,7 @@ export type NumberInputTranslationId = "increment" | "decrement";
|
|||
| :-------------- | :------- | :----------------- | :------- | --------------------------------------------------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------- |
|
||||
| ref | No | <code>let</code> | Yes | <code>null | HTMLInputElement</code> | <code>null</code> | Obtain a reference to the input HTML element |
|
||||
| value | No | <code>let</code> | Yes | <code>null | number</code> | <code>null</code> | Specify the input value.<br />Use `null` to denote "no value" |
|
||||
| size | No | <code>let</code> | No | <code>"sm" | "xl"</code> | <code>undefined</code> | Set the size of the input |
|
||||
| size | No | <code>let</code> | No | <code>"sm" | "lg"</code> | <code>undefined</code> | Set the size of the input |
|
||||
| step | No | <code>let</code> | No | <code>number</code> | <code>1</code> | Specify the step increment |
|
||||
| max | No | <code>let</code> | No | <code>number</code> | <code>undefined</code> | Specify the maximum value |
|
||||
| min | No | <code>let</code> | No | <code>number</code> | <code>undefined</code> | Specify the minimum value |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue