Skip to content

Events emitted by Crate #22

@marekmis

Description

@marekmis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions