js_bindings 0.0.4-dev.3 copy "js_bindings: ^0.0.4-dev.3" to clipboard
js_bindings: ^0.0.4-dev.3 copied to clipboard

discontinuedreplaced by: typings
outdated

Complete JS bindings interop with autocomplete and documentation.

0.0.4-dev.3 #

  • Changed the example to use dynamic generated elements

0.0.4-dev.2 #

  • Breaking change: The Promise is gone. The builder now generates Future when it sees a Promise. So no need to use promiseToFuture at all.
  • Breaking change: The allowInterop is gone. The builder now automatically adds allowInterop so you can use regular Dart Function() on callbacks.
    Example:
    • Old way: element.addEventListener('click', allowInterop((ev) {}))
    • New way: element.addEventListener('click', (ev) {})

0.0.4-dev #

  • Removed a number of runtime dependencies.
  • Require Dart 2.14 or greater
  • Require package:js 0.6.4 or greater
  • Updated the builders to use @staticInterop along with dart:js_util
  • The example dir is working and has more examples

0.0.3 #

  • Formatting and example

0.0.2 #

  • Link MediaStream on ReadMe

0.0.1 #

  • Package tries to fully transpile WebIDLs to Dart.
24
likes
0
pub points
69%
popularity

Publisher

unverified uploader

Complete JS bindings interop with autocomplete and documentation.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

js, meta

More

Packages that depend on js_bindings