Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communication with the outside world #20

Open
forbesmyester opened this issue Aug 1, 2013 · 1 comment
Open

Communication with the outside world #20

forbesmyester opened this issue Aug 1, 2013 · 1 comment

Comments

@forbesmyester
Copy link

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?

@Yuffster
Copy link
Owner

Yuffster commented Aug 6, 2013

That's actually a pretty good idea. I'll look into it when I get a chance. Shouldn't be too difficult to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants