diff --git a/components/doc/inputtextarea/apidoc.js b/components/doc/inputtextarea/apidoc.js index 8f668217ab..1c1192a83a 100644 --- a/components/doc/inputtextarea/apidoc.js +++ b/components/doc/inputtextarea/apidoc.js @@ -26,6 +26,12 @@ export function ApiDoc(props) {
- Textarea is used as a controlled input with value and onChange properties. -
-In auto resize mode, textarea grows instead of displaying a scrollbar.
-InputTextarea passes any attribute to the underlying textarea element, additional attributes are as follows;
-Name | -Type | -Default | -Description | -
---|---|---|---|
autoResize | -boolean | -false | -When present, height of textarea changes as being typed. | -
tooltip | -any | -null | -Content of the tooltip. | -
tooltipOptions | -object | -null | -Configuration of the tooltip, refer to the tooltip documentation for more information. | -
- Following is the list of structural style classes, for theming classes visit theming page. -
-Name | -Element | -
---|---|
p-inputtextarea | -Textarea element | -
- InputTextarea component renders a native textarea element that implicitly includes any passed prop. Value to describe the component can either be provided via label tag combined with id prop or using{' '} - aria-labelledby, aria-label props. -
-Key | -Function | -
---|---|
- tab - | -Moves focus to the input. | -
None.
-