Etch: Create and populate a select list


#1

Sometime before the release of Atom 11.7, I have used atom-space-pen-view in a package to do the following:

  • created SelectListView inside a modal
  • populate the list with items
  • perform an action with the selected item

I have not found much of a documentation for how to do that in Etch and even package-generator hasn’t been updated yet to use Etch. Does Etch provide an API for any of that or do I have to code this myself.

If anybody achieved this (or similar), please share the code or a link to a repository of your package.


#2

I’ve done a few lists using the atom-select-list, there is a description in the readme. A few examples: