Handlebars:
Template
{{> myPartial parameter=favoriteNumber }}
myPartial
[rename] [delete]
The result is {{parameter}}
Preparation-Script
// Handlebars.registerHelper('loud', function(string) {
//    return string.toUpperCase()
// });
Input
{ favoriteNumber: 123 }
Output
The result is 123
마지막 업데이트: 2024. 6. 5. 오후 11:37:24