Skip to content

[Feature] Support multiples of each event handler #68

@anderoonies

Description

@anderoonies

Is your feature request related to a problem? Please describe.
When trying to add event handlers for specific elements, mouseDownMethod won't work since it overwrites the global mouseDownMethod. This means any reusable component can risk accidentally breaking other code.

Describe the solution you'd like
mouseDownMethod etc. can just add to an array of handlers that is iterated through

Describe alternatives you've considered
Creating a new graphics context would be messy, but might work.
Directly interacting with the canvas would also be a mess.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions