Open this page in the API Guide

SankeyDiagram.onDOMDetach Method

Called when the adapter is detached from the DOM.