Ember action through multuple component

1)main component 2) sub compo (inside main button action) 3 seperate modal popup component How can i trigger sub comp button action from main and show popup

Take a look at the example here: ember-modal-dialog/README.md at master · yapplabs/ember-modal-dialog · GitHub

Just replace translate the controller part to a component.

If you’re having trouble still, posting a code example of what you currently have would be a helpful way to get more precise answers.

1 Like

It depends on your exact usage. But the main component could transition into a child Route.

1 Like