destroy method
void
destroy()
Destroy the component.
Implementation
void destroy() {
hide();
$element.off(".${_type}");
$element.data.remove(_type);
}
Destroy the component.
void destroy() {
hide();
$element.off(".${_type}");
$element.data.remove(_type);
}