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

How to get a property name in a global event #641

Open
2mik opened this issue Feb 26, 2025 · 0 comments
Open

How to get a property name in a global event #641

2mik opened this issue Feb 26, 2025 · 0 comments

Comments

@2mik
Copy link

2mik commented Feb 26, 2025

Hello,
Thank you for your work.
I would like to use global events as written in the manual

pane.on('change', (ev) => {
  console.log('changed: ' + JSON.stringify(ev.value));
});

How to retrieve the name of the object property that was changed?
In a console I get
Image

I'd prefer to use global events rather than binding events because bindings are changed when a user select another object to edit.

@2mik 2mik changed the title Get property name in a global event How to get a property name in a global event Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant