hash (options) Object
public
Use the {{hash}}
helper to create a hash to pass as an option to your components. This is specially useful for contextual components where you can just yield a hash: handlebars
{{yield (hash
name='Sarah'
title=office
)}}
Would result in an object such as: js
{ name: 'Sarah', title: this.get('office') }
Where the title
is bound to updates of the office
property.
Parameters:
-
options
Object
Returns:
-
Object
- Hash
Please login to continue.