htmlbars Questions
9
Solved
I need to combine linkTo and action helpers in Ember.js. My code is:
{{#link-to 'index'}}<span {{action 'clear'}}>Clear</span>{{/link-to}}
But I would like to make this something lik...
Joettejoey asked 20/4, 2013 at 19:37
4
Solved
I'm trying to write a component integration test, a la this blog post, but my component has a link-to to a dynamic route and the href property isn't being filled in. Here is a simplified version of...
Vday asked 21/8, 2015 at 1:1
2
Solved
The goal is to define a structure of HTML that has more than one block of content that is declared by the caller. For example, a header, body, and content. The resulting markup should be:
<head...
Alleviator asked 17/5, 2015 at 1:20
2
Is there any way to make Ember.Component force rerender?
There is .rerender() method, but it doesn't help.
Also I tried use .notifyPropertyChange for template, layoute - the same
Right now for s...
Heathenry asked 12/6, 2017 at 12:19
4
Solved
I have a set of buttons whose state I wish to toggle with a class active. If I had a single button, then I would bind the active class to a controller property and toggle that property in the click...
2
Solved
I'm migrating an Ember 1.5 Handlebars app to current stable Ember and HTMLBars and it seems that a bound controller property must return "disabled" or null to work as expected with "disabled" DOM a...
4
Solved
After the latest release of EmberJS v1.9.0 I am trying to move from Handlebars to HTMLbars. What I am finding very challenging is lack of documentation.
I am trying to implement very simple helper...
Kuomintang asked 20/2, 2015 at 8:45
1
Solved
In regular handlebars I was able to do:
<div {{bind-attr class="model.isNew:new:old"}}>
How can I do this in Htmlbars? I tried this but it didn't work.
<div class="{{model.isNew:new:ol...
1
Solved
I was using custom Handlebars helper extending the functionality of 'if' block.
In Ember 1.10 this doesnt work anymore as there is no Ember.Handlebars.bind property which allowed binding to the pr...
1
© 2022 - 2024 — McMap. All rights reserved.