A flexible dialog library with great defaults and tons of options for granular control of behavior and style.
An opinionated wrapper for building vex dialogs which have forms and a submit button, and easy API methods for alert
, confirm
, prompt
.
To open a dialog, simply call:
vex.open(options)
The default options are the following:
defaults =
content: ''
showCloseButton: true
overlayClosesOnClick: true
appendLocation: 'body'
className: ''
css: {}
overlayClassName: ''
overlayCSS: {}
contentClassName: ''
contentCSS: {}
closeClassName: ''
closeCSS: {}
TODO ….