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

Hooks between ember engine and host app

$
0
0

@bartocc wrote:

Hi,

I’d like to run some code in my host app after running a controller action in an engine.

The only way I can think of doing this is to create a dedicated service in the host app, provide it to the engine and call a method on this service when necessary in the engine’s controller action. Every app using this engine would have to define this service, which troubles me a bit…

Is there a better way of achieving such a use case ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4835

Trending Articles