quick-ng-repeat

WebJar for quick-ng-repeat

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

quick-ng-repeat
Последняя версия

Последняя версия

0.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

quick-ng-repeat
WebJar for quick-ng-repeat
Ссылка на сайт

Ссылка на сайт

http://webjars.org

Скачать quick-ng-repeat

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bower/quick-ng-repeat/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>quick-ng-repeat</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/quick-ng-repeat/
implementation 'org.webjars.bower:quick-ng-repeat:0.0.1'
// https://jarcasting.com/artifacts/org.webjars.bower/quick-ng-repeat/
implementation ("org.webjars.bower:quick-ng-repeat:0.0.1")
'org.webjars.bower:quick-ng-repeat:jar:0.0.1'
<dependency org="org.webjars.bower" name="quick-ng-repeat" rev="0.0.1">
  <artifact name="quick-ng-repeat" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='quick-ng-repeat', version='0.0.1')
)
libraryDependencies += "org.webjars.bower" % "quick-ng-repeat" % "0.0.1"
[org.webjars.bower/quick-ng-repeat "0.0.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

AngularJS directive for much more quicker lists rendering

Features

  • Shallow list watch (ngRepeat uses deep watch)
  • Animations support
  • Special service to cause list render outside of digest cycle
  • Smooth scrolling even on heavy compited lists (check example)
  • About 200% performance boost
  • Still hesitating? Try to scroll page with ng-repeat list and a page with quick-ng-repeat

Usage example:

Require quick-ng-repeat.js to your project and use this syntax in your templates:

<ul>
  <li quick-ng-repeat="item in list" quick-repeat-list="items">
    {{ item.name }}
  </li>
</ul>

Why we need the 'quick-repeat-list' attribute?

In quick-ng-repeat directive everything is done to make is really fast. So we store a special callback with name of this attribute. This is a full answer

Compared to usual ngRepeat

  • Compare example/index.html (uses quickNgRepeat) and example/index_classic.html (uses classic NgRepeat)

Example

Directive live example in ./example

Try out the demo (try to scroll): page with ng-repeat list and page with quick-ng-repeat

To run example

cd example && python -m SimpleHTTPServer

Версии библиотеки

Версия
0.0.1