Questions tagged [aurelia-templating]

Part of the Aurelia platform and contains an extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.

aurelia-templating
Filter by
Sorted by
Tagged with
1 vote
1 answer
721 views

Customizing Aurelia to use .cshtml

I found a very helpful article showing how to use Razor partials (cshtml) with aurelia. However, I could not get the code to run and learned from RobEisenberg comment that ConventionalViewStrategy....
Bridget Arrington's user avatar
9 votes
4 answers
14k views

In Aurelia, can I bind a function from my containing view-model to be called by my custom element?

I have a custom element which will take user input, and on [save] button click, I want to pass information to the parent view-model so I can send it to the server and move to the next section. I'm ...
Anj's user avatar
  • 1,014
6 votes
1 answer
1k views

In Aurelia, can a slot be used in a repeat.for binding?

I'd like to create a custom element that loops through an array and applies the to each item in the array. For example, the view template of the custom element would contain something like: <div ...
Glen Hughes's user avatar
  • 4,782
3 votes
2 answers
733 views

How to evaluate an Aurelia interpolation expression outside a view?

In Aurelia, let's say I have a string containing an interpolation expression "Today at ${value | date: 'time'}" and some object representing the binding context for this { value: new Date() }. Is ...
Thomas Darling's user avatar
1 vote
1 answer
662 views

How to tear down an enhanced fragment

I am working on an existing SPA where we replace components with Aurelia components step by step. We use the enhance API of the TemplatingEngine. That works pretty well but we also need to tear down ...
Sébastien Roch's user avatar