From 423adaa4075435e530ee26c66721b65e651ac1d9 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 14 Nov 2018 17:29:51 +0800 Subject: Add multiline Tooltips --- docs/components/tooltips.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'docs/components/tooltips.html') diff --git a/docs/components/tooltips.html b/docs/components/tooltips.html index 77b551b..ac851e9 100644 --- a/docs/components/tooltips.html +++ b/docs/components/tooltips.html @@ -213,7 +213,8 @@
- +

Tooltips component is built entirely in CSS.

@@ -223,6 +224,17 @@

<button class="btn tooltip" data-tooltip="Lorem ipsum dolor sit amet">top tooltip</button>
 <button class="btn tooltip tooltip-right" data-tooltip="Lorem ipsum dolor sit amet">right tooltip</button>
+
+

Multiline tooltips

+
+
+ +
+
+

Add the \n string between any text for multiline tooltips.

+
<button class="btn tooltip" data-tooltip="First Line Tooltip Text \n Second Line Tooltip Text">multiline tooltip</button>
 
-- cgit v1.3.1-26-gb76a