| 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 HTMLButtonElement | |
| 10 interface ButtonElement extends Element default _Elements { | |
| 11 | |
| 12 ButtonElement(); | |
| 13 | |
| 14 /** @domName HTMLButtonElement.autofocus */ | |
| 15 bool autofocus; | |
| 16 | |
| 17 /** @domName HTMLButtonElement.disabled */ | |
| 18 bool disabled; | |
| 19 | |
| 20 /** @domName HTMLButtonElement.form */ | |
| 21 final FormElement form; | |
| 22 | |
| 23 /** @domName HTMLButtonElement.formAction */ | |
| 24 String formAction; | |
| 25 | |
| 26 /** @domName HTMLButtonElement.formEnctype */ | |
| 27 String formEnctype; | |
| 28 | |
| 29 /** @domName HTMLButtonElement.formMethod */ | |
| 30 String formMethod; | |
| 31 | |
| 32 /** @domName HTMLButtonElement.formNoValidate */ | |
| 33 bool formNoValidate; | |
| 34 | |
| 35 /** @domName HTMLButtonElement.formTarget */ | |
| 36 String formTarget; | |
| 37 | |
| 38 /** @domName HTMLButtonElement.labels */ | |
| 39 final NodeList labels; | |
| 40 | |
| 41 /** @domName HTMLButtonElement.name */ | |
| 42 String name; | |
| 43 | |
| 44 /** @domName HTMLButtonElement.type */ | |
| 45 final String type; | |
| 46 | |
| 47 /** @domName HTMLButtonElement.validationMessage */ | |
| 48 final String validationMessage; | |
| 49 | |
| 50 /** @domName HTMLButtonElement.validity */ | |
| 51 final ValidityState validity; | |
| 52 | |
| 53 /** @domName HTMLButtonElement.value */ | |
| 54 String value; | |
| 55 | |
| 56 /** @domName HTMLButtonElement.willValidate */ | |
| 57 final bool willValidate; | |
| 58 | |
| 59 /** @domName HTMLButtonElement.checkValidity */ | |
| 60 bool checkValidity(); | |
| 61 | |
| 62 /** @domName HTMLButtonElement.setCustomValidity */ | |
| 63 void setCustomValidity(String error); | |
| 64 } | |
| OLD | NEW |