ember.jsember-components

How to use {{Yield}} helper with hash helper in ember js?


Can somebody explain with an example about yield helper with hash which is used while using with components in emberjs ?


Solution

  • 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.