Skip to content

Implement viewer cleanup in surfwidget#30

Open
bbuchsbaum wants to merge 4 commits intomasterfrom
codex/locate-surfwidget.js-and-implement-cleanup-method
Open

Implement viewer cleanup in surfwidget#30
bbuchsbaum wants to merge 4 commits intomasterfrom
codex/locate-surfwidget.js-and-implement-cleanup-method

Conversation

@bbuchsbaum
Copy link
Copy Markdown
Owner

Summary

  • add a cleanup helper that disposes viewer state
  • call cleanup before rendering
  • expose a destroy method and register it with onBeforeDestroy

Testing

  • node --check inst/htmlwidgets/surfwidget.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant