Skip to content

Dispatch custom event on native and tiny events #20

@madeInLagny

Description

@madeInLagny

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions