Ultimate popup was developed to provide a lightweight versitial popup library. Featuring dragable windows with snap magnetic window alignment, multi sized popups, tabable windows, cancelable overlay, and more.
Avalible options to customize the popup, options is a json object passed to the Up.open function.
- size: string (small/medium/large/content-driven) Default: empty string,
- title: string (title of popup) Default: empty string,
- multiTab: Bool (true/false) Default: true,
- dragable: Bool (true/false) Default: true,
- overlay: Bool (true/false) Default: false,
This method creates and opens a new popup it takes three arguments content, options, and callBack.
Up.open( content, options, callBack );
This method closes a given popup, if popup is not given it will close the active popup.
Up.closePopup( popup );
This method closes all popups.
Up.closeAll();
This method opens a minimized popup.
Up.openWindow( popup );