popoverCreates a popover.
It accepts conent of the popover as a first argument, which
can be either text or DOM node. The second required argument is an object
with options, that has required element target - the HTML node
element next to which popover is shown. The object produced by the function
has methods show and close that
change visibility of the popover. Usually popover's visibility is toggled
after every click on target, so this object is required only when you want
to add an additional behavior.
Other popover options:
title: title of the popover.trigger: string with the name of event that trigger
popover. Usually it supoorts click, hover and focus.
To access existing popover, rendered with ui.popover macro, use getPopover method
available in the JS. This method accepts ID of the popover target(not the ID of the popover itself).