Blocks & Contexts in Handlebars

A block in handlebars.js is same as any other language - it's a section of code that is grouped and placed together. To start a block we have to prepend a "#". => {{#Block}} To end a block we have to prepend a "/". => {{#Block}} There are some pre-defined Block Helpers available in Handlebars. … Continue reading Blocks & Contexts in Handlebars

Advertisements