Skip to main content

Hide

The hide action is used to conceal the widget from the page. Unlike the destroy action it does not remove the iframe from the page or clean up any resources. This is useful when you need to temporarily hide the widget without losing context. Once a widget has been hidden you can call the show action to reveal it again.

Usage

To hide the widget, call the hide method on the widget instance:

window._asurion_widget('hide');