Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4830

How to pass component actions to controller

$
0
0

@Richard_Pantoja wrote:

Is there a way to pass component with actions to controller.? I have a component like the one bellow and I want to execute the actions on the controller rather than executing the action on the component.js file

{{action send component 
    (hash
        content(component "table-observation"
       model =row.content.observations
      expandedRowComponent=(
       componet "card-observations"
       onUPdateAttr=(perform update Attributes)
)
)
)
}}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles