This is a sample application that utilizes RxJS to respond to user events and update a paginated list of results.
RxJS is primarily employed to react to user events (by entering search terms or clicking a new page). Each user event produces a new page model, which is then rendered.
Additionally, I've implemented match-highlighting to help visualize how the search filter is operating.
Feel free to make a pull request if you see any improvements!
- Clone the repository
cd
to project root- Run
npm install
- Run
gulp bundle
- Navigate browser to pagination.html
- task runner:
gulp
- templating:
handlebars
- bundling:
browserify
- handlebars transform:
hbsfy
- DOM helper:
jQuery