- 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 - Using Block Params
The passed properties in a component can give back the result in a block expression.
The following table lists down the different ways of using block params −
S.No. | BlockParam Ways & Description |
---|---|
1 | Return values from a component with yield
The values can be returned from a component by using the yield option. |
2 | Supporting both block and non-block component usage
You can support the usage of block and non block components from single component by using the hasBlock property. |
emberjs_component.htm
Advertisements