InputDialog = require '@aki77/atom-input-dialog'
dialog = new InputDialog({
callback: (text) ->
console.log text
})
dialog.attach()
Pass an optional params object to the constructor with the following keys:
callback
elementClass
iconClass
defaultText
selectedRange
prompt
detached
validate
match