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?


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

VBA function to include CDATA -

php - Warning: file_get_contents() expects parameter 1 to be a valid path, array given 16 -