npm.io
0.0.0 • Published 9 years ago

atom-quick-select

Licence
MIT
Version
0.0.0
Deps
2
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

atom-quick-select

Work in progress

Example: Simple

'use babel';

import quickSelect from 'atom-quick-select';

const selection = await quickSelect(['One', 'Tow', 'Three'])
if (selection) {
  console.log('selection', selection)
}

Example: Detailed

'use babel';

import quickSelect from 'atom-quick-select';

const selection = await quickSelect([
  { label: 'One' description: 'Number 1' },
  { label: 'Tow' description: 'Number 2' },
  { label: 'Three' description: 'Number 3' }
])
if (selection) {
  console.log('selection', selection)
}

License

The MIT License