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 @@
You can add a tooltip to most BootsFaces components.
+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.
+Attribute | +Default value | +Description | +
---|---|---|
tooltip | +none | +The text of the tooltip. | +
tooltip-position | +bottom | +Where 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-delay | +0 (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-show | +0 (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-hide | +0 (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). | +