Client
Template.myTemplate.onDestroyed
import { Template } from 'meteor/templating'
Source Register a function to be called when an instance of this template is removed from the DOM and destroyed.
Arguments
- callback Function
-
A function to be added as a callback.
Please login to continue.