togglePopover

fun togglePopover(options: Boolean = definedExternally): Boolean(source)

The togglePopover() method of the HTMLElement interface toggles a Popover_API element (i.e., one that has a valid popover attribute) between the hidden and showing states.

MDN Reference