PopupModel
Interface representing the Popup class.
Properties
actionOnScroll ActionOnScrollType
Specifies the action to take when scrolling has occurred on the target's parent element.
Default: false
collision CollisionAxis
Specifies the collision settings for the popup.
Default: { X: 'none',Y: 'none' }
content String HTMLElement
Specifies the content of the popup.
Default: null
enableRtl Boolean
Specifies whether to render the control in right to left direction.
Default: false
enableState Boolean
Specifies whether to persist the state of the control between page loads.
Default: false
height String Number
Specifies the height of the popup.
Default: auto
hideAnimation AnimationModel
Specifies the animation that should be applied when the popup is closed.
Default: null
locale String
Specifies the culture and localization value for this control, overriding the globally defined value.
Default: en-US
offsetX Number
Specifies the offset-x of the popup respective to the relative element.
Default: 0
offsetY Number
Specifies the offset-y of the popup respective to the relative element.
Default: 0
position PositionDataModel
Specifies the position to the popup respective to the relative element.
Default: {X:"left", Y:"top"}
relateTo String HTMLElement
Specifies the relative container element of the popup.
Default: body
showAnimation AnimationModel
Specifies the animation that should be applied when the popup is opened.
Default: null
targetType TargetType
Specifies the target element type of the control.
Default: container
viewPortElement HTMLElement
Specifies the collision detectable container element of the popup.
Default: null
width String Number
Specifies the width of the popup.
Default: auto
zIndex Number
Specifies the zIndex of the popup.
Default: 1000
Events
close EmitType<Object>
Event callback that is raised when the popup is closed.
open EmitType<Object>
Event callback that is raised when the popup is opened.
targetExitViewport EmitType<Object>
Event callback that is raised when the popup leaves the viewport on scroll.