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

showPopover

Description

The showPopover of HTMLElement for JS shows the popover element by adding it to the top layer. If element's popover attribute is in the auto state, then this will also close all other auto popovers unless they are an ancestor of element according to the topmost popover ancestor algorithm.

Syntax

element.showPopover(options)

Parameters

options

auto

Closes other popovers when opened; has light dismiss and responds to close requests.

manual

Does not close other popovers; does not light dismiss or respond to close requests.

hint

Closes other hint popovers when opened, but not other auto popovers; has light dismiss and responds to close requests.

Examples

1 · void

2 · auto

3 · manual

4 · hint