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

Adding custom setting #2590

Open
mayeaux opened this issue Dec 19, 2022 · 1 comment
Open

Adding custom setting #2590

mayeaux opened this issue Dec 19, 2022 · 1 comment

Comments

@mayeaux
Copy link

mayeaux commented Dec 19, 2022

I'd like to add a custom option to the settings that will set a variable value

For the sake of the argument, let's say it's theme, with the options: light, dark and blue

It will open up the regular settings options with Theme listed and 'Light' as the default value

When the options are opened it shows
Light
Dark
Blue

with the back button.

Then when one of the buttons are clicked, there is an event where I set the variable value, let's say themeValue='dark'

I thought this would be simple to do but can't find any documentation or working examples. Is this possible/documented anywhere? Thanks

@MmdRexa
Copy link

MmdRexa commented Jul 17, 2023

did you find any solution for that?

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

No branches or pull requests

2 participants