w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Handlebars : What is the best way to pass multiple parameters to a registerHelper function?

Nope. As per their document you can do this in many ways. I would do this way.

{{getOutputByParameters param1 param2}}

Handlebars.registerHelper('getOutputByParameters', function(param1,
param2){ 
//do your stuff here.
})

jsFiddle





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.