Skip to content

Extends a components? #2133

@socieboy

Description

@socieboy

Hi, there is a way to extends a component?

I have to include this event to each one of my components?


    events: {
        'userRetrieved': function (user) {
            this.user = user;
            return true;
        }
    },

In the main component a retrive the user and broadcast to all nodes, but I find a little bit dirty to declare the same method on each component, there is a way to extend the component from other that include this event? I'm using browserify

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