Skip to content

[Feature Request] JSX equivalents for passing $attrs and $listeners introduced in Vue 2.4 #86

@KagamiChan

Description

@KagamiChan

Vue 2.4 provides new API $attrs and $listeners to ease creating wrapper components, the example given, however, is in vue template syntax. Could we have equivalents for these APIs, especially in object spread form?

I've read through the readme and #1 and #51, but did not find an answer. In my experiment, {...{ this.$attrs } and { ...this.$attrs } do not seem to work. Please correct me if I've missed something.

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