I have a data item
items: [],
which i am using in a computed property that returns the lengh of that array as part of a string.
itemSummary : function() {
return this.items.length === 0 ? "No Items" : "`${this.items.length}` items selected"
}
Is it possible to do this with string interpolation....?