Questions tagged [ember-observable]
7 questions
4
votes
1 answer
Ember.js 1.13: The right way to observe a passed-in attribute of component?
I'm trying to upgrade my project to Ember 1.13, and I'm a bit confused about the behavior of new attrs of component, especially when I have to observe them.
For example, my test component observes bar which is a parameter passed from outside. I know…

starshine wang
- 616
- 1
- 8
- 13
2
votes
1 answer
Trigger a jQuery DOM manipulation event through an EmberJS action
I have a very trivial Ember APP in the making. For the sake of my own sanity, I prefer to do the necessary animations and simple dom events like mouseover/clicks through jQuery within EmberViews.
Let's say I have this:
App.SomeView =…

Parijat Kalia
- 4,929
- 10
- 50
- 77
1
vote
1 answer
Ember navbar UI condition based on currentPath
I must not be doing something right. I have the following:
application.hbs
{{#view App.NavbarView}}{{/view}}
{{outlet}}
with the following template for Navbar
_navbar.hbs
0
votes
1 answer
Ember.set and Ember.setProperties gives different results
I ran into a problem in my Ember application where setting multiple properties using Ember.set and Ember.setProperties produced a buggy result in the latter. Constructed an exact scenario here.
HBS:
Name: {{name}}
Place:…
Place:…

Vignesh Raja
- 7,927
- 1
- 33
- 42
0
votes
1 answer
Change CSS when model changes or DOM value changes in ember
I have a table and it gets the data from DS model which dynamically updates from the database. I need alert of color (css) change of the block( particular “td”) in UI when the data updates in the table.
Here is my code: