ng_infinite_scroll 0.1.2 copy "ng_infinite_scroll: ^0.1.2" to clipboard
ng_infinite_scroll: ^0.1.2 copied to clipboard

outdatedDart 1 only

Infinite Scrolling for AngularDart

Infinite Scrolling for AngularDart #

AngularDart-port of Brandon Tilley's ngInfiniteScroll.

Usage #

First, import the package and register the module:

import 'package:ng_infinite_scroll/ng_infinite_scroll.dart';

class MyModule extends Module {
    MyModule() {
        install(new InfiniteScrollModule());
    }
}

Next, use the directive in your template:

<div infinite-scroll="ctrl.loadMore()" infinite-scroll-disabled="ctrl.loading" infinite-scroll-distance="3"></div>

This directive supports the same options as the original version, so check the documentation of ngInfiniteScroll for details.

0
likes
0
points
49
downloads

Publisher

unverified uploader

Weekly Downloads

Infinite Scrolling for AngularDart

Homepage

License

unknown (license)

Dependencies

angular

More

Packages that depend on ng_infinite_scroll