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

Dispatch custom event on native and tiny events #20

Open
madeInLagny opened this issue Jul 30, 2021 · 1 comment
Open

Dispatch custom event on native and tiny events #20

madeInLagny opened this issue Jul 30, 2021 · 1 comment
Labels

Comments

@madeInLagny
Copy link

Catching events in the current setup is tricky using some javascript frameworks (ie Lit-html). Adding stardard

this.dispatchEvent(
          new CustomEvent("eventName", {
            bubbles: true,
            composed: true,
          }))

would make the implementation easier to integrate.
Note that a editor-ready event is also useful to catch considering time lag between element initiation and editor ready state.

@exalate-issue-sync
Copy link

Ref: INT-2626

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant