hidePopover method

void hidePopover()
inherited

The hidePopover() method of the HTMLElement interface hides a popover element (i.e. one that has a valid popover attribute) by removing it from the and styling it with display: none.

When hidePopover() is called on a showing element with the popover attribute, a HTMLElement.beforetoggle_event event will be fired, followed by the popover being hidden, and then the HTMLElement.toggle_event event firing. If the element is already hidden, an error is thrown.

Implementation

external void hidePopover();