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

Improve support for segmented controls #46

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

thirstyice
Copy link

Now you can change the mode, and trigger commands when a segment is
selected using "command": definitions in each segment

Example: {"type":"segment","mode":"buttons","elements":[{"label":"Git","command":"github:toggle-git-tab"},{"label":"Hub","command":"github:toggle-github-tab"}]}

Now you can change the mode, and trigger commands when a segment is 
selected using "command": definitions in each segment
@thirstyice thirstyice mentioned this pull request Mar 26, 2020
@felixerdy felixerdy merged commit bcc4f07 into felixerdy:master Mar 27, 2020
@felixerdy
Copy link
Owner

Looks good and works for me. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants