zebra_dialog
Advanced tools
Changelog
version 3.1.0 (October 22, 2024)
draggable
property; see #38 and thanks LukeSavefrogs for suggesting this A LONG TIME AGO!onOpen
event which triggers after the dialog box is made visible; see #39; thanks LukeSavefrogs for suggesting this A LONG TIME AGO!onBeforeClose
event which triggers before the dialog is hidden; useful for validating input prompts and not closing the dialog box in case the input is not validplaceholder
property to be used with prompt
type dialog boxesprompt_rows
which when set to a value greater than 1
will turn the input
element in a prompt
dialog box to a textarea
disable_page_scrolling
was set to true
by defaultChangelog
version 3.0.6 (April 22, 2024)
Changelog
version 3.0.5 (August 18, 2020)
Changelog
version 3.0.4 (August 17, 2020)
disable_page_scrolling
property introduced in 3.0.0
had an undesired effect on pages where there was no scrollChangelog
version 3.0.3 (July 19, 2020)
dist
folderChangelog
version 3.0.2 (April 26, 2020)
Changelog
version 3.0.0 (September 03, 2019)
margin
property to prevent the dialog box from touching the viewport's limits when stretched 100% horizontally and/or verticallymax_width
property which, together with the existing max_height
property, can now be specified as percentagedefault_value
property to be used for prompt
type dialog boxeswidth
and height
properties can now be specified as percentages, toocustom_class
is now also added to the overlay, not just to the dialog boxcenter
can also be used when specifying vertical position (alongside middle
)backdrop_container
propertyChangelog
version 2.1.0 (June 03, 2019)
height
property for setting custom heights to dialog boxesupdate
method for adjusting the dialog box's position when content is changed dynamically, at run-timebody
element, via the newly added overlay_container
property