Closed AlexHill closed 6 years ago
Yeah, that's intentional. The idea is to easily be able to make instance variables that are private to javascript, but public to python. @property
works.
Gotcha, thanks. And from the look of the tests, __getitem__
should work with dot notation in JS if I need to expose dynamic properties?
Yep. JavaScript does not distinguish between . and [].
Ok. Thankyou!
Hi,
Just clarifying what is and isn't possible with v8py - is it expected that instance attributes on objects exposed to V8 won't be accessible? e.g. attributes set in
__init__
? If so, is that a fundamental limitation or just a "not implemented yet"?Many thanks, Alex