HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

togglePopover

Description

The togglePopover of HTMLElement for JS if the popover element is not showing, then this method shows it. Otherwise, this method hides it. This method returns true if the popover is open after calling it, otherwise false.

Syntax

element.togglePopover(options)

Parameters

options

toggle

Shows or hides the targeted popover element.

show

Shows the targeted popover element.

hide

Hides the targeted popover element.

Examples

1 · void

2 · false

3 · true

4 · toggle

5 · show

6 · hide