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

Method to open/close palette. #25

Open
rouilj opened this issue Feb 3, 2023 · 0 comments
Open

Method to open/close palette. #25

rouilj opened this issue Feb 3, 2023 · 0 comments

Comments

@rouilj
Copy link
Contributor

rouilj commented Feb 3, 2023

If I create an instance of command-pal, can I activate it from a button I create?

It looks like the hotkey or clicking on the button set internal state, but that state isn't accessible to to me.

I guess I need to have App invoke callback into main.js similar to how shortcuts.js implements hotkeys right?

@rouilj rouilj changed the title Palette activation from javascript not part of the component Method to open/close palette. Feb 4, 2023
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

1 participant