DS.Ember.HTMLBars.helpers
DS.Ember.HTMLBars.helpers Class
Module: ember-data
pluralize (count, word)
If you have Ember Inflector (such as if Ember Data is present), pluralize a word. For example, turn "ox" into "oxen". Example: {{pluralize count myProperty}} {{pluralize 1 "oxen"}} {{pluralize myProperty}} {{pluralize "ox"}}
Parameters:
-
count
[Number|Property]
- count of objects
- word登录查看完整内容