OLD | NEW |
| (Empty) |
1 | |
2 class _ButtonElementImpl extends _ElementImpl implements ButtonElement { | |
3 _ButtonElementImpl._wrap(ptr) : super._wrap(ptr); | |
4 | |
5 bool get autofocus() => _wrap(_ptr.autofocus); | |
6 | |
7 void set autofocus(bool value) { _ptr.autofocus = _unwrap(value); } | |
8 | |
9 bool get disabled() => _wrap(_ptr.disabled); | |
10 | |
11 void set disabled(bool value) { _ptr.disabled = _unwrap(value); } | |
12 | |
13 FormElement get form() => _wrap(_ptr.form); | |
14 | |
15 String get formAction() => _wrap(_ptr.formAction); | |
16 | |
17 void set formAction(String value) { _ptr.formAction = _unwrap(value); } | |
18 | |
19 String get formEnctype() => _wrap(_ptr.formEnctype); | |
20 | |
21 void set formEnctype(String value) { _ptr.formEnctype = _unwrap(value); } | |
22 | |
23 String get formMethod() => _wrap(_ptr.formMethod); | |
24 | |
25 void set formMethod(String value) { _ptr.formMethod = _unwrap(value); } | |
26 | |
27 bool get formNoValidate() => _wrap(_ptr.formNoValidate); | |
28 | |
29 void set formNoValidate(bool value) { _ptr.formNoValidate = _unwrap(value); } | |
30 | |
31 String get formTarget() => _wrap(_ptr.formTarget); | |
32 | |
33 void set formTarget(String value) { _ptr.formTarget = _unwrap(value); } | |
34 | |
35 NodeList get labels() => _wrap(_ptr.labels); | |
36 | |
37 String get name() => _wrap(_ptr.name); | |
38 | |
39 void set name(String value) { _ptr.name = _unwrap(value); } | |
40 | |
41 String get type() => _wrap(_ptr.type); | |
42 | |
43 String get validationMessage() => _wrap(_ptr.validationMessage); | |
44 | |
45 ValidityState get validity() => _wrap(_ptr.validity); | |
46 | |
47 String get value() => _wrap(_ptr.value); | |
48 | |
49 void set value(String value) { _ptr.value = _unwrap(value); } | |
50 | |
51 bool get willValidate() => _wrap(_ptr.willValidate); | |
52 | |
53 bool checkValidity() { | |
54 return _wrap(_ptr.checkValidity()); | |
55 } | |
56 | |
57 void setCustomValidity(String error) { | |
58 _ptr.setCustomValidity(_unwrap(error)); | |
59 return; | |
60 } | |
61 } | |
OLD | NEW |