Can somebody explain with an example about yield helper with hash which is used while using with components in emberjs ?
How to use {{Yield}} helper with hash helper in ember js?
3.5k Views Asked by Magaesh At
3
There are 3 best solutions below
2
On
Using {{yield}} is discussed in Ember Guides including a small example. You can find another, more detailed example in tutorial application that is part of Ember Guides.
Link to using hash helper with yield in ember components.
Yield is used to share data within your component with the content it is wrapping and It's used only in block form of components.
Hash helper is used to create object. The hash helper is a generic builder of objects, given hash arguments.