I've recently upgrade to ember version 1.13.5
How can I target an action to an specific component, it was working on previous version and now it doesn't respond
<a href="#" class="nav-action" {{action 'open' target='view.appOverlay.categorySideMenu'}}><i class="fi-list"></i></a>
In other part of the template I have this
{{#overlay-fx viewName="appOverlay" open="openSideMenu"}}
{{#side-menu open="open" use="toRight" targetObject=view.appOverlay viewName="userSideMenu"}}
{{partial "partial/user-side-menu"}}
{{/side-menu}}
{{#side-menu open="open" use="toLeft" targetObject=view.appOverlay viewName="categorySideMenu"}}
{{partial "partial/category-side-menu"}}
{{/side-menu}}
{{/overlay-fx}}
Is it because of view deprecations, now you can't event access components with view.NAME ?
I just keep getting this error, which is common if action doesn't bubble
Uncaught Error: Nothing handled the action 'open'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.
Aucun commentaire:
Enregistrer un commentaire