Community Forum
Closing or hiding the widget
over 6 years ago by Justin Weathersby
I see that the Localize object has a .destroy() function but this does not remove the widget from the DOM. Other than directly finding the element via id and calling remove on it...
document.getElementById("localize-widget").remove();
Is there any other way to hide your widget programmatically?