ia.CalloutBox Class
Creates a callout box.
Constructor
ia.CalloutBox
(
-
id -
notchPosition
Parameters:
-
idStringThe element id.
-
notchPositionString"top-bottom" or "left-right" or "none".
Methods
append
(
-
obj
Appends an element.
Parameters:
-
objJQUERY ElementThe jquery object.
hide
()
Hide the callout.
popup
(
-
isPopup
Sets or gets if its a popup - closes on a click outside the callout.
Parameters:
-
isPopupBooleantrue/false.
position
(
-
x -
y
Positions the callout.
Parameters:
-
xNumberThe x position.
-
yNumberThe y position.
show
()
Show the callout.
toggle
(
-
visible
Toggles the visibility of the callout.
Parameters:
-
visibleBooleantrue/false.
Properties
container
JQUERY Element
The container that holds the object.
id
String
The id.
notchPosition
String
"top-bottom" or "left-right".
Default: "left-right"