JUI(Simple UI & Chart Component)

ui.tooltip

Hierarchy

core
ui.tooltip

Requires

jquery

Files

Tooltip component can be applied to 4 locations, namely top/bottom/left/right, and a relate message can be entered in the title properties

Defined By

Config options

ui.tooltip
view source
: "left"/"right"/"center"
Determines the alignment state inside a tooltip ...

Determines the alignment state inside a tooltip

Defaults to: "left"

ui.tooltip
view source
: String
Determines the color of a tooltip ...

Determines the color of a tooltip

Defaults to: "black"

ui.tooltip
view source
: Integer
Determines the event time when a tooltip is shown ...

Determines the event time when a tooltip is shown

Defaults to: 0

Defines a DOM event to be used in a UI ...

Defines a DOM event to be used in a UI

Defaults to: {}

ui.tooltip
view source
: String
Determines the type of event that hides a tooltip ...

Determines the type of event that hides a tooltip

Defaults to: "mouseout"

ui.tooltip
view source
: "top"/"bottom"/"left"/"right"
Determines the location where a tooltip is shown ...

Determines the location where a tooltip is shown

Defaults to: "top"

ui.tooltip
view source
: String
Determines the type of event that triggers a tooltip ...

Determines the type of event that triggers a tooltip

Defaults to: "mouseover"

ui.tooltip
view source
: String
Sets the content of a tooltip (referring to the title properties in markup) ...

Sets the content of a tooltip (referring to the title properties in markup)

Defaults to: ""

Defines a template markup to be used in a UI ...

Defines a template markup to be used in a UI

Defaults to: {}

ui.tooltip
view source
: Integer
Determines the horizontal size of a tooltip ...

Determines the horizontal size of a tooltip

Defaults to: 150

Defined By

Methods

( name, params )
Check the parameter type of a UI method and generates an alarm when a wrong value is entered ...

Check the parameter type of a UI method and generates an alarm when a wrong value is entered

Parameters

  • name : String

    Method name

  • params : Array

    Parameters

( name, callback ) : Mixed
Sets a callback function that is called after a UI method is run ...

Sets a callback function that is called after a UI method is run

Parameters

  • name : String

    Method name

  • callback : Function

Returns

  • Mixed
( name, callback ) : Mixed
Sets a callback function that is called before a UI method is run ...

Sets a callback function that is called before a UI method is run

Parameters

  • name : String

    Method name

  • callback : Function

Returns

  • Mixed
( name, callback )
Sets a callback function and the delay time before/after a UI method is run ...

Sets a callback function and the delay time before/after a UI method is run

Parameters

  • name : String

    Method name

  • callback : Function
Removes all events set in a UI obejct and the DOM element ...

Removes all events set in a UI obejct and the DOM element

( type, args ) : Mixed
Generates a custom event. ...

Generates a custom event. The first parameter is the type of a custom event. A function defined as an option or on method is called

Parameters

  • type : String

    Event type

  • args : Function

    Event Arguments

Returns

  • Mixed
Removes a custom event of an applicable type or callback handler ...

Removes a custom event of an applicable type or callback handler

Parameters

  • type : String

    Event type

( type, callback )
A callback function defined as an on method is run when an emit method is called ...

A callback function defined as an on method is run when an emit method is called

Parameters

  • type : String

    Event type

  • callback : Function
Dynamically defines the options of a UI ...

Dynamically defines the options of a UI

Parameters

  • key : String
  • value : Mixed
( name, html )
Dynamically defines the template method of a UI ...

Dynamically defines the template method of a UI

Parameters

  • name : String

    Template name

  • html : String

    Template markup

ui.tooltip
view source
( text )
Changes the content of a tooltip ...

Changes the content of a tooltip

Parameters

  • text : String
Defined By

Events

ui.tooltip
view source
( e )
Event that occurs when a tooltip is hidden ...

Event that occurs when a tooltip is hidden

Parameters

  • e : EventObject

    The event object

ui.tooltip
view source
( tooltip, e )
Event that occurs when a tooltip is shown ...

Event that occurs when a tooltip is shown

Parameters

  • tooltip : DOMElement
  • e : EventObject

    The event object