OLD | NEW |
| 1 #### 0.11.2 |
| 2 * Copied `DomProxyMixin` from `custom_element_apigen` to this package and |
| 3 renamed it `CustomElementProxyMixin`. This can be mixed into any class that |
| 4 is using the `@CustomElementProxy` annotation and provides easy access to |
| 5 the underlying javascript element via the `jsElement` getter. For instance |
| 6 the following is a simple example of a dart class that wraps a custom |
| 7 javascript element `foo-element` with a method `doFoo` and a property `foo`. |
| 8 |
| 9 @CustomElementProxy('foo-element') |
| 10 class FooElement extends HtmlElement with CustomElementProxyMixin { |
| 11 FooElement.created() : super.created(); |
| 12 |
| 13 void doFoo(int arg1) => jsElement.callMethod('doFoo', [arg1]); |
| 14 |
| 15 int get foo => jsElement['foo']; |
| 16 void set foo(int newFoo) { |
| 17 jsElement['foo'] = newFoo; |
| 18 } |
| 19 } |
| 20 |
1 #### 0.11.1+3 | 21 #### 0.11.1+3 |
2 * Switch `html5lib` package dependency to `html`. | 22 * Switch `html5lib` package dependency to `html`. |
3 | 23 |
4 #### 0.11.1+2 | 24 #### 0.11.1+2 |
5 * Added a runtime warning about bad packages paths in html imports to | 25 * Added a runtime warning about bad packages paths in html imports to |
6 `initWebComponents`. | 26 `initWebComponents`. |
7 | 27 |
8 #### 0.11.1+1 | 28 #### 0.11.1+1 |
9 * fixes unknown HTML elements if using interop_support.js | 29 * fixes unknown HTML elements if using interop_support.js |
10 | 30 |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 * Reverts back to what we had in 0.3.4. (The platform.js updates in 0.3.5 had | 218 * Reverts back to what we had in 0.3.4. (The platform.js updates in 0.3.5 had |
199 breaking changes so we are republishing it in 0.4.0) | 219 breaking changes so we are republishing it in 0.4.0) |
200 | 220 |
201 #### 0.3.5 | 221 #### 0.3.5 |
202 * Added `registerDartType` to register a Dart API for a custom-element written | 222 * Added `registerDartType` to register a Dart API for a custom-element written |
203 in Javascript. | 223 in Javascript. |
204 * Updated to platform 0.3.3-29065bc | 224 * Updated to platform 0.3.3-29065bc |
205 | 225 |
206 #### 0.3.4 | 226 #### 0.3.4 |
207 * Updated to platform 0.2.4 (see lib/build.log for details) | 227 * Updated to platform 0.2.4 (see lib/build.log for details) |
OLD | NEW |