I'm observing a few variables which I'm constantly showing on the webpage
Controller:
self.mapView.watch('center,scale,zoom', function() {
$scope.$applyAsync('vm.mapView');
});
HTML:
<div id="info">
<strong>LAT</strong> {{ vm.mapView.center.latitude | number:3 }}
<strong>LNG</strong> {{ vm.mapView.center.longitude | number:3 }}
</div>
Now, I would really like the whole info div to fade out for example 5 seconds after one of the variables has changed (and become visible again for 5 seconds when the values change the next time).
Is something like that even possible with CSS somehow?