- EmberJS Tutorial
- EmberJS - Home
- EmberJS - Overview
- EmberJS - Installation
- EmberJS - Core Concepts
- Creating and Running Application
- EmberJS - Object Model
- EmberJS - Router
- EmberJS - Templates
- EmberJS - Components
- EmberJS - Models
- EmberJS - Managing Dependencies
- EmberJS - Application Concerns
- EmberJS - Configuring Ember.js
- EmberJS - Ember Inspector
- EmberJS Useful Resources
- EmberJS - Quick Guide
- EmberJS - Useful Resources
- EmberJS - Discussion
EmberJS-Sending Actions from Components to Your Applicatio
Sending Actions from Components to Your Application
The component can send actions to template's controller and routes when it is being used by inside a template by using sendAction() method.
The following table lists down the action's components −
S.N. | Action's Component & Description |
---|---|
1 |
To set primary action in a component, use an action attribute directly in a component. |
2 | Sending Parameters with an Action It uses the sendAction() method with the additional parameters. |
3 |
The component generates multiple different actions to specify different events. |
4 |
It determines the actions are not defined in the component. |
Advertisements
To Continue Learning Please Login
Login with Google