Keyboard Event Listener (on Collection page init)

default discord avatar
jayno
last month
2

Hello. I would like to give my CMS custom keyboard shortcuts. I assume this would be in a plugin.



I was wondering where, in the documentation, I could learn about running typescript on page init (such as a "listener" that waits for specific keyboard input).



Thank you!



Keyboard Event Listener (on Collection page init)



I found out that this is in the UI Field Custom Components:

https://payloadcms.com/docs/admin/components#field-component
    Open the post
    Continue the discussion in Discord
    Like what we're doing?
    Star us on GitHub!

    Star

    Connect with the Payload Community on Discord

    Discord

    online

    Can't find what you're looking for?

    Get help straight from the Payload team with an Enterprise License.