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

ElementMorph does not have clear/destroy methods. #11032

Closed
rwjblue opened this issue May 5, 2015 · 3 comments · Fixed by #11033
Closed

ElementMorph does not have clear/destroy methods. #11032

rwjblue opened this issue May 5, 2015 · 3 comments · Fixed by #11033
Assignees
Labels
Milestone

Comments

@rwjblue
Copy link
Member

rwjblue commented May 5, 2015

This is essentially the same as #11030, but with ElementMorph.

Sample template:

    {{input type="checkbox" checked=checked}}

    {{#if checked}}
      <span {{action 'trueClicked'}}>Click Me</span>
    {{else}}
      <span {{action 'falseClicked'}}>Click Me</span>
    {{/if}}

Demo: http://emberjs.jsbin.com/rwjblue/434/edit?html,js,output

@rwjblue
Copy link
Member Author

rwjblue commented May 5, 2015

Addressed upstream via tildeio/htmlbars#337.

@dschmidt
Copy link
Contributor

dschmidt commented May 6, 2015

Do these fix #10501 (comment)?

@rwjblue
Copy link
Member Author

rwjblue commented May 6, 2015

@dschmidt - One form of it yes, and #11030 fixed another form. I think this should have resolved all of them, but definitely looking out for more issues reported....

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

Successfully merging a pull request may close this issue.

2 participants