- support DOM removal by
removeNode
option indestroyer
API.
- tweak style about gapping with
scroll
+autogap
settings.
- add
autogap
class for automatically prepare padding / gapping between window boundary
- tweak fullscreen classes responsive settings
- support conditional fullscreen class
- support destroy function
- remove escape listener once dialog is dismissed
- clear inline cover click event listener variable once dismiss
- fix bug: small gap in the left hand side due to :after pseudo class margin
- fix bug: nested
data-ldcv-*
in child ldcover should not be propagated to parent ldcover. - upgrade modules to fix dependencies vulnerability
- add
toggled.on
andtoggled.off
event for post toggle event
- fix bug: when toggling off, z-index is updated too early, lead to unsmooth fading animaion sometimes.
- add
data
parameter intoggle
andget
api for passing data between caller / callee. - add
data
event to pass data to callee
- upgrade modules to fix dependencies vulnerability
- add
inPlace
mode to decide if DOM should be re-added under body.
- remove unnecessary
fs-extra
dependency
- release with compact directory structure
- add
style
field inpackage.json
- use minimized dist file as main / browser default file
- upgrade modules
- support initializing DOM based on
template
tag for shadow DOM. - only insert DOM when cover is active. behavior controlled by
resident
option. - mangle + compress minimized js to optimize its size in advance.
- lazy initializing until toggling if
root
is a template. - update document for undocumented features
- member
root
is now a function for accessing_r
(formalroot
) - support
inline
mode- modal displayed inline yet not affect layout
- dismiss on clicking outside dialog
- support
zmgr
directly in ldcover constructor - use zmgr fallback instead of zstack implementation to simplify code logic
- remove legacy
ldCover
definition - update window object only if module is not available
- rename
ldcv.*
toindex.*
- rename static method
set-zmgr
tozmgr
- support multiple event syntax
- add
cancel
api for cancelingget
call by promise rejection. - add
data-ldcv-cancel
directive corresponding tocancel
api.
- upgrade modules
- add
ldcover
and deprecateldCover
- bug fix: move transition to
.running, .active
classes so there won't be a initial flash of dialog content.
- add
setZmgr
for managing z-index globally. - update demo for testing
setZmgr
.
- upgrade
template
andlivescript
- add
bootstrap.ldui
for development. - add
ldview
andldquery
for development. - tweak build script
- refactor web/
- add
mini
style ldcover.
- fix bug: escape should not close all modals, but only the topmost modal.
- as a side effect we add an ldcv list (
popup
) in ldCover object to track popup order.
- as a side effect we add an ldcv list (
- add lock function
- fix bug: incorrect z-index calculation for nested cover
- change scrolling behavior - default no scrolling
- add demo site code