The following Ember code returns "<" symbol.
{{{get buffer.buffer.[0]}}}
Can someone explain me how it returns "<" symbol and is there any documents or cheat codes to return different other symbols ?
Thanks in Advance!
The following Ember code returns "<" symbol.
{{{get buffer.buffer.[0]}}}
Can someone explain me how it returns "<" symbol and is there any documents or cheat codes to return different other symbols ?
Thanks in Advance!
Copyright © 2021 Jogjafile Inc.
I presume you are trying to access the first element of
buffer.bufferwhich is an array?Try
get buffer.buffer 0or for older versions of Emberget buffer.buffer "0".Also worth a try is
buffer.buffer.firstObject.There is a discussion on accessing elements of an array in templates here https://discuss.emberjs.com/t/using-array-indices-in-ember-template/13148?u=caltor