I always end up implementing some convoluted JavaScript inside a Handlebars helper whenever I have to render lists with any depth. Think trees — there could be several nested lists. I don't like the JavaScript approach I've taken in the past, I'm using Handlebars to generate dynamic markup — it should be able to handle nested lists, right? My preferred approach these days is to use a partial template, and to call that recursively.
Showing posts with label tree. Show all posts
Showing posts with label tree. Show all posts
Wednesday, March 5, 2014
Subscribe to:
Posts
(
Atom
)