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

Add "onchange" callback for debug level. #34

Open
zeel01 opened this issue Feb 3, 2022 · 0 comments
Open

Add "onchange" callback for debug level. #34

zeel01 opened this issue Feb 3, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@zeel01
Copy link

zeel01 commented Feb 3, 2022

Is your feature request related to a problem? Please describe.
When the debug level changes, there isn't a way to "respond" to that change. For instance, if I want a custom application to have a "log to console" button on itself, I can't refresh the application when the log level changes.

Describe the solution you'd like
Add an onchange callback that can be registered.

Additional context
I added buttons in Monarch to log a card to the console from the hand/deck since Dev Mode can only do this for the containers not the cards themselves. But if I change the setting, I have to manually re-render the sheets to add/remove the buttons.

@zeel01 zeel01 added the enhancement New feature or request label Feb 3, 2022
@akrigline akrigline added the good first issue Good for newcomers label Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants