atom-community/tool-bar

ToolBarDropdownOptions

aminya opened this issue · 1 comments

A dropdown option switch that chooses between different options and then triggers a callback based on the selected option.

It should be built on top of ToolBarItem.

References: https://guide.freecodecamp.org/javascript/tutorials/how-to-create-a-dropdown-menu-with-css-and-javascript/

suda commented

There should probably be also a way to programmatically update the selected item, for example, if another part of the package modified the value.