Helpers in Ember FW
There are several Helpers that are defined by Ember FW as well. If you don't remember what a helper is, a helper is a way to call a Javascript function in Handlebars, and you can refresh your memory of the Ember Guides on Helpers. Ember FW defines helpers for you that have limited use case, but they are good to know about in case you need them. This is what it defines:
- array is used to pass an array using Handlebars.
- capitalize-first is used to capitalize the first letter of the word that is passed in.
- deproxy is used to grab the contents of an Ember proxy object.
- moment-format is used to format a Moment Date Object into a readable string in Handlebars. This is by far the most used Helper defined by Ember FW.
- replace-str is used to use Javascripts native
replace
function within Handlebars.