To give you an example:
<span data-win-bind="textContent:text"></span>
observable.text = "Foo"
should then set the spans text to "Foo"
later I change the text
observable.text = "Bar"
Now I would like the old and new text to crossfade.
I assume that is not built in, but could be done via a custom initializer, that places a clone of the span right on top of it and then uses
WinJS.UI.Animation.crossFade(oldSpan,newSpan).then(function() {
oldSpan.parentElement.removeChild(oldSpan);
});
Possible?