aurelia Questions

1

Solved

My SPA application (using Aurelia) calls my ASP.NET Core 2 Web API. I need to authenticate users with Google OIDC provider and also secure the Web API with the same method. Currently I'm able to a...

4

In angularjs I had the following: app.directive('ngEnter', function () { return function (scope, element, attrs) { element.bind("keydown keypress", function (event) { if(event.which === 13) { ...
Gad asked 17/4, 2015 at 2:22

2

Solved

I'm using pushState, and not using hashes for the URL structure. I have a route, and it has a few parameter bindings - some optional: route: [ 'chart/:chartType/:id', 'chart/:chartType/:id/:vi...
Tummy asked 13/3, 2017 at 3:13

2

Solved

I want to assign a variable, which is string | undefined, to a string variable, as you see here: private selectedSerialForReplace(): string | undefined { return this.selectedSerials.pop(); } lu...
Courtnay asked 19/7, 2017 at 15:28

2

Solved

I'd like to use chart.js in an aurelia project, but I'm getting errors. How do I add 3rd party node packages to an aurelia app? I'm using aurelia-cli, BTW Here's what I've done npm install --sav...
Philippe asked 12/12, 2016 at 13:5

1

Solved

I have a strange case in an Aurelia template of elements with if.bind inside a repeat.for not being shown/hidden when their underlying property is changed. With the following code, the edit fields ...
Coprology asked 20/9, 2017 at 21:18

3

I have a parent class where I want to inject some modules, then I have some derived classes where I would like to use these injected modules. However in the derived class you have to call super() w...
Teachin asked 7/5, 2015 at 7:27

1

Solved

I have created one react component and build it using webpack and deployed on server. I want to integrate this component into Aurelia Project. I tried using below npm module: https://www.npmjs.co...
Ced asked 18/9, 2017 at 14:57

1

Solved

Is it possible to conditionally add an attribute to an element using binding syntax? I am aware of if.bind, but that targets elements. Rather I am interested in targeting a specific attribute on an...
Discernible asked 15/9, 2017 at 3:57

2

Solved

I am working on the Aurelia Sample app and would like to deploy the build output(vendor-bundle.js and app-bundle.js) to www-root\scripts instead of the default scripts directory. So I tried modifyi...
Utas asked 20/9, 2016 at 7:53

1

I'm trying to configure routes in Aurelia using aurelia-router, but it throws an error that it can't find the moduleId(route to file) of my route. I configure my routes in two files router.js and ...
Science asked 7/9, 2017 at 5:15

1

I have an Aurelia application with a singleton view model. The view is similar to a file browser, with a tree view (custom element) on the left, and a list view on the right. The view model activat...
Thais asked 17/8, 2017 at 8:50

0

After making some coding changes in my project and refreshing the page, I encountered the error below: This tells me that the file loan.js could not be found. My first thought, then, is to find ...
Severn asked 25/8, 2017 at 20:55

5

Solved

How would you go about accessing a DOM element in Aurelia? This is a broad and general question, but I have a feeling there are one or two preferred ways to do this. I have two current cases in Aur...
Gatto asked 25/4, 2015 at 8:48

2

Solved

I'm trying to pass the DOM element to Aurelia function, but it ain't work. Just to notice that this element is not in the 'repeat.for' statement. I have something like this, which obviously is not...
Clywd asked 15/8, 2016 at 7:47

8

Solved

I have been following the Contact Manager tutorial and would like to add Font Awesome to the project. Here's what I have done so far: npm install Font-Awesome --save Added the following to aureli...
Practical asked 1/9, 2016 at 12:21

2

Solved

I want to set focus to a form element. With jQuery this is so easy, just $('selector').focus. I have created a simple <input ref="xxx" id="xxx" type="text"> and in my .ts file I add a prope...
Foveola asked 15/3, 2016 at 8:26

3

Solved

I'm trying to configure Aurelia Validation (release 0.2.6) to get all of the validation messages appended to <input> element instead of label. My main.js looks like this: export function co...
Pavier asked 2/7, 2015 at 14:14

1

Solved

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: <di...
Bentz asked 7/6, 2017 at 2:41

4

Solved

A teammate and I have been building an application in Aurelia for the last four months, and he and I have been creating and using components in these two different ways. I want to have some consist...
Mikimikihisa asked 11/8, 2016 at 1:50

1

Solved

I always seem to have problems with nginx configurations. My SPA is located at /mnt/q/app (pushstate is enabled) and the frontend root is located at client/public. Everything should be mapped to in...
Barragan asked 21/5, 2017 at 14:40

1

Solved

I am trying to pass mock JSON data into my jasmine unit test. The format of my JSON is like the one below: { "CompanyResponse":{ "CompanyCreatedDate":"1990-10-02",...
Eusebioeusebius asked 18/5, 2017 at 2:51

3

Solved

I'm trying to include Bootstrap in my Aurelia CLI project, and the CSS and JS work fine. The only problem I have is the glyphicons require font files to be loaded. I use this configuration: "de...
Jillianjillie asked 29/7, 2016 at 12:13

3

Solved

I'm familiar with the concept of ngTransclude via AngularJS and this.props.children via ReactJs, however does Aurelia support transclusion, that is, the notion of inserting, or transcluding, arbitr...
Mateusz asked 14/1, 2016 at 22:9

2

Solved

Can anybody please explain in step by step manner, how can we remove # from URL in Aurelia
Jot asked 15/4, 2016 at 14:45

© 2022 - 2024 — McMap. All rights reserved.