dart-archive / polymer_interop

Repackaging of the original polymer js source.
https://pub.dartlang.org/packages/polymer_interop
BSD 3-Clause "New" or "Revised" License
7 stars 5 forks source link

auto convert fundamental JavaScript types and DOM objects #26

Open ErikGrimes opened 9 years ago

ErikGrimes commented 9 years ago

Polymer Elements tend to expose these either as properties or as the detail for custom events. IronAjax for example fires 'error' which is a map containing the IronRequest and the JavaScript Error. IronRequest contains a reference to the JavaScript XMLHttpRequest.

Fundamental Types

jakemac53 commented 9 years ago

cc @jacob314 I am not sure how much of this could/should be done by dart:js, and how much should be done by Polymer. I am ok with initial implementations for this sort of thing in Polymer but it seems like for the fundamental types dart:js should eventually own the conversion.