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.
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:
Show the element.
Explicitly hide the element.