Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 8a53327

Browse files
RPGillespie6wesleycho
authored andcommitted
docs(tooltip): add inline html example
- Make demo more clear on html tooltip capability Closes #4738 Closes #6067
1 parent 9f06a8b commit 8a53327

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: src/popover/docs/demo.html

+1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ <h4>Other</h4>
4444
<button uib-popover="I have a title!" popover-title="The title." type="button" class="btn btn-default">title</button>
4545
<button uib-popover="I am activated manually" popover-is-open="popoverIsOpen" ng-click="popoverIsOpen = !popoverIsOpen" type="button" class="btn btn-default">Toggle popover</button>
4646
<button uib-popover-html="htmlPopover" class="btn btn-default">HTML Popover</button>
47+
<button uib-popover-html="'<b>HTML</b>, <i>inline</i>'" class="btn btn-default">HTML Popover (inline)</button>
4748
</div>

Diff for: src/tooltip/docs/demo.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
</p>
3030

3131
<p>
32-
I can even contain HTML. <a href="#" uib-tooltip-html="htmlTooltip">Check me out!</a>
32+
I can even contain HTML as a
33+
<a href="#" uib-tooltip-html="htmlTooltip">scope variable</a> or
34+
<a href="#" uib-tooltip-html="'static. {{dynamicTooltipText}}. <b>bold.</b>'">inline string</a>
3335
</p>
3436

3537
<p>

0 commit comments

Comments
 (0)