Skip to content

Equivalent for this.$listeners for native events? #9757

Open
@DM2489

Description

@DM2489

What problem does this feature solve?

Imagine a wrapper component where you need to pass events to a child component. This is possible for non native events using this.$listeners, but it strips out native events. It would be good if we had something like this.$nativeListeners so that we can pass native events down to child components as well.

In the meantime, Is there a workaround to pass events to child components?

What does the proposed API look like?

this.$nativeListeners

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions