Handlebars:
Template
helper: {{name}}
data: {{./name}} or {{this/name}} or {{this.name}}
Preparation-Script
Handlebars.registerHelper('name', function () {
    return "Nils"
})
Input
{ name: "Yehuda" }
Output
helper: Nils
data: Yehuda or Yehuda or Yehuda
마지막 업데이트: 2024. 6. 5. 오후 11:37:24