Members
targetTimer :number
The timer returned by window.setInterval. Used to suspend and resume target removal detection.
Type:
- number
sheet :CSSStyleSheet
The CSS stylesheet used to store and alter the fxToolTip div elements' styles.
Type:
- CSSStyleSheet
rules :Array
A collection of all of the CSS rules in the document's stylesheet.
Type:
- Array
ttDiv :DOM.element
The HTML div element inserted into the DOM which is used to display all tooltips. This element is assigned the fxToolTip class.
Type:
- DOM.element
ttContainer :DOM.Element
The HTML div element inserted into the DOM which is used to display all tooltip content. Child element of ttDiv.
Type:
- DOM.Element
beforeRule :CSSRule
CSS rule associated with the .fxToolTip class.
Type:
- CSSRule
afterRule :CSSRule
CSS rule associated with the .fxToolTip::after pseudo class. Used to style the tooltip arrow.
Type:
- CSSRule
targetRule :CSSRule
CSS rule associated with the .fxToolTipTarget class. This class is appended to all DOM elements associated with a tooltip. Used to style the target element's cursor on hover.
Type:
- CSSRule
set :boolean
Represents the state of the fxToolTip environment.
Type:
- boolean
mouseX :number
The current mouse cursor X position in the client space.
Type:
- number
mouseY :number
The current mouse cursor Y position in the client space.
Type:
- number
tips :Array
An array of Tip class objects representing all of the tooltips that have been instantiated.
Type:
- Array
tipsIndex :Array
An array of DOM element ids corresponding to each of the Tip class objects in the tips array.
Type:
- Array
windowWidth :number
Global variable containing the width of the current viewport. Updated by the windowResized event listener.
Type:
- number
windowHeight :number
Global variable containing the height of the current viewport. Updated by the windowResized event listener.
Type:
- number
aspectRatio :number
Global variable containing the aspect ratio of the current viewport. Updated by the windowResized event listener.
Type:
- number