Top "Handlebars.js" questions

Handlebars is a templating library for JavaScript.

Calling Javascript function from handlebar

How can I call a JavaScript function from inside a handlebars script? Reason: I wasn't able to break the {{#each}} …

javascript handlebars.js
Iterate over an object for Handlebars?

So this is the general gist of my data (copied the look from chrome webkit inspector). > Object > Fruit: …

javascript jquery templates handlebars.js mustache
Is it possible to nest helpers inside the options hash with handlebars?

For instance, is there a way to nest my "i18n" helper inside another helper's hash variable? {{view "SearchView" placeholder="{{…

templates backbone.js handlebars.js helpers
Combine linkTo and action helpers in Ember.js

I need to combine linkTo and action helpers in Ember.js. My code is: {{#link-to 'index'}}<span {{action 'clear'}}&…

javascript ember.js handlebars.js htmlbars ember-components
How to make i18n with Handlebars.js (mustache templates)?

I'm currently using Handlebars.js (associated with Backbone and jQuery) to make a web app almost totally client side rendered, …

javascript jquery internationalization handlebars.js mustache
How do I lowercase a field using Handlebars.js?

I want to do something like this: {{user.name.toLowerCase()}} but I get this error: Error: Parse error on line …

javascript handlebars.js
handlebars - is it possible to access parent context in a partial?

I've got a handlebar template that loads a partial for a sub-element. I would need to access a variable from …

javascript templates handlebars.js
Sane way to concat string and variable in Handlebars.js helper argument?

I'm trying to build a simple modal component in Ember, but it seems the "logic-less" of Handlebars is too illogical …

ember.js handlebars.js custom-component
Accessing Index in #each in emberjs

Please check out the code attached http://jsbin.com/atuBaXE/2/ I am trying to access the index using {{@index}} but …

javascript ember.js handlebars.js
Using Express Handlebars and Angular JS

Background I am currently building a website that uses NodeJS for the server, Express Handlebars(Just Handlebars but server side) , …

javascript node.js angularjs express handlebars.js