Skip to content

Version for node? #5

@mitra42

Description

@mitra42

I'm trying to add CustomEvent so that a library I've built will work in both browser and Node. Your code looks like its what is needed EXCEPT it calls document.createEventObject, and in node there is document.createEvent, but not document.createEventObject.

Do you know of a version of custom-event that works in Node? Or is there a way to add that functionality.

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