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

Action not working? Why?

$
0
0

@jobsboris27 wrote:

Hello!

application/route.js
I display some component like that:
this.render(template, { into: 'someAoo', outlet: 'someoutlet', controller: 'someController' });

template.hbs my component
<a href="#" {{action "closeAction"}} class="someclass">Some link</a>

in controller 'someController' i have action like this
closeAction()
But, when i clicked link, i haver error
Uncaught Error: component had no action handler for: closeAction


why?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4831

Trending Articles