crate icon indicating copy to clipboard operation
crate copied to clipboard

Events emitted by Crate

Open marekmis opened this issue 2 years ago • 0 comments

It would be really good to have some events emitted by the Crate object which could be used by the app/website where it's installed. Example:

create.on('ready', (data) => {
   console.log('App is ready', data)
})

Personally I'd like to be able to see an event when the app is ready and is displaying first batch of messages. This way my app could display custom preloading animation and only show the widget when it's ready to use.

Discord API comes with a whole set of events so maybe that's a good starting point to move them over to crate.

marekmis avatar Jan 17 '23 13:01 marekmis