0.6.29 • Published 7 months ago

k-infinitescroll v0.6.29

Weekly downloads
23
License
MIT
Repository
github
Last release
7 months ago

k-infinitescroll

npm i k-infinitescroll --save

##Usage

app.component require 'k-infinitescroll'
app.get '/posts', (page, model, params, next) ->
  postsQuery = model.query 'posts', { $limit: 10 }
  model.subscribe postsQuery, (err) ->
    return next err if err
    postsQuery.ref '_page.posts'
<view name="k-infinitescroll" element="list-of-posts" datapath="_page.items" subscribedidlist="_page.k-fetch-ids" step="10"></view>

<ul id="list-of-posts">
  {{each _page.posts as #post}}
    <li>{{#post.text}}</li>
  {{/}}
</ul>
0.6.29

7 months ago

0.6.28

9 months ago

0.6.25

10 months ago

0.6.24

10 months ago

0.6.27

10 months ago

0.6.26

10 months ago

0.6.23

1 year ago

0.6.22

3 years ago

0.6.21

3 years ago

0.6.20

3 years ago

0.6.17

3 years ago

0.6.19

3 years ago

0.6.16

3 years ago

0.6.15

3 years ago

0.6.14

3 years ago

0.6.13

4 years ago

0.6.12

4 years ago

0.6.11

5 years ago

0.6.10

6 years ago

0.6.9

6 years ago

0.6.8

6 years ago

0.6.7

7 years ago

0.6.6

7 years ago

0.6.5

7 years ago

0.6.4

7 years ago

0.6.3

7 years ago

0.6.2

7 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.0

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

9 years ago

0.1.0

9 years ago