mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Initiated InputOtp
This commit is contained in:
parent
c555e258c0
commit
067da063a8
102 changed files with 2228 additions and 1 deletions
80
api-generator/components/inputotp.js
Normal file
80
api-generator/components/inputotp.js
Normal file
|
@ -0,0 +1,80 @@
|
|||
const InputSwitchProps = [
|
||||
{
|
||||
name: 'modelValue',
|
||||
type: 'boolean',
|
||||
default: 'null',
|
||||
description: 'Specifies whether a inputswitch should be checked or not.'
|
||||
},
|
||||
{
|
||||
name: 'trueValue',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Value in checked state.'
|
||||
},
|
||||
{
|
||||
name: 'falseValue',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Value in unchecked state.'
|
||||
},
|
||||
{
|
||||
name: 'inputId',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Identifier of the underlying input element.'
|
||||
},
|
||||
{
|
||||
name: 'inputStyle',
|
||||
type: 'object',
|
||||
default: 'null',
|
||||
description: 'Inline style of the input field.'
|
||||
},
|
||||
{
|
||||
name: 'inputClass',
|
||||
type: 'string | object',
|
||||
default: 'null',
|
||||
description: 'Style class of the input field.'
|
||||
},
|
||||
{
|
||||
name: 'inputProps',
|
||||
type: 'object',
|
||||
default: 'null',
|
||||
description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
|
||||
},
|
||||
{
|
||||
name: 'pt',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Used to pass attributes to DOM elements inside the component.'
|
||||
},
|
||||
{
|
||||
name: 'unstyled',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'When enabled, it removes component related styles in the core.'
|
||||
}
|
||||
];
|
||||
|
||||
const InputSwitchEvents = [
|
||||
{
|
||||
name: 'click',
|
||||
description: 'Callback to invoke on click.'
|
||||
},
|
||||
{
|
||||
name: 'change',
|
||||
description: 'Callback to invoke on value change.'
|
||||
},
|
||||
{
|
||||
name: 'input',
|
||||
description: 'Callback to invoke on value change.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
inputswitch: {
|
||||
name: 'InputSwitch',
|
||||
description: 'InputSwitch is used to select a boolean value.',
|
||||
props: InputSwitchProps,
|
||||
events: InputSwitchEvents
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue