/
githubmirror
/
angular.js
Обзор
Документация
Войти
/
githubmirror
/
angular.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
benchmarks/animation-bp/main.html
28 строк
731 B
Georgios Kalpakas
chore(benchmarks): add basic animation benchmark
25 янв 2017, 00:54
25 янв 2017, 00:54
565ca6a
Код
Авторство
О чём код?
<style> [ng-cloak] { display: none !important; } .animation-container .ng-enter, .animation-container .ng-leave { transition: all 0.1s; } .animation-container .ng-enter, .animation-container .ng-leave.ng-leave-active { opacity: 0; } .animation-container .ng-enter.ng-enter-active, .animation-container .ng-leave { opacity: 1; } </style> <div ng-app="animationBenchmark" ng-cloak ng-controller="BenchmarkController as bm"> <div class="container-fluid"> <h2>Large collection of elements animated in and out with ngAnimate</h2> <div class="animation-container"> <div ng-repeat="i in bm.items track by $index"> Just a plain ol' element </div> </div> </div> </div>