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

Edit layout inner component has error. #121

Closed
mckincy opened this issue Jul 3, 2018 · 3 comments
Closed

Edit layout inner component has error. #121

mckincy opened this issue Jul 3, 2018 · 3 comments

Comments

@mckincy
Copy link

mckincy commented Jul 3, 2018

If use layout component, when edit component inner the layout. Parent object don't has editComponent method.

@mckincy
Copy link
Author

mckincy commented Jul 3, 2018

parent.addEventListener(editButton, 'click', function () { console.log(_this, parent) return _this.editComponent(comp); });

In the function, I use _this instead parent.

@randallknutson
Copy link
Contributor

I'm not sure where this code is coming from. Could you explain what is going on here?

@TanyaGashtold
Copy link
Contributor

I am closing the issue as it was created too long ago and there are no new comments here. I hope it was resolved. If not, please reopen it. Thanks!

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

3 participants