Skip to content

Pass the id of the DOM element rather than the element itself#70

Open
matteoraf wants to merge 9 commits intoCodeYellowBV:masterfrom
matteoraf:dev
Open

Pass the id of the DOM element rather than the element itself#70
matteoraf wants to merge 9 commits intoCodeYellowBV:masterfrom
matteoraf:dev

Conversation

@matteoraf
Copy link

Since I needed to use this plugin with a Vue.js project and I needed to append the legend to a DOM element which wasn't yet rendered at the time the plugin was loaded, I needed to be able to pass the id of the element and leave the trouble of retrieving the DOM element to the plugin itself.

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.

1 participant