You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FYI in javascript customObject['zoom'] = 1; is the same as customObject['zoom'] = 1.
Unfortunately, if you write an indexer like that, it won't get called. You can override GetMissingPropertyValue to implement the getter, but I can't think of an easy way to do the setter off the top of my head.
Can I expose object's indexer with string key?
Say, I implemented the class:
and I want to the indexer be called when somewhere in JS the following code executed:
The text was updated successfully, but these errors were encountered: