Skip to content

Feature request: attaching EventListener to window instead of document. #375

@fgoudreault

Description

@fgoudreault

Some html events only occurs at the window level. E.g.: message. It could prove useful to add EventListeners for these kind of events. At the moment, when the EventListener has no children, it attaches to document by default. A possible implementation could add a variable which would specify the kind of object to attach to by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions