-
type
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> type
Sets popup type to overlay or tooltip. Default: overlay
-
autoopen
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> autoopen
Shows the popup when initialized. Default: false
-
scrolllock
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> scrolllock
Disables scrolling of background content while the popup is visible. Default: false
-
background
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> background
Enables background cover. Disabled for tooltips. Default: true
-
backgroundactive
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> backgroundactive
Disable background cover and keep background elements active. Implies background, blur and
scrolllock to false. Default: false
-
color
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> color
Sets background color. Default: #000
-
opacity
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> opacity
The opacity of the notice. Default: 1
-
horizontal
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> horizontal
Sets horizontal position. Options `leftedge` and `rightedge` can be used only for tooltips,
and will align the tooltip to the left or right edge of the opening element (`openelement`).
Default: center
-
vertical
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> vertical
Sets vertical position. Options `topedge` and `bottomedge` can be used only for tooltips, and
will align the tooltip to the top or bottom edge of the opening element (`openelement`).
Default: center
-
offsettop
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> offsettop
Sets top offset to tooltip or overlay. Default: 0
-
offsetleft
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> offsetleft
Sets left offset to tooltip or overlay. Default: 0
-
escape
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> escape
Closes the popup when Escape key is pressed. Default: true
-
blur
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> blur
Closes the popup when clicked outside of it. Default: true
-
setzindex
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> setzindex
Sets default z-index to the popup (2001) and to the background (2000). Default: true
-
autozindex
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> autozindex
Sets highest z-index on the page to the popup. Default: false
-
keepfocus
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> keepfocus
Lock keyboard focus inside of popup. Recommended to be enabled. Default: true
-
focuselement
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> focuselement
Enables you to specify the element which will be focused upon showing the popup. By default,
the popup element #my_popup will receive the initial focus. Default: my_popup
-
focusdelay
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> focusdelay
Sets a delay in milliseconds before focusing an element. This is to prevent page scrolling
during opening transition, as browsers will try to move the viewport to an element which
received the focus. Default: 50
-
pagecontainer
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> pagecontainer
Sets a page container (to help screen reader users). Page container should be the element
that surrounds all the content on the page (e.g. '.container' in the case of this very page).
It's highly recommended that you set the page container to help some screen readers read the
modal dialog correctly. Doing so, when the popup is visible, aria-hidden="true" will be set
to the page container and aria-hidden="false" to the popup, and vice-versa when the popup
closes. You can set `pagecontainer` once per website (e.g. $.fn.popup.defaults.pagecontainer
= '.container'). Default: not set
-
outline
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> outline
Shows a default browser outline on popup element when focused.
Setting to false is equivalent to #my_popup{outline: none;}; Default: false
-
detach
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> detach
Removes popup element from the DOM after closing transition. Default: false
-
openelement
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> openelement
Enables you to define custom element which will open the popup on click. Default:
.{popup_id}_open
-
closeelement
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> closeelement
Enables you to define custom element which will close the popup on click. Default:
.{popup_id}_close
-
transition
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> transition
Sets CSS transition when showing and hiding a popup.
Use this if you don't need separate transition for background, or different transition for
opening and closing the popup, or if you need to transition only selected properties –
otherwise set custom transitions directly in CSS.
Simple fade effect $('#my_popup').popup({transition: 'all 0.3s'}) is equivalent to #my_popup,
#my_popup_wrapper, #my_popup_background {transition: all 0.3s;}
Setting fade effect for all popups on the site: $.fn.popup.defaults.transition = 'all 0.3s';
is equivalent to .popup_content, .popup_wrapper, .popup_background {transition: all 0.3s;}
Default: not set
-
tooltipanchor
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> tooltipanchor
Type: object JQuery or DOM object
Sets an element to be an anchor for tooltip position.
For example, for multiple opening links using the same tooltip on mouseover:
$('.my_popup_open').on({ mouseenter: function(event) { $('#my_popup').popup({ tooltipanchor:
event.target, autoopen: true, type: 'tooltip' }); }, mouseleave: function() {
$('#my_popup').popup('hide'); } }); Default: not set
-
beforeopen
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> beforeopen
Type: function Description: Callback function which will execute before the popup is opened.
Default: not set
-
onopen
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> onopen
Type: function Description: Callback function which will execute when the popup starts to
open. Default: not set
-
onclose
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> onclose
Type: function Description: Callback function which will execute when the popup starts to
close. Default: not set
-
opentransitionend
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> opentransitionend
Type: function Description: Callback function which will execute after the opening CSS
transition is over, only if transition actually occurs and if supported by the browser.
Default: not set
-
closetransitionend
de.alpharogroup.wicket.js.addon.core.StringTextValue<T> closetransitionend
Type: function Description: Callback function which will execute after the closing CSS
transition is over, only if transition actually occurs and if supported by the browser.
Default: not set