instant.js
Provides pop-up functionality to any element.
This API was changed recently. Backward compatibility should be preserved, but please check if your functionality remained the same.Objects
OAT.Instant(element, optObj)
Assigns element a pop-up functionality. The element can be then shown by OAT.Instant::show() and will be hidden by clicking elsewhere, or by explicitly calling OAT.Instant::hide().optObj may contain:
- showCallback - function reference to be executed when popup is shown
- hideCallback - function reference to be executed when popup is hidden
Methods
OAT.Instant::show()
Show the element.
OAT.Instant::hide()
Explicitly hide the element.
Referenced by...