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

How can I call an event from my controller to my component

$
0
0

@dubbya wrote:

Hi All,

Running into an issue that I've been stuck on for days and I can't seem to figure this out. It seems like it would be simple enough but apparently it isn't. I have an action in my controller:

...controllers/car-detail.js ... actions: { callComponent(){ //want to call the fromController() function inside of my component } }

.../components/car-detail.js My Component fromController(){ //something needs to happen in here }

References: http://stackoverflow.com/questions/27802508/ember-js-component-observer-does-not-work http://stackoverflow.com/questions/19618604/how-to-call-method-of-a-component-from-a-controller http://stackoverflow.com/questions/22861316/calling-a-controllers-method-in-another-controller-ember

Can someone lend a hand with this one?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles