Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support array properties in Duktape backend #46

Open
2 tasks
j-o opened this issue Aug 7, 2017 · 0 comments
Open
2 tasks

Support array properties in Duktape backend #46

j-o opened this issue Aug 7, 2017 · 0 comments

Comments

@j-o
Copy link

j-o commented Aug 7, 2017

It should be possible to create a Property<std::vector<int>>("myArray", ...) and access its elements from JS as myObj.myArray[x].

Currently, I see two issues that must be addressed:

  • the typed-library does not recognize std::vector as an array type, only std::array
  • the Duktape backend does not expose arrays as such
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants