Skip to main content

The handler function doesn’t receive an event object, as far as I understand. I’d love to keep my settings in a panel but show them only on a click+shift, and just execute an action on a simple clicl on an icon.

At the moment it seems impossible.

Hey ​@kpstn,

While it’s a great suggestion, I’m afraid there’s not a key press event that’s support by our developer platform. That said, it’s a great suggestion and happy to share this feedback internally.

In certain cases, you may find the Web SDK’s event listener for `selection:update` to be a workaround, but I’m not sure how relevant it would be to this use case unfortunately.


Well, not sure how `selection:update` could help, but I’ll check it out. Just passing the original event object to handlers would solve this problem easier, I guess. 


@kpstn - If you weren’t planning on submitting your app to the Marketplace, you could explore using custom actions when you do not need the app panel: https://developers.miro.com/docs/add-custom-actions-to-your-app

However, I believe this would require that you have two separate apps - one for the creation bar and another for the custom actions.


Reply