primevue-mirror/api-generator/components/textarea.js

35 lines
841 B
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
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Uses 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
}
};