HaxeFoundation / HaxeFoundation/haxe
[js] @:expose enum to js
Open
enhancement
Hacktoberfest
help wanted
platform-javascript
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
I can't find a way to expose an enum to js, and I see that recently someone else posted on gitter with the same problem.
I'm currently using a hackish solution to achieve it (see [this discussion](https://groups.google.com/forum/#!searchin/haxelang/expose/haxelang/ZAZtlc2VqHs/mx6hxS77CgAJ) on the mailing list), but I'm wondering if there's a standard way to do it or if it has been intentionally left out.
Contributor guide
Assessment
This issue has not been assessed yet.