Wijmo UI for the Web
wijpopup jQuery Widget
Display or hide elements at specified positions on the screen, and add animations for the show and hide actions.
Syntax
Javascript (Usage) 
$(function () {
    var options; // Type:  wijmo.popup.wijpopup.options
     
    $(".selector").wijpopup(options);
});
Javascript (Specification) 
function wijpopup() : any;
Browser Compatibility
7
5
5
Options
 NameDescription
public OptionautoHide

Default value: false

Determines whether to automatically hide the popup when clicking outside the element.

 
public OptionensureOutermost

Default value: false

Determines if the element's parent element is the outermost element.

 
public OptionhideDuration

Default value: 100

A value that indicates the number of milliseconds it takes for the indicated animation effect to completely hide the popup.

 
public OptionhideEffect

Default value: 'hide'

Specifies the effect to be used when the popup is hidden.

 
public OptionhideOptions

Specifies the object/hash including specific options for the hide effect.

 
public Optionposition

Options for positioning the element, please see jquery.ui.position for possible options.

 
public OptionshowDuration

Default value: 300

A value that indicates the number of milliseconds it takes for the indicated animation effect to completely show the popup.

 
public OptionshowEffect

Default value: 'show'

Specifies the effect to be used when the popup is shown.

 
public OptionshowOptions

Specifies the object/hash including specific options for the show effect.

 
Top
Methods
 NameDescription
public MethoddestroyRemove the functionality completely. This will return the element back to its pre-init state.  
public MethodhideHides the element.  
public MethodisVisibleDetermines whether the element is visible.  
public MethodshowPops up the element. Position is an optional argument, and is the options object used in jquery.ui.position.  
public MethodshowAtPopups the element at specified absolute position related to document.  
public MethodwidgetReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventhiddenThe hidden event handler. A function called after the element is hidden.  
public EventhidingThe hiding event handler. A function called before the element is hidden. Cancellable.  
public EventposChangedThe posChanged event handler. A function called when the position of the element is changed.  
public EventshowingThe showing event handler. A function called before the element is shown. Cancellable.  
public EventshownThe shown event handler. A function called after the element is shown.  
Top

See Also

Widgets

Popup

Reference

wijpopup jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.