Questions tagged [aurelia-templating]

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

87 questions
0
votes
0 answers

How can I redirect link to external page in tag with Aurelia?

I'm making the footer of my page and in the mobile version, when I click on a link, it does not redirect me to where it should go, it only redirects me if it is an internal page of the same repository, and the link that I need to redirect, is…
0
votes
1 answer

Updating an observable collection from a parent component in Aurelia

To better understand interactions between Aurelia components, I've separated the list component of the Todo List app in Aurelia's quick start documentation into its own class and corresponding view. But doing so leads to the view not updating when a…
0
votes
2 answers

Aurelia dynamically bound variable with template string

I am trying to set the dynamic id of a component within a component. So the child component has a bindable uniqueId property. The parent component has its own uniqueId which I am trying to keep into the child component's uniqueId, as such sort of…
Moustachiste
  • 412
  • 4
  • 14
0
votes
1 answer

Error: No Aurelia APIs are defined for the element: "DIV"

I am facing this issue with my newly started app. Error: No Aurelia APIs are defined for the element: "DIV". This is the call stack: getAU webpack:///./node_modules/aurelia-binding/dist/native-modules/aurelia-binding.js?:5384 locateAPI…
Moustachiste
  • 412
  • 4
  • 14
0
votes
1 answer

Output HTML from an Aurelia TS variable into the view

I have an Aurelia app that works something like so: test.ts private testing:string; // The constructor and other methods get the testing from the database that contains clean/sanitized HTML (not malious or entered by a user) // An example: testing…
cdub
  • 24,555
  • 57
  • 174
  • 303
0
votes
1 answer

How to load a md-select based on a different md-select option(binding issue)

Hello i am very new to aurelia js, i have a binding issue that i am stuck with, I have two md-select drop downs on a page, when the form loads it populates a list of Shops, which works correctly as bellow but inside attach() of form's view model I am…
Tuhin
  • 3,335
  • 2
  • 16
  • 27
0
votes
0 answers

Aurelia bound function on custom element is undefined, but bound data is not

I have a custom element hierarchy that looks like select-single <- dropdown <- dropdown-wrapper where each name is a custom element and each arrow represent a template that uses that custom element. When I use select-single, the attached handler…
XBigTK13X
  • 2,655
  • 8
  • 30
  • 39