Skip to content

Conversation

@jonasvdd
Copy link
Member

@jonasvdd jonasvdd commented Jan 24, 2023

Still a draft, but added you, so you know what I'm working on!

export function getGraphDiv(gdID) {
// see this link for more information https://stackoverflow.com/a/34002028
let graphDiv = document?.querySelectorAll('div[id*="' + gdID + '"][class*="dash-graph"]');
if (graphDiv.length > 1) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to distinguish between multiple matches versus multiple unique IDs? If I clone a graph and want the update to apply to the clone as well as the original, the clone would have the same ID.

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

Successfully merging this pull request may close these issues.

3 participants