Use a template to repeat HTML for each element of an array
Use a Handlebars template to make a jQuery Mobile listview


In this screencast well see how to make a handlebars template that can be run on an array of objects. The template will repeat for each element of the array. Learn how to:

  1. use the handlebars directives {{#.}} and {{/.}}
  2. use the current array index in the template with @index
  3. attach to the jQuery Mobile beforecreate event to fill a screen at app launch time