ember.js - Ember sendAction from mixin to component without observer. also the mixin import within the component -


imagine that,

a div-component had button tag , child-component named input-component ( input tag ), input-component contains action validation. mixin import inside child component. when trigger action mixin, calls child-component ( input-comp ) action getting input value.

never try call action on child component. not possible! if try doing wrong!

you should update data outside , give down data. data down actions up.


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -