diff --git a/src/main/webapp/bootstrap/tooltips.xhtml b/src/main/webapp/bootstrap/tooltips.xhtml index 23f8576c..f9ffe3cc 100644 --- a/src/main/webapp/bootstrap/tooltips.xhtml +++ b/src/main/webapp/bootstrap/tooltips.xhtml @@ -10,6 +10,65 @@

Tooltips

You can add a tooltip to most BootsFaces components.

+

Basic usage

+

Simply add the attribute tooltip="I'm a tooltip!" to the attribute list of a (almost) arbitrary BootsFaces component. Optionally can you also + define the position of the tooltip and a delay:

+ + + + + + +

At the bottom of this page you find examples for every BootsFaces component supporting tooltips.

+
+ + + Tooltip attributes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDefault valueDescription
tooltipnoneThe text of the tooltip.
tooltip-positionbottomWhere is the tooltip to be displayed? Possible values: "top", "bottom", "right", "left", "auto", "auto top", "auto bottom", "auto right" and "auto left". Default to "bottom".
tooltip-delay0 (no delay)The tooltip is shown and hidden with a delay. This value is the delay in milliseconds. Defaults to 0 (no delay).
tooltip-delay-show0 (no delay)The tooltip is shown with a delay. Useful to define different delays for hiding and showing the tooltip. This value is the delay in milliseconds. Defaults to 0 (no delay).
tooltip-delay-hide0 (no delay)The tooltip is hidden with a delay. Useful to define different delays for hiding and showing the tooltip. This value is the delay in milliseconds. Defaults to 0 (no delay).
+
+
+ Examples