Add a note on the README of js package (#27701)

This commit is contained in:
Alexandre Ardhuin 2016-11-23 16:36:54 +01:00 committed by Michael Thomsen
parent d056236180
commit 3f1720069a

View file

@ -90,6 +90,8 @@ class Options {
}
```
NB: This _anonymous_ class must have an unnamed _factory constructor_.
#### Passing functions to JavaScript.
If you are passing a Dart function to a JavaScript API, you must wrap it using