forked from PolymerElements/paper-input
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpaper-input-container.d.ts
More file actions
74 lines (64 loc) · 2 KB
/
paper-input-container.d.ts
File metadata and controls
74 lines (64 loc) · 2 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/**
* 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-input-container.html
*/
/// <reference path="../polymer/types/polymer.d.ts" />
/// <reference path="../iron-flex-layout/iron-flex-layout.d.ts" />
/// <reference path="../paper-styles/default-theme.d.ts" />
/// <reference path="../paper-styles/typography.d.ts" />
interface PaperInputContainerElement extends Polymer.Element {
/**
* Set to true to disable the floating label. The label disappears when the
* input value is not null.
*/
noLabelFloat: boolean|null|undefined;
/**
* Set to true to always float the floating label.
*/
alwaysFloatLabel: boolean|null|undefined;
/**
* The attribute to listen for value changes on.
*/
attrForValue: string|null|undefined;
/**
* Set to true to auto-validate the input value when it changes.
*/
autoValidate: boolean|null|undefined;
/**
* True if the input is invalid. This property is set automatically when the
* input value changes if auto-validating, or when the `iron-input-validate`
* event is heard from a child.
*/
invalid: boolean|null|undefined;
/**
* True if the input has focus.
*/
readonly focused: boolean|null|undefined;
_addons: any[]|null|undefined;
_inputHasContent: boolean|null|undefined;
_inputSelector: string|null|undefined;
_boundOnFocus: Function|null|undefined;
_boundOnBlur: Function|null|undefined;
_boundOnInput: Function|null|undefined;
_boundValueChanged: Function|null|undefined;
readonly _valueChangedEvent: any;
readonly _propertyForValue: any;
readonly _inputElement: any;
readonly _inputElementValue: any;
ready(): void;
attached(): void;
/**
* Call this to update the state of add-ons.
*
* @param state Add-on state.
*/
updateAddons(state: object|null): void;
}
interface HTMLElementTagNameMap {
"paper-input-container": PaperInputContainerElement;
}