primevue-mirror/packages/primevue/scripts/components/textarea.js

47 lines
1.2 KiB
JavaScript
Raw Normal View History

const TextareaProps = [
{
2022-09-14 14:26:41 +00:00
name: 'modelValue',
type: 'any',
default: 'null',
description: 'Value of the component.'
},
{
2022-09-14 14:26:41 +00:00
name: 'autoResize',
type: 'boolean',
default: 'false',
description: 'When present, height of textarea changes as being typed.'
2023-05-07 06:29:10 +00:00
},
2024-01-31 08:01:02 +00:00
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
2024-02-02 13:26:27 +00:00
default: 'null',
2024-01-31 08:01:02 +00:00
description: 'Specifies the input variant of the component.'
},
2023-05-07 06:29:10 +00:00
{
name: 'pt',
type: 'any',
default: 'null',
2023-08-01 14:01:12 +00:00
description: 'Used to pass attributes to DOM elements inside the component.'
2023-07-06 13:20:37 +00:00
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
}
];
module.exports = {
textarea: {
2022-09-14 14:26:41 +00:00
name: 'Textarea',
description: 'Textarea is a multi-line text input element.',
props: TextareaProps
}
};