Object methods to access to chart.options as proxy
See original GitHub issueAfter the PR which changes the chart.options
to a proxy, the usage of Object
methods (like getOwnPropertyDescriptor
or hasOwnProperty
) are reporting only if the property are stored on top level.
Before the PR, the options, being built by merging the other options, the Object
methods worked well.
I don’t know if there is any possibility in order that proxy handler could work as before using the above methods, therefore going in cascade on the objects of different scopes.
Issue Analytics
- State:
- Created 3 years ago
- Comments:29 (29 by maintainers)
Top Results From Across the Web
Proxy - JavaScript - MDN Web Docs
The Proxy object enables you to create a proxy for another object, which can intercept and redefine fundamental operations for that object.
Read more >How to use javascript proxy for nested objects - Stack Overflow
The isProxy property in the getter is used to detect whether the currently accessed object is a proxy or not.
Read more >Proxy and Reflect - The Modern JavaScript Tutorial
A Proxy object wraps another object and intercepts operations, like reading/writing properties and others, optionally handling them on its ...
Read more >Ext.data.proxy.Proxy | Ext JS 6.2.0 - Sencha Documentation
Matches options property names within a listeners specification object - property names which are never used as event names. Defaults to:
Read more >Configure charts using globals - GitLab Docs
API version to use in the CronJob object definitions. Configure Ingress settings. The GitLab global host settings for Ingress are located under the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I guess you can’t use the
in
operator either.Do you use any javascript side helpers with the JSINTEROP? You could create a javascript helpers for interacting with the options.
For example:
(I’m not sure if this is something you can do though 😄)
Tested right now, nothing changed.