Questions tagged [aurelia]

Aurelia is a next generation JavaScript client framework that leverages simple conventions to empower your creativity.

Aurelia
is a next generation JavaScript client framework that leverages simple conventions to empower your creativity.

Features

  • Forward-thinking
  • Modern Architecture
  • Two-Way Databinding
  • Extensible HTML
  • Routing & UI Composition
  • MV* with Conventions
  • Convention over Configuration
  • Broad Language Support
  • Testable

Community

Getting Started

Presentations

For the most up to date list refer to Awesome Aurelia (curated list of resources)

3402 questions
1
vote
1 answer

Aurelia Browser Console Error - POST Request - Response to preflight request doesn't pass access control check

Good day StackOverflow! I've opened up a new question because I am a total beginner with Web Services and the current topics similar to my question doesn't make any sense to me at the moment. I am very welcome to learn something new. I would be…
1
vote
1 answer

Aurelia Select Disable

I have a collection of select boxes and input fields in my Aurelia project and I need to disable one specific select box everytime a value changes on a specific input field. The problem is that everytime I change the value on the input field the…
Arton Hoxha
  • 343
  • 3
  • 12
1
vote
1 answer

Aurelia app is not launched using au run cli command

i am very new to Aurelia framework, hence following the guide to create project https://aurelia.io/docs/tutorials/creating-a-contact-manager/#setting-up-your-machine I am using au -v 0.33.1 But, when i use au run to run the app when i try to open…
Vijay
  • 1,026
  • 3
  • 11
  • 28
1
vote
1 answer

How to Inject/Replace part of the view and view model in Aurelia

I'm migrating from KnockoutJS to Aurelia and having a hard time trying to figure out how I can swap out some HTML/JS from a view. I have some existing Knockout code as follows: $.ajax({ url: "/admin/configuration/settings/get-editor-ui/" +…
Matt
  • 6,787
  • 11
  • 65
  • 112
1
vote
1 answer

Access ref elements inside a repeat.for

I've got a ref of an object inside a repeat.for which looks like this
...
Aurelia Inspector shows the ref under the machine object: I tried to access it in…
kalbsschnitzel
  • 817
  • 1
  • 8
  • 29
1
vote
1 answer

trying to create aurelia routing in plunker

I am working on creating a page in plunker to demo aurelia routing. Here is the link. For some reason, I am unable to show the route in the page. I am able to run similar code in my local environment just fine. I think it is something in plunker…
Ray
  • 1,095
  • 3
  • 18
  • 43
1
vote
1 answer

Hiding bootstrap modal with plain javascript in typescript

I am using Aurelia with bootstrap to show the modal to ask for confirmation to clear form details. I have created plunker link for this. How can I hide the bootstrap modal without using JQuery that bootstrap provides to trigger an event to close the…
Ray
  • 1,095
  • 3
  • 18
  • 43
1
vote
0 answers

How to use pdfjs with aurelia-cli

Has anyone got pdfjs (https://github.com/mozilla/pdf.js) working with the Aurelia cli? I'm getting nowhere fast with getting it up and running. I followed the docs here…
axzr
  • 660
  • 5
  • 16
1
vote
1 answer

Aurelia CLI and braintree-web

I am trying to use https://www.npmjs.com/package/braintree-web with Aurelia (using the aurelia-cli and RequireJS). I am stuck trying to get all the many dependencies to resolve. To use 3rd party library in Aurelia the library must be defined in the…
user1980833
  • 211
  • 1
  • 2
  • 8
1
vote
3 answers

can someone explain how this call function works in this method

On line 31 here --> https://github.com/benib/aurelia-hammer/blob/master/src/hammer-press.js this.callback.call(null, { hammerEvent: event }); Can someone explain how this hammerEvent object gets mapped back to the $event object in the calling…
Matthew Ellison
  • 176
  • 3
  • 7
1
vote
1 answer

Validation not getting triggered when value is changed

In Aurelia project, I have created a bootstrap modal that will allow users to enter email addresses. At first when the pop-up is triggered, it applies the validation fine. See below image. This is how it looks like when the pop-up is opened for the…
Ray
  • 1,095
  • 3
  • 18
  • 43
1
vote
1 answer

Hovering and playing video

I'm trying to make a gallery of videos that play on hover...and only when hovered. But for some reason, sometimes the videos continue to play even when the mouse exits them. I'm using aurelia's mouseover.delegate="hoverVideo($index)"and…
GeneralBear
  • 1,011
  • 3
  • 11
  • 35
1
vote
1 answer

Aurelia Binding errors ( on browser console)

I am using below snippet in html value.two-way="lstName.IsBlocked ? 'Blocked' : Value2 + ' %'" on console it shows error as Uncaught Error: Binding expression "lstName.IsBlocked?'Blocked':Value2+' %'" cannot be assigned to. at b.a.assign…
a r sumit
  • 11
  • 2
1
vote
1 answer

How to I debug systemJS error loading js as "" from

I am getting the following error: system.src.js:123 Uncaught (in promise) Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:8000/dist/jquery.js Error: XHR error (404 Not Found) loading http://localhost:8000/dist/jquery.js …
Menelaos
  • 23,508
  • 18
  • 90
  • 155
1
vote
1 answer

Validate input that derives from custom element in to DynamicForm

I am trying to add validation to custom element that gets generated in dynamic form component to support page for view. I injected Aurelia-Validation in main.ts, and DynamicForm.ts and instantiated. Below is my code. CUSTOM ELEMENT: TS File import {…
Ray
  • 1,095
  • 3
  • 18
  • 43
1 2 3
99
100