dundas.controls.InlinePopup Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.InlinePopup
 

Constructors

 
  Name Description
init Initializes the control. Called during construction.
 
 

Properties

 
  Name Description
arrowDirection Gets or sets a value indicating if there should be an arrow added to the popup, and what direction it should be in.
closeOnTriggerMouseClick Gets or sets a value indicating whether the popup will close when the mouse clicks off the trigger element.
closeOnTriggerMouseLeave Gets or sets a value indicating whether the popup will close when the mouse leaves the trigger element.
content Gets or sets the content that will be shown in the popup.
element Gets element of the popup.
isFrameHidden Gets or sets if the frame is hidden in the control.
isOpen Gets or sets a value indicating whether the popup is open.
isScrollPositionSaved Gets or sets a value indicating if the inline pop-up should save the scroll position between hiding and showing. By default, it does not.
left Gets or sets the location of the left of the popup.
scrollElement Gets a value indicating the element to track scrolling on if scroll position saving is enabled.
showClass Gets or sets the CSS class that will be applied to the popup content when it is shown.
titleElement Gets title element of the popup.
top Gets or sets the location of the top of the popup.
triggerElement Gets or sets the element that caused the popup to be shown.
 
 

Methods

 
  Name Description
close Closes the popup.
dispose
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
open Opens the popup.
refreshContent Will be called when outside entities require the inline panel to re-draw its contents from scratch. This may be a heavy call.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
updateLayout Recalculates the size and position of a popup that is already showing.
updateTitleText If a title was originally given in the constructor, the text can be updated with this method.