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