Skip to content
This repository was archived by the owner on Nov 20, 2019. It is now read-only.
This repository was archived by the owner on Nov 20, 2019. It is now read-only.

Make use of Vue 2.4.0+ $attrs and $listeners where possible #1

Description

@robertkern

e.g., in render fn

{
  class: {
    'class-name': true
  },
  on: this.$listeners,
  attrs: this.$attrs
}

This will allow the components listeners and attributes to be passed through (e.g., a in custom component, with on: this.$listeners the click handling will happen automatically)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions