How can I assign HTML attribute values using handlebars.js? -
let's have following html code -
<input type="text" placeholder="name" />
which want convert to
<input type="{{type}}" placeholder="{{text}}" />
how can using handlebars.js?
let's have following html code -
<input type="text" placeholder="name" />
which want convert to
<input type="{{type}}" placeholder="{{text}}" />
how can using handlebars.js?
Comments
Post a Comment