Sign up for free to use this document yourself.
  • vex

    Dialogs for the 21st century.

  • Vex

    A flexible dialog library with great defaults and tons of options for granular control of behavior and style.

  • Vex Dialog

    An opinionated wrapper for building vex dialogs which have forms and a submit button, and easy API methods for alert, confirm, prompt.

  • Vex API

    The Basics

    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: {}
  • Vex Dialog API

    TODO ….

{"cards":[{"_id":"5237c8cfd66db26878001616","treeId":"5237c8cfd66db26878001615","seq":1,"position":1,"parentId":null,"content":"# vex\n\n## Dialogs for the 21st century."},{"_id":"5237c8cfd66db2687800161b","treeId":"5237c8cfd66db26878001615","seq":1,"position":3,"parentId":"5237c8cfd66db26878001616","content":"## Vex\n\nA flexible dialog library with great defaults and tons of options for granular control of behavior and style."},{"_id":"5237c8cfd66db26878001628","treeId":"5237c8cfd66db26878001615","seq":1,"position":1,"parentId":"5237c8cfd66db2687800161b","content":"### Vex API\n\n### The Basics\n\nTo open a dialog, simply call:\n\n vex.open(options)\n\nThe default options are the following:\n\n defaults =\n content: ''\n showCloseButton: true\n overlayClosesOnClick: true\n appendLocation: 'body'\n className: ''\n css: {}\n overlayClassName: ''\n overlayCSS: {}\n contentClassName: ''\n contentCSS: {}\n closeClassName: ''\n closeCSS: {}"},{"_id":"362de895555c51346a000008","treeId":"5237c8cfd66db26878001615","seq":1,"position":4,"parentId":"5237c8cfd66db26878001616","content":"## Vex Dialog\n\nAn opinionated wrapper for building vex dialogs which have forms and a submit button, and easy API methods for `alert`, `confirm`, `prompt`."},{"_id":"362df51c555c51346a00000b","treeId":"5237c8cfd66db26878001615","seq":1,"position":1,"parentId":"362de895555c51346a000008","content":"### Vex Dialog API\n\nTODO ...."}],"tree":{"_id":"5237c8cfd66db26878001615","name":"vex","publicUrl":"vex"}}