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

Commit 5ae5be6

Browse files
committed
chore(tooltip): add note on wrapping in a tag
- Add documentation to tooltip and popover about usage of `*-template` and the template needing to be wrapped in a tag Closes #3555 Closes #4101
1 parent 3b5b3bd commit 5ae5be6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/popover/docs/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ There are two versions of the popover: `popover` and `popover-template`:
1111
- `popover-html` takes an expression that evaluates to an html string. *The user is responsible for ensuring the
1212
content is safe to put into the DOM!*
1313
- `popover-template` takes text that specifies the location of a template to
14-
use for the popover body.
14+
use for the popover body. Note that this needs to be wrapped in a tag.
1515

1616
The popover directives provides several optional attributes to control how it
1717
will display:

src/tooltip/docs/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ There are three versions of the tooltip: `tooltip`, `tooltip-template`, and
66

77
- `tooltip` takes text only and will escape any HTML provided.
88
- `tooltip-template` takes text that specifies the location of a template to
9-
use for the tooltip.
9+
use for the tooltip. Note that this needs to be wrapped in a tag.
1010
- `tooltip-html` takes
1111
whatever HTML is provided and displays it in a tooltip; *The user is responsible for ensuring the
1212
content is safe to put into the DOM!*

0 commit comments

Comments
 (0)