DocumentationTemplate Data Overview

Template Data Overview

Define JSON data and connect it to Handlebars templates and JavaScript.

Template Data Overview

The Data tab manages a JSON object that feeds both your Handlebars template and JavaScript runtime.

How Data Is Used

  • Handlebars variables resolve by key name (for example {{title}}).
  • JavaScript can access the same data via the global __APP_DATA__ object.

Editor Modes

  • Edit: Define structure, keys, and types.
  • Fill: Populate values without changing structure.
  • Raw: Edit the JSON directly with validation.

Tips

  • Keep the root as an object, not an array.
  • Use consistent keys to make templates readable and predictable.