@aki77/atom-input-dialog

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @aki77/atom-input-dialog

Weekly Downloads

5

Version

1.0.0

License

MIT

Last publish

Collaborators

  • aki77