Any instead of string

This commit is contained in:
Gregor Wassmann 2021-12-30 22:00:12 +01:00
commit 0cd88e4394
4 changed files with 4 additions and 4 deletions

View file

@ -464,7 +464,7 @@ None.
| ref | <code>let</code> | Yes | <code>null &#124; HTMLInputElement</code> | <code>null</code> | Obtain a reference to the input HTML element |
| group | <code>let</code> | Yes | <code>any[]</code> | <code>[]</code> | Specify the bound group |
| checked | <code>let</code> | Yes | <code>boolean</code> | <code>false</code> | Specify whether the checkbox is checked |
| value | <code>let</code> | No | <code>string &#124; any</code> | <code>""</code> | Specify the value of the checkbox |
| value | <code>let</code> | No | <code>any</code> | <code>""</code> | Specify the value of the checkbox |
| indeterminate | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Specify whether the checkbox is indeterminate |
| skeleton | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to display the skeleton state |
| readonly | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` for the checkbox to be read-only |

View file

@ -712,7 +712,7 @@
"name": "value",
"kind": "let",
"description": "Specify the value of the checkbox",
"type": "string | any",
"type": "any",
"value": "\"\"",
"isFunction": false,
"isFunctionDeclaration": false,

View file

@ -5,7 +5,7 @@
/**
* Specify the value of the checkbox
* @type {string | any}
* @type {any}
*/
export let value = "";

View file

@ -6,7 +6,7 @@ export interface CheckboxProps {
* Specify the value of the checkbox
* @default ""
*/
value?: string | any;
value?: any;
/**
* Specify whether the checkbox is checked