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

Observe a property and do something with it before it changes?

$
0
0

@JordanRDesigns wrote:

I had this thought with my app I'm building where I would like a bid amount to animate up when the bid is increased. Currently the way this works is either if the user increases it or if a websocket type push from pubnub comes in and fires an action in my route to update the item with the new bid amount.

What I would really like to do is animate that value up using some simple javascript so it doesn't just pop into place (possible add a little css animation to the text itself, like a pulse) to show the user that something is being changed and they need to know about it.

I know I should be able to use a psudo bid amount that I manually update, but I also saw observables and wondered if there was something there that could be used to keep it as clean and ember friendly as possible?

Thoughts?

Posts: 5

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 4869

Trending Articles