EloquentStudio / filter.js

Complete solution for client side filtering and rendering using JSON data
http://eloquentstudio.github.io/filter.js
MIT License
665 stars 183 forks source link

No rendering no json #150

Open Surt opened 7 years ago

Surt commented 7 years ago

I was wondering if is possible to use filter.js on an already rendered html, with no json, only DOM elements.

jiren commented 7 years ago

Sorry, this is not available because filtering is working on JSON and on filter it re-render elements. You can try out http://listjs.com this will may help you.

Surt commented 7 years ago

Thank you @jiren Eventually I will need to update the our entire web application paradigm. Is there any templating documentation for filter.js? Probably I will need if clauses etc if I want to implement it on the future.

jiren commented 7 years ago

I have implemented same template engine as underscore.js templating. For templating documentation you can check on http://underscorejs.org/#template. You can add any kind of JS code inside this template.