aurelia Questions
1
Solved
I am trying to implement some unit tests on a form to see if the validation rules are working as expected.
from this page : https://github.com/aurelia/testing/issues/63
I found this implementatio...
Bendix asked 24/7, 2019 at 6:40
6
Solved
I am new to Aurelia and falling at the first hurdle.
I have created a new project using the aurelia cli and have selected to use less.
This works fine until I try to use bootstrap. I have install...
Germainegerman asked 25/6, 2016 at 7:51
3
Solved
I'm developing an app with Aurelia and let's say I have a loop there:
<div repeat.for="t of allTags">${t.name}</div>
There are many entries so naturally I would like to limit number ...
Sibella asked 5/11, 2015 at 15:37
3
Solved
I am trying to import SockJS from the sockjs-client library. I am using Aurelia and typescript, but when trying to import that with
import { SockJS } from 'sockjs-client';
it says in VS2015: "Mo...
Gauche asked 20/9, 2016 at 14:5
2
Solved
I have a PWA built with Aurelia and compiled with Webpack, using the Workbox Plugin that generates the sw.js service worker file. I'm trying to make the "New version available" user notification so...
Ebby asked 12/4, 2019 at 13:52
1
Solved
I am developing an app in aureliajs. The development process is started for many months and now, the back-end developers want to make their services versioned. So I have a web service to call to ge...
Windshield asked 18/3, 2019 at 11:10
2
Solved
I am working on a styleguide for a project and currently I would like to have a basic clicking behaviour on anchor links, so that they scroll to the correspondent id.
As an example:
<a href="#...
Mnemonic asked 8/2, 2019 at 13:39
3
Solved
Aurelia recently added support for layouts, and they roughly explained those in their documentation.
However, while I managed to get the layouting itself to work, I cannot use any variables in my ...
Worse asked 4/8, 2016 at 9:36
2
Solved
I have a list of items. When the user clicks on an item, the user will be taken to item details page.
I want to pass an object containing item details(like item's image URL) to the route. However,...
Snowdrop asked 14/12, 2015 at 17:57
3
I'd like my API's base URL to change from dev to prod. In Angular I user to use a config.json file which was later injected into the app using grunt-env
Abstruse asked 18/4, 2015 at 21:2
2
I have a page called entry-main and it includes this template:
<template>
<entry-search></entry-search>
<entry-details></entry-details>
</template>
Inside &...
Impercipient asked 22/12, 2015 at 13:22
3
Solved
Aurelia normally ignores any changes in the querystring.
It is possible to set the activationStrategy to invoke-lifecycle in the VM so it will re-run the all the life cycles in the VM when the que...
Fitch asked 12/10, 2016 at 13:31
5
I've gone through the documentation of Aurelia DI and looked at the source code and wanted to share what I'm trying to achieve so that I can be shot down if I'm missing something obvious. I've look...
Virulence asked 16/6, 2015 at 16:5
4
Solved
So I have my auth class injected into my main.js:
import {Auth} from 'auth';
import {inject} from 'aurelia-framework';
@inject(Auth)
export class App {
constructor(auth) {
this.auth = auth;
}
...
Kalina asked 6/2, 2016 at 16:45
3
Solved
I am retrieving some textual data using JSON, this data includes text formatted with linebreaks. I would very much like to render those linebreaks to the user.
Question: What is the "correct" / "r...
Invocate asked 15/1, 2016 at 10:17
2
I used the Aurelia CLI to create a default Hello World app that was confirmed running using Aurelia.
Aurelia generated a index.html in the root directory as such:
<!DOCTYPE html>
<html&g...
Cutty asked 7/6, 2017 at 23:38
5
Solved
So Bootstrap 4 Beta is out... yay! However Tether was replaced with Popper.js for tooltip (and other features), but with that I see a new error thrown in the console to advise me of the change to P...
Theorize asked 12/8, 2017 at 2:35
3
Solved
I am using Aurelia.js for my UI. Let's say I have the following view markup:
<tr repeat.for="item in items">
<td>${item.name}</td>
<td>${item.value}</td>
</tr>...
Fortier asked 25/7, 2015 at 20:37
1
Solved
Suppose we have mark-up like this (multiple tbody, I know).
<tbody repeat.for="order of orders">
<tr repeat.for="line of order.lines">
<td>
<img if.bind="order.urgent === '...
Bedraggled asked 23/4, 2018 at 22:22
4
Solved
I have an Aurelia application where the user can select the company they're currently "working on". Every page in the app is dependent on the currently selected company, and the user can select a n...
Nonfulfillment asked 9/8, 2016 at 8:27
2
UPDATE: It looks like this is a known bug: https://github.com/aurelia/templating/issues/253
I am leaving it here for reference / searchability purposes.
The Code:
input-mask.ts (Full code can...
Ariel asked 26/2, 2016 at 17:40
2
I am trying to bind an object from the view-model to view as follows:
// welcome.js
export class Welcome {
constructor() {
this.data = {
a: "",
b: "",
c: ""
}
}
submit() {
console.log(this...
Rouen asked 13/2, 2018 at 23:47
2
Solved
I have a state object which has a property session, this property can either be an object or null.
I don't want to have to dirty-check for the isSessionActive() getter, so I'd like to use computed...
Sacramentalism asked 12/8, 2017 at 23:44
4
Solved
I've been developing in Aurelia-CLI for about 3 months and like it so far. I think it's a solid framework and obviously escalating in support and usage. That's a good thing!
Before I develop much ...
Argentite asked 3/1, 2017 at 21:59
2
Solved
I'm having a problem getting the @inject decorator to work when using Aurelia (framework v 0.17, dependency-injection v 0.11.2); I receive an Unexpected Token error on the decorator. I've tried bot...
Rachellrachelle asked 7/11, 2015 at 18:5
© 2022 - 2024 — McMap. All rights reserved.