OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, 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 class KeygenElementWrappingImplementation extends ElementWrappingImplementation
implements KeygenElement { | |
8 KeygenElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 bool get autofocus() { return _ptr.autofocus; } | |
11 | |
12 void set autofocus(bool value) { _ptr.autofocus = value; } | |
13 | |
14 String get challenge() { return _ptr.challenge; } | |
15 | |
16 void set challenge(String value) { _ptr.challenge = value; } | |
17 | |
18 bool get disabled() { return _ptr.disabled; } | |
19 | |
20 void set disabled(bool value) { _ptr.disabled = value; } | |
21 | |
22 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } | |
23 | |
24 String get keytype() { return _ptr.keytype; } | |
25 | |
26 void set keytype(String value) { _ptr.keytype = value; } | |
27 | |
28 ElementList get labels() { return LevelDom.wrapElementList(_ptr.labels); } | |
29 | |
30 String get name() { return _ptr.name; } | |
31 | |
32 void set name(String value) { _ptr.name = value; } | |
33 | |
34 String get type() { return _ptr.type; } | |
35 | |
36 String get validationMessage() { return _ptr.validationMessage; } | |
37 | |
38 ValidityState get validity() { return LevelDom.wrapValidityState(_ptr.validity
); } | |
39 | |
40 bool get willValidate() { return _ptr.willValidate; } | |
41 | |
42 bool checkValidity() { | |
43 return _ptr.checkValidity(); | |
44 } | |
45 | |
46 void setCustomValidity(String error) { | |
47 _ptr.setCustomValidity(error); | |
48 return; | |
49 } | |
50 } | |
OLD | NEW |