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

"Global" action with a search field used in various places?

$
0
0

@midget2000x wrote:

One thing I can't seem to get my head around is how to use an action associated with a search field that can appear in different places in the app. Right now I'm literally using a form field and a submit button, but that's re-loading the app on submit.

What is the best practice for this? Is there a "global" action I can use for the app so that a search action can be run from a component or template anywhere in the app? If so, do I have to pass down the reference to the action to every single nested component that will need it?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles