====== Popovers ====== Add small overlays of content, like those on the iPad, to any element for housing secondary information. Popovers whose both title and content are zero-length are never displayed. ===== Examples ===== Click to toggle popover Click to toggle popover ==== Four directions ==== Four options are available: ''top'', ''right'', ''bottom'', and ''left'' aligned. Popover on right Popover on top Popover on bottom Popover on left Popover on right Popover on top Popover on bottom Popover on left ==== Dismiss on next click ==== Use the ''focus'' trigger to dismiss popovers on the next click that the user makes. Dismissible popover Dismissible popover ==== DokuWiki syntax ==== Dismissible Popover Dismissible Popover ===== Options ===== ^ Name ^ Default ^ Values ^ Description ^ | ''animation'' | ''true'' | ''true'' ''false'' | Apply a CSS fade transition to the popover | | ''content'' | NULL | | The content value | | ''title'' | NULL | | The title value | | ''html'' | ''false'' | ''true'' ''false'' | Insert DokuWiki syntax into the popover | | ''placement'' | ''right'' | ''top'' ''bottom'' ''left'' ''right'' ''auto'' | How to position the popover. \\ When ''auto'' is specified, it will dynamically reorient the popover. For example, if placement is ''auto left'', the popover will display to the left when possible, otherwise it will display right. | | ''trigger'' | ''click'' | ''click'' ''hover'' ''focus'' ''manual'' | How popover is triggered. You may pass multiple triggers; separate them with a space. ''manual'' cannot be combined with any other trigger. | | ''delay'' \\ ''delay-show'' \\ ''delay-hide'' | ''0'' | | Delay showing and hiding the popover (ms) - does not apply to manual trigger type \\ If a number is supplied, delay is applied to both hide/show. |