Linux, WebDev and other…


Collection pagination view for Backbone with jQuery Mobile

Here is a view that listens to backbone collection “reset” event and renders/refreshes pagination. Template is based on jquery mobile, but can be easily changed. General information about mixing backbone with jquery mobile is here. I just use it like bootstrap, but in the end of render function I manually call $el.trigger(‘create’) to initialize markup […]

, , ,