Skip to content
This repository was archived by the owner on Sep 6, 2020. It is now read-only.
This repository was archived by the owner on Sep 6, 2020. It is now read-only.

Listeners are not vue instance specific #19

@aarondfrancis

Description

@aarondfrancis

In the situation where there are multiple, identical components on the page each registering event listeners, the listeners are not instance specific.

For example, if there is a list of comment components and each component has a model listener for comment.update.success then whenever any model fires that event, every component hears it. This may be desired behavior in some cases, but not in others.

I think the default should be instance-specific, and global listeners should be added differently.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions