mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Added type definition for disabled prop (#4546)
This commit is contained in:
parent
fe3387c89b
commit
544aa37841
2 changed files with 13 additions and 0 deletions
5
components/lib/inputswitch/InputSwitch.d.ts
vendored
5
components/lib/inputswitch/InputSwitch.d.ts
vendored
|
@ -101,6 +101,11 @@ export interface InputSwitchProps {
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
*/
|
*/
|
||||||
falseValue?: any;
|
falseValue?: any;
|
||||||
|
/**
|
||||||
|
* When present, it specifies that the component should be disabled.
|
||||||
|
* @defaultValue false
|
||||||
|
*/
|
||||||
|
disabled?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Identifier of the underlying input element.
|
* Identifier of the underlying input element.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -29384,6 +29384,14 @@
|
||||||
"default": "false",
|
"default": "false",
|
||||||
"description": "Value in unchecked state."
|
"description": "Value in unchecked state."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "disabled",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "boolean",
|
||||||
|
"default": "false",
|
||||||
|
"description": "When present, it specifies that the component should be disabled."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "inputId",
|
"name": "inputId",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue