You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/src/components/textarea/textarea.tsx
+20-5Lines changed: 20 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,15 @@ import type { TextareaChangeEventDetail, TextareaInputEventDetail } from './text
36
36
* @slot label - The label text to associate with the textarea. Use the `labelPlacement` property to control where the label is placed relative to the textarea. Use this if you need to render a label with custom HTML. (EXPERIMENTAL)
37
37
* @slot start - Content to display at the leading edge of the textarea. (EXPERIMENTAL)
38
38
* @slot end - Content to display at the trailing edge of the textarea. (EXPERIMENTAL)
39
+
*
40
+
* @part container - The wrapper element for the textarea.
41
+
* @part label - The label text describing the textarea.
42
+
* @part native - The native textarea element.
43
+
* @part supporting-text - Supporting text displayed beneath the textarea label.
44
+
* @part helper-text - Supporting text displayed beneath the textarea label when the textarea is valid.
45
+
* @part error-text - Supporting text displayed beneath the textarea label when the textarea is invalid and touched.
46
+
* @part counter - The character counter displayed when the counter property is set.
47
+
* @part bottom - The container element for helper text, error text, and counter.
39
48
*/
40
49
@Component({
41
50
tag: 'ion-textarea',
@@ -633,6 +642,7 @@ export class Textarea implements ComponentInterface {
0 commit comments