Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

{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] |

Div
classcomponent-api-page
Wiki Markup
Span
classsmall
Production status: PREVIEW

The Tooltip component ...

Span
classsmall-heading
See also

link to something
link to something else

Span
classsmall-heading
New in v1.4
Span
classsmall
(June ??, 2011)

  • something
  • another thing
Div
classsummary-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* | {{

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

Creator

Use the following function to create a Tooltip component.

Div
classapi-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 =

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}

Notes

 

See also

 

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.

onHover

Div
classapi-table

Description

Instantiate a new Tooltip component

Type

default

Parameters

none

Availability

Infusion 1.3 and later

See also