forked from PolymerElements/paper-input
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpaper-textarea.d.ts
More file actions
59 lines (54 loc) · 1.73 KB
/
paper-textarea.d.ts
File metadata and controls
59 lines (54 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* paper-textarea.html
*/
/// <reference path="../polymer/types/polymer.d.ts" />
/// <reference path="../iron-autogrow-textarea/iron-autogrow-textarea.d.ts" />
/// <reference path="../iron-form-element-behavior/iron-form-element-behavior.d.ts" />
/// <reference path="paper-input-behavior.d.ts" />
/// <reference path="paper-input-char-counter.d.ts" />
/// <reference path="paper-input-container.d.ts" />
/// <reference path="paper-input-error.d.ts" />
/**
* `<paper-textarea>` is a multi-line text field with Material Design styling.
*
* <paper-textarea label="Textarea label"></paper-textarea>
*
* See `Polymer.PaperInputBehavior` for more API docs.
*
* ### Validation
*
* Currently only `required` and `maxlength` validation is supported.
*
* ### Styling
*
* See `Polymer.PaperInputContainer` for a list of custom properties used to
* style this element.
*/
interface PaperTextareaElement extends Polymer.Element, Polymer.PaperInputBehavior, Polymer.IronFormElementBehavior {
value: string|null|undefined;
_ariaDescribedBy: string|null|undefined;
_ariaLabelledBy: string|null|undefined;
readonly _focusableElement: any;
/**
* The initial number of rows.
*/
rows: number;
/**
* The maximum number of rows this element can grow to until it
* scrolls. 0 means no maximum.
*/
maxRows: number;
selectionStart: number;
selectionEnd: number;
_ariaLabelledByChanged(ariaLabelledBy: any): void;
_ariaDescribedByChanged(ariaDescribedBy: any): void;
}
interface HTMLElementTagNameMap {
"paper-textarea": PaperTextareaElement;
}