Improved integration between data-linking updates and animations #70

Closed
kaste opened this Issue May 18, 2012 · 8 comments

Comments

Projects
None yet
3 participants

kaste commented May 18, 2012

I'm just too stupid for MVVP, but I have some nice 'views', they update automatically as soon as I get new data from the server, but nobody sees it.

So how do we do our 'slideUp' 'slideDown' 'blink' dance?

Owner

BorisMoore commented May 26, 2012

I haven't got to that yet! But it may be possible even with current APIs. Hope to get to it at some point, and you are right that it is important to ensure that it is not difficult to add animations to updates driven by data linking...

The goal would be to make it possible both via the MVP presenter, and without using presenters as such.

kaste commented Jul 3, 2012

Since jsviews is going the jQuery way, it would feel natural if we could:

$.observable(data).insert(0, 'data').filter('input').closest('div').blink()

laktak commented Aug 21, 2012

You say it's possible with the current API? Do you have a small sample?

thanks!

Owner

BorisMoore commented Aug 21, 2012

Sorry, I don't. (I said - or meant to say - that it may be possible, but I haven't experimented with it yet...)

kaste commented Sep 8, 2012

I had a working sample http://jsbin.com/apixel/12

Look at #96

laktak commented Sep 11, 2012

Too bad this no longer works with the current version (afterInsert is OK but beforeRemove is broken).

Owner

BorisMoore commented Apr 8, 2013

Keeping open as a feature/help topic request for good animation integration.

Owner

BorisMoore commented Sep 2, 2015

Closing "After V1.0" issues for now - to reopen as appropriate.

BorisMoore closed this Sep 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment