| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 /// @domName HTMLInputElement |
| 8 interface InputElement extends Element default _Elements { |
| 9 |
| 10 InputElement([String type]); |
| 11 |
| 12 /** |
| 13 * @domName EventTarget.addEventListener, EventTarget.removeEventListener, Eve
ntTarget.dispatchEvent |
| 14 */ |
| 15 InputElementEvents get on(); |
| 16 |
| 17 /** @domName HTMLInputElement.accept */ |
| 18 String accept; |
| 19 |
| 20 /** @domName HTMLInputElement.align */ |
| 21 String align; |
| 22 |
| 23 /** @domName HTMLInputElement.alt */ |
| 24 String alt; |
| 25 |
| 26 /** @domName HTMLInputElement.autocomplete */ |
| 27 String autocomplete; |
| 28 |
| 29 /** @domName HTMLInputElement.autofocus */ |
| 30 bool autofocus; |
| 31 |
| 32 /** @domName HTMLInputElement.checked */ |
| 33 bool checked; |
| 34 |
| 35 /** @domName HTMLInputElement.defaultChecked */ |
| 36 bool defaultChecked; |
| 37 |
| 38 /** @domName HTMLInputElement.defaultValue */ |
| 39 String defaultValue; |
| 40 |
| 41 /** @domName HTMLInputElement.disabled */ |
| 42 bool disabled; |
| 43 |
| 44 /** @domName HTMLInputElement.files */ |
| 45 FileList files; |
| 46 |
| 47 /** @domName HTMLInputElement.form */ |
| 48 final FormElement form; |
| 49 |
| 50 /** @domName HTMLInputElement.formAction */ |
| 51 String formAction; |
| 52 |
| 53 /** @domName HTMLInputElement.formEnctype */ |
| 54 String formEnctype; |
| 55 |
| 56 /** @domName HTMLInputElement.formMethod */ |
| 57 String formMethod; |
| 58 |
| 59 /** @domName HTMLInputElement.formNoValidate */ |
| 60 bool formNoValidate; |
| 61 |
| 62 /** @domName HTMLInputElement.formTarget */ |
| 63 String formTarget; |
| 64 |
| 65 /** @domName HTMLInputElement.height */ |
| 66 int height; |
| 67 |
| 68 /** @domName HTMLInputElement.incremental */ |
| 69 bool incremental; |
| 70 |
| 71 /** @domName HTMLInputElement.indeterminate */ |
| 72 bool indeterminate; |
| 73 |
| 74 /** @domName HTMLInputElement.labels */ |
| 75 final NodeList labels; |
| 76 |
| 77 /** @domName HTMLInputElement.max */ |
| 78 String max; |
| 79 |
| 80 /** @domName HTMLInputElement.maxLength */ |
| 81 int maxLength; |
| 82 |
| 83 /** @domName HTMLInputElement.min */ |
| 84 String min; |
| 85 |
| 86 /** @domName HTMLInputElement.multiple */ |
| 87 bool multiple; |
| 88 |
| 89 /** @domName HTMLInputElement.name */ |
| 90 String name; |
| 91 |
| 92 /** @domName HTMLInputElement.pattern */ |
| 93 String pattern; |
| 94 |
| 95 /** @domName HTMLInputElement.placeholder */ |
| 96 String placeholder; |
| 97 |
| 98 /** @domName HTMLInputElement.readOnly */ |
| 99 bool readOnly; |
| 100 |
| 101 /** @domName HTMLInputElement.required */ |
| 102 bool required; |
| 103 |
| 104 /** @domName HTMLInputElement.selectionDirection */ |
| 105 String selectionDirection; |
| 106 |
| 107 /** @domName HTMLInputElement.selectionEnd */ |
| 108 int selectionEnd; |
| 109 |
| 110 /** @domName HTMLInputElement.selectionStart */ |
| 111 int selectionStart; |
| 112 |
| 113 /** @domName HTMLInputElement.size */ |
| 114 int size; |
| 115 |
| 116 /** @domName HTMLInputElement.src */ |
| 117 String src; |
| 118 |
| 119 /** @domName HTMLInputElement.step */ |
| 120 String step; |
| 121 |
| 122 /** @domName HTMLInputElement.type */ |
| 123 String type; |
| 124 |
| 125 /** @domName HTMLInputElement.useMap */ |
| 126 String useMap; |
| 127 |
| 128 /** @domName HTMLInputElement.validationMessage */ |
| 129 final String validationMessage; |
| 130 |
| 131 /** @domName HTMLInputElement.validity */ |
| 132 final ValidityState validity; |
| 133 |
| 134 /** @domName HTMLInputElement.value */ |
| 135 String value; |
| 136 |
| 137 /** @domName HTMLInputElement.valueAsDate */ |
| 138 Date valueAsDate; |
| 139 |
| 140 /** @domName HTMLInputElement.valueAsNumber */ |
| 141 num valueAsNumber; |
| 142 |
| 143 /** @domName HTMLInputElement.webkitGrammar */ |
| 144 bool webkitGrammar; |
| 145 |
| 146 /** @domName HTMLInputElement.webkitSpeech */ |
| 147 bool webkitSpeech; |
| 148 |
| 149 /** @domName HTMLInputElement.webkitdirectory */ |
| 150 bool webkitdirectory; |
| 151 |
| 152 /** @domName HTMLInputElement.width */ |
| 153 int width; |
| 154 |
| 155 /** @domName HTMLInputElement.willValidate */ |
| 156 final bool willValidate; |
| 157 |
| 158 /** @domName HTMLInputElement.checkValidity */ |
| 159 bool checkValidity(); |
| 160 |
| 161 /** @domName HTMLInputElement.select */ |
| 162 void select(); |
| 163 |
| 164 /** @domName HTMLInputElement.setCustomValidity */ |
| 165 void setCustomValidity(String error); |
| 166 |
| 167 /** @domName HTMLInputElement.setSelectionRange */ |
| 168 void setSelectionRange(int start, int end, [String direction]); |
| 169 |
| 170 /** @domName HTMLInputElement.stepDown */ |
| 171 void stepDown([int n]); |
| 172 |
| 173 /** @domName HTMLInputElement.stepUp */ |
| 174 void stepUp([int n]); |
| 175 } |
| 176 |
| 177 interface InputElementEvents extends ElementEvents { |
| 178 |
| 179 EventListenerList get speechChange(); |
| 180 } |
| OLD | NEW |