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

Feature: destroy API to remove the graph and all associated events. #265

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

mauriciopoppe
Copy link
Owner

Add a new API method to destroy the graph contents and the associated event listeners.

const instance = functionPlot({ ... })
instance.destroy()

Fixes: #262

@mauriciopoppe mauriciopoppe merged commit 317bea1 into master Dec 19, 2023
4 checks passed
@mauriciopoppe mauriciopoppe deleted the teardown branch December 19, 2023 02:04
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.

Feature request: provide a way to teardown a functionPlot instance
1 participant