Skip to content

Consider removing Boolean parameter from addEventListener #29

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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