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
0 answers

Aurelia How to get to function of composed child pages

I have a parent form that loads child forms into tabs. The parent looks like this:
So each of the "compose" tags loads a…
GoDogGo
  • 85
  • 8
1
vote
1 answer

Aurelia bindingEngine.propertyObserver - Detect when property changes due to object change

We are using a similar code to detect changes to a specific object property. import {BindingEngine} from 'aurelia-framework'; class MyViewModel { static inject = [BindingEngine]; constructor(bindingEngine) { this.bindingEngine =…
Ogglas
  • 62,132
  • 37
  • 328
  • 418
1
vote
0 answers

Aurelia - DevTools failed to parse SourceMap

Since upgrading to Chrome 71, my team has experience an issue with Chrome not being able to parse our SourceMaps. I'm currently on Version 71.0.3578.98 (Official Build) (64-bit). The 3 failing maps…
1
vote
1 answer

How to download csv file from server using stream

I'm trying to download huge CSV file from server which is being generated on the fly. Im returning ResponseEntity in async so as soon as i have part of my data i'm returning it. this is my controller…
guy dadon
  • 282
  • 1
  • 2
  • 13
1
vote
1 answer

Aurelia `@dynamicOptions` mixed with `@bindable`s

I am developing using aureliajs. By now I am working on a custom attribute which has marked to have dynamic options. For example consider following code: import {dynamicOptions, inject} from 'aurelia-framework'; @dynamicOptions …
ConductedClever
  • 4,175
  • 2
  • 35
  • 69
1
vote
1 answer

Favicon.ico works locally, but not on test-server

I do have a issue when trying to set the favicon.ico on my test server, locally everything works fine.. To reach my test-server i use the following URL: http://app-server/company/companyproject%20test/client/ I have the following project structure…
zerk
  • 516
  • 4
  • 9
  • 34
1
vote
1 answer

Using the Aurelia router, how do I define two routes to the same view?

I have a sub-router. Let's say it's for fancy fruits. In that sub-router, I want to define routes to specific fruits that will show up in the navigation using RouteConfig nav: true as such: config.map([ { route: [":fruit"], name: "AppleFruit",…
Jereme
  • 1,445
  • 1
  • 16
  • 32
1
vote
1 answer

Aurelia TS pulling map from a map

I have a Map> defined in my appConfig.json and when I try and get values from the map using .get() I get an error that it is not a function. This is in my appConfig.json "rolePermissions" : [ {"name" : "Admin",…
Zygo
  • 15
  • 2
1
vote
1 answer

Aurelia change on own property does not call changed listener

I am writing a custom attribute in aurelia and in my attribute class, I have a bindable property named 'visibility'. Then binding to this property from outside (parent component) and changing the value on that component, fires visibilityChanged but…
ConductedClever
  • 4,175
  • 2
  • 35
  • 69
1
vote
1 answer

How to Set a Factory Function to Implement the Parameter Call Signature of the Class it Generates in Typescript?

I am not even sure if what I want to do is possible. I am using a framework that provides decorators for dependency injection and it is very messy to properly type the code example below: class Control { constructor( options: { …
1
vote
0 answers

Aurelia Event Aggregator not working properly.

I want just to publish and subscribe on a simple event with the Aurelia Event aggregator. It do not even publish on first load i need to go several times to the class2 and them after a while it starts publishing. I dont know what is the problem…
Boris Dedejski
  • 287
  • 2
  • 4
  • 17
1
vote
1 answer

Aurelia not transpiling Set and Spread operator correctly

I'm trying to produce a unique list of group names from some json data using aurelia. The code works using plain javascript in Chrome but throws an error when running in Aurelia. See Fiddle. The error I'm getting is 'concat is not a function'. It…
user1068557
  • 309
  • 2
  • 8
1
vote
1 answer

Child routes in aurelia, additional configureRoutes or viewports to implement

I am developing my first app in aurelia. Consider I have this main navigation in my app: app.js |->home |->user |->students And for example in my students page I want another navigation: students.js |->list |-> get:id |-> add |-> delete |-> edit now…
ConductedClever
  • 4,175
  • 2
  • 35
  • 69
1
vote
2 answers

Aurelia router, html only views, add some javascript?

I have a child router in one of my views. This child router is used to allow people to navigate to different subviews. Now these subviews do not require any logic so using just a .html view with no js viewmodel works find. The this is that some of…
Ivan Bacher
  • 5,855
  • 9
  • 36
  • 56
1
vote
1 answer

How to use --outDir TypeScript compilerOptions

I'm facing an issue where the compiler complains about the following: Cannot write file 'path/file.json' because it would overwrite input file. I did some digging and most solutions suggest to use outDir to fix it. That solutions works fine but I'm…
sbattou
  • 319
  • 3
  • 18