I'm brand new to Aurelia.  How would you change the following code to provide a dummy HttpClient, e.g. a json reader instead that would provide just a static set of json data, negating the need for a server in development.  import {inject} from &...
I am using aurelia and want to filter a collection (array) in view rather than in view model.  I am trying the following syntax to do so:  <div class="col-sm-7  col-md-7 col-lg-7 ${errors.filter(function(err){return err.Key==='car.Model...
I am able to run the Aurelia app by following the steps provided in getting started tutorial. They have used bootstrap nav-bar in the skeleton application. Is it possible to use JQuery UI components in the Aurelia app. If yes, please explain me how t...
I would like to ask if there's a step by step way to use or configure materializecss with Aurelia. I'm currently able to run my Aurelia app up to the point in the tutorials where my index.html looks like this:  <!DOCTYPE html> <html&...
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 Aurelia now:  In the template I have a form. I want to a...
On compiling an app and trying to implement the i18n library with webpack, I face this error:  ERROR in ./node_modules/bundle-loader?lazy&name=lang-pt!./src/locales/pt/translation.json Module parse failed: Unexpected token m in JSON at position 0...
It seems Aurelia is not aware when I create and append an element in javascript and set a custom attribute (unless I am doing something wrong). For example,   const e = document.createElement('div'); e.setAttribute('custom-attr', '...
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 be seen here)  @customAttribute('input-mask&...
I need to pas params to Aurelia on start. Depending on values passed the application will have diffrent state. This application is injected on page which is build with PHP, so the best way would be starting it with parameters specified with PHP code....
Twitter bootstrap has a dropdown menu option; where a menu has have multiple layers. See: http://getbootstrap.com/javascript/#dropdowns  How can I use Aurelia.js's routers to recreate this? Routers normally provide 1 level. I need 2 levels....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.