Skip to content

Communication with the outside world #20

@forbesmyester

Description

@forbesmyester

I am not sure how to correctly get an Eve component to communicate with the outside world. I was thinking firing an event would be the correct way to do this but I could not find a suitable way to get the actual dom node the component is attached to.

I could just use a child dom node one via: this.find('some child_selector').trigger('custom_event',value) but this does of course assume there is a child element, which is not necessarily the case.

this.find() with no parameters I expected to return the component itself, but it does other things...

Would it be possible to have .scope() return the scope's dom node or something similar?

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