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
299
votes
16 answers

ResizeObserver - loop limit exceeded

About two months ago we started using Rollbar to notify us of various errors in our Web App. Ever since then we have been getting the occasional error: ResizeObserver loop limit exceeded The thing that confuses me about this is that we are not using…
IOIIOOIO
  • 3,899
  • 4
  • 14
  • 19
72
votes
2 answers

Aurelia delegate vs trigger: how do you know when to use delegate or trigger?

I'm trying to learn how to work with the Aurelia framework. In doing so, I was reading the documentation here regarding their method of binding events. The documentation suggests using delegate by default. I have forked the plunkr that they provided…
peinearydevelopment
  • 11,042
  • 5
  • 48
  • 76
66
votes
1 answer

Aurelia repeat.for access index of item

I have a simple repeat.for:
  • ${item}
  • Currently I'm using: ${$parent.items.indexOf(item)}. Is there a shorthand, something like {{$index}} in angular?
    bekite
    • 3,444
    • 2
    • 23
    • 31
    62
    votes
    6 answers

    How to set up minimal Aurelia project from scratch

    When installing the Aurelia navigation skeleton app it is far to overwhelming with all the 3rd party modules and ready-made scripts it uses. For me who have a good picture of what most of it is in theory, have a hard time learning when I can't do it…
    micnil
    • 4,705
    • 2
    • 28
    • 39
    44
    votes
    2 answers

    Handle a 500 response with the fetch api

    We have the following call to fetch. this.http.fetch('flasher', { method: 'post', body: jsonPayload }) .then(response => response.json()) .then(data => console.log(data)); This works when we receive a 200 response but logs nothing to the…
    Shaun Luttin
    • 133,272
    • 81
    • 405
    • 467
    44
    votes
    1 answer

    Bind raw html in Aurelia

    Using Aurelia, I want to fill an
    with contents of viewmodel property (lets call it htmlText) which contains html text, and I was using
    ${htmlText}
    However, this encodes html so, instead of i.e. having paragraph or link, all tags…
    Goran Obradovic
    • 8,951
    • 9
    • 50
    • 79
    38
    votes
    5 answers

    How to resolve "TypeError: NetworkError when attempting to fetch resource."

    When I use aurelia-fetch-client to post json data to server and I got this error "TypeError: NetworkError when attempting to fetch resource." I think your answer is very useful to me. post.html