Skip to content

Consider removing Boolean parameter from addEventListenerΒ #29

@kaol

Description

@kaol

The capture parameter can be passed with addEventListenerWithOptions call, making the Boolean parameter in addEventListener superfluous.

I know this mirrors what the JavaScript API does but the useCapture parameter is just for legacy support and I'd hope that a PureScript library wouldn't need to worry about backwards compatibility with that.

Dropping it now would be a breaking API change, of course.

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