Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToolBarDropdownOptions #298

Open
aminya opened this issue Apr 15, 2020 · 1 comment
Open

ToolBarDropdownOptions #298

aminya opened this issue Apr 15, 2020 · 1 comment

Comments

@aminya
Copy link
Member

aminya commented Apr 15, 2020

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/

@aminya aminya changed the title ToolBarDropdownSelector ToolBarDropdownOptions Apr 16, 2020
@suda
Copy link
Collaborator

suda commented Apr 17, 2020

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

@aminya aminya added this to TODO in Extend API Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants