diff --git a/source/components/tooltip.md b/source/components/tooltip.md index 82d88d4c..84aaa068 100644 --- a/source/components/tooltip.md +++ b/source/components/tooltip.md @@ -34,8 +34,36 @@ You can replace QBtn and the QPopover content with any DOM elements or component The idea is to place QTooltip inside your DOM element / component (as **direct child in DOM hierarchy**), when you want it to be the trigger for the QTooltip. Don't worry about QTooltip content inheriting CSS from the container. This won't occur, since QTooltip will be injected as a direct child of `
`. +With that in mind, if you want to have a tooltip for say, a rating component, it is best to wrap the component in a ´div´ and add the tool tip as a child of the ´div . Note: this isn't necessary for buttons, as ´QBtn´ is built to support Tooltips. + +``` html + +