Home

Awesome

Ember Get Helper Build Status

ember-get-helper for Glimmer & the HTMLBars Templating Language. Usage:

{{get object key}}

NOTICE

Examples

var person = Ember.Object.create({
  isOwner: false,
  isAdmin: true
});

var permissions = Ember.Object.create({
  addObject: 'isOwner',
  viewObject: 'isAdmin'
});
Can Add Object: {{get person permissions.addObject}}
Can View Object: {{get person permissions.viewObject}}

As a Subexpression:

{{#if (get person permissions.addObject)}}
  <button>Add Object</button>
{{/if}}

Install

Other Helpers

Development

Running Tests

Building

For more information on using ember-cli, visit http://www.ember-cli.com/.