src/core.js
function apiShowTip(element, event) {
		// if we were given a mouse event then run the hover intent testing,
		// otherwise, simply show the tooltip asap
		if (isMouseEvent(event)) {
			trackMouse(event);
			session.previousX = event.pageX;
			session.previousY = event.pageY;
			$(element).data(DATA_DISPLAYCONTROLLER).show();
		} else {
			$(element).first().data(DATA_DISPLAYCONTROLLER).show(true, true);
		}
		return element;
	}
function apiShowTip(element, event) {
		// if we were given a mouse event then run the hover intent testing,
		// otherwise, simply show the tooltip asap
		if (isMouseEvent(event)) {
			trackMouse(event);
			session.previousX = event.pageX;
			session.previousY = event.pageY;
			$(element).data(DATA_DISPLAYCONTROLLER).show();
		} else {
			$(element).first().data(DATA_DISPLAYCONTROLLER).show(true, true);
		}
		return element;
	}
function apiShowTip ( element , event ) { // if we were given a mouse event then run the hover intent testing, // otherwise, simply show the tooltip asap if ( isMouseEvent ( event ) ) { trackMouse ( event ) ; session . previousX = event . pageX ; session . previousY = event . pageY ; $ ( element ) . data ( DATA_DISPLAYCONTROLLER ) . show ( ) ; } else { $ ( element ) . first ( ) . data ( DATA_DISPLAYCONTROLLER ) . show ( true , true ) ; } return element ; }
Attempts to show the tooltip for the specified element.
@param {jQuery|Element} element The element to open the tooltip for.
@param {jQuery.Event=} event jQuery event for hover intent and mouse
tracking (optional).
@return {jQuery|Element} The original jQuery object or DOM Element.
Attempts to show the tooltip for the specified element .