From 6e7bf66de9dd22772a60e774bd5cf62ee36d161a Mon Sep 17 00:00:00 2001 From: dumb Date: Mon, 16 May 2016 16:18:51 -0400 Subject: Fix issue #16941 - HTML example in tooltip docs Added an example tooltip that uses HTML content, and expanded the description of the html option to clarify usage. --- docs/components/tooltips.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs/components/tooltips.md') diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index fb8cb24dd..7aad7a787 100644 --- a/docs/components/tooltips.md +++ b/docs/components/tooltips.md @@ -85,6 +85,7 @@ Hover over the buttons below to see their tooltips. + @@ -101,6 +102,9 @@ Hover over the buttons below to see their tooltips. + {% endhighlight %} ## Usage @@ -179,7 +183,11 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap html boolean false - Insert HTML into the tooltip. If false, jQuery's text method will be used to insert content into the DOM. Use text if you're worried about XSS attacks. + +

Allow HTML in the tooltip.

+

If true, HTML tags in the tooltip's title will be rendered in the tooltip. If false, jQuery's text method will be used to insert content into the DOM.

+

Use text if you're worried about XSS attacks.

+ placement -- cgit v1.2.3 From 6157001bcd39d56524a1135bab66b98f6fe33fb3 Mon Sep 17 00:00:00 2001 From: Patrick Yeo Date: Thu, 21 Jul 2016 12:44:26 -0700 Subject: Tooltip Static Demo uses v3 class names --- docs/components/tooltips.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/components/tooltips.md') diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index fb8cb24dd..a102aa925 100644 --- a/docs/components/tooltips.md +++ b/docs/components/tooltips.md @@ -49,25 +49,25 @@ Hover over the links below to see tooltips: Four options are available: top, right, bottom, and left aligned.
-