We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
trading-vue-js/src/components/primitives/pin.js
Line 157 in e881bdb
Event object-selected should return the object so listener can identify which object emitted it.
object-selected
this.comp.$emit('object-selected', this)
I tried hacking this into the code, but it does not seem to work. So perhaps it is the wrong place?
The text was updated successfully, but these errors were encountered:
tool-selectedevent returns the originating tool which emitted the event. object-selected does not.
tool-selected
On the object-selected event, the chart.data.selectedis not populated, so the following is not possible: this.chart.get(this.chart.data.selected)
chart.data.selected
this.chart.get(this.chart.data.selected)
So far the method that does work is to use a watcher.
'chart.data.selected': function(newValue, oldValue) { if (newValue) { console.log("TVJS: selected:",newValue) const selected = this.chart.get(newValue) console.log("TVJS: Object Selected:",selected) } }
Sorry, something went wrong.
No branches or pull requests
trading-vue-js/src/components/primitives/pin.js
Line 157 in e881bdb
Event
object-selected
should return the object so listener can identify which object emitted it.I tried hacking this into the code, but it does not seem to work. So perhaps it is the wrong place?
The text was updated successfully, but these errors were encountered: