Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4835

How to view the value of a component to another component

$
0
0

@mikeelemuel wrote:

I have a componentfirst.js and templatefirst.hbs. I was able to view the information called {{cashBalance}} in my templatefirst.hbs. However, when I tried to view the {{cashBalance}} in my templatesecond.hbs it views “0” it suppose to have a different value. Btw, my componentsecond.js does not have the same code with componentfirst.js. But, when i try to {{componentfirst cashBalance=cashBalance}} it doesn’t work either.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4835

Trending Articles