Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Div
classcomponent-api-page
Wiki Markup
{span:class=small}Production status: PREVIEW{span}

The Tooltip component ...

{span:class=small-heading}See also{span}
[link to something]
[link to something else]

{span:class=small-heading}New in v1.4{span} {span:class=small}(June ??, 2011){span}
* something
* another thing

{div2:class=summary-table}
|| [#Creator] | fluid.tooltip(container, options) \\
creates a new Tooltip ||
|| [#Supported events] | [#onHover] \\
desc of event \\
event2 \\
desc of event2 ||
|| Methods | method1(arg) \\
does a little thing \\
method2(arg, arg) \\
does a bigger thing ||
|| Options | strings \\
Strings that will be used by the component \\
foo \\
Bar \\ ||
|| Selectors | aThing \\
desc of aThing \\
anotherThing \\
desc of anotherThing \\ ||
{div2}

h2. Creator

Use the following function to create a Tooltip component.

{div2:class=api-table}
| *Method* | {{fluid.tooltip(container, options)}} |
| *Description* | Instantiate a new Tooltip component|
| *Parameters* | _{{container}}_\\
A CSS-based selector, single-element jQuery object or DOM element that identifies the root DOM node of the Tooltip component.\\
_{{options}}_\\
An optional data structure that configures the Tooltip component, as described in [#Options].|
| *Returns* | The Tooltip component object|
| *Examples* | {{var myTooltip = fluid.tooltip("#tooltip-div", {strings:{text:"Use all-caps here"}});|
| *Notes* | |
| *See also* | |
{div2}

h2. Supported events

Integer sollicitudin felis ac leo viverra quis gravida mauris euismod. In in velit fermentum erat mattis rutrum eu a leo. Duis condimentum felis ut sapien tempus semper.

h3. {{onHover}}

{div2:class=api-table}
| *Description* | Instantiate a new Tooltip component|
| *Type* | default |
| *Parameters* | _none_ |
| *Availability* | Infusion 1.3 and later|
| *See also* | |
{div2}