Helpers

Overview

Handlebar helpers are functions that can be used to manipulate data in a template. Helpers can be used to do simple math, string manipulation, or even render Partial templates.

Handlebars and Tmplits come with a few built-in helpers, but you can also create your own helpers.

  • Math
  • Handlebar helper functions for doing math

  • Object
  • Handlebar helper functions for manipulating objects

  • Partials
  • Handlebars helper functions for Partial manipulation

  • String
  • Handlebar helper functions for string manipulation