@aki77/atom-input-dialog

Atom input dialog

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
41Jan 2, 2018Jun 21, 2015Minified + gzip package size for @aki77/atom-input-dialog in KB

Readme

atom-input-dialog Build Status

InputDialog

Example

InputDialog = require '@aki77/atom-input-dialog'

dialog = new InputDialog({
  callback: (text) ->
    console.log text
})
dialog.attach()

Constructor Params

Pass an optional params object to the constructor with the following keys:

  • callback
  • elementClass
  • defaultText
  • selectedRange
  • labelText
  • labelClass
  • validator
  • textPattern

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.