durandal Questions

6

Solved

The following typescript code will always open in the current browser tab navigate($data: menuItem, $event: JQueryEventObject) { //... let a = $event.currentTarget as HTMLAnchorElement; router....
Lapidary asked 8/1, 2017 at 9:27

6

I've been working on how to make a SPA crawlable by google based on google's instructions. Even though there are quite a few general explanations I couldn't find anywhere a more thorough step-by-st...
Willett asked 30/8, 2013 at 10:5

3

Solved

Visual Studio task runner cannot load the gulp file. I use VS2017 v15.9.4 now, however, the project developed some years ago. Failed to run "...\Gulpfile.js"... cmd.exe /c gulp --tasks-simple asse...
Quay asked 19/12, 2018 at 22:40

2

Solved

I am having an issue when enabling deferred updates in the knockout library. I have implemented Jquery datatables as a component, when navigating to a view that has this component i can see the fol...
Maximo asked 2/6, 2017 at 14:9

4

I'm already familiar with Knockout, Angular, Sammy, jQuery, a little breeze, and a little ember. The tutorials and getting started for Durandal all seem to be saying... well first add jQuery and ma...
Chimb asked 24/8, 2013 at 1:19

2

I have an existing Durandal.js app that takes advantage of all of the ES5 features but I want to upgrade it to the new Aurelia platform. What is the proper upgrade path and what is the simplest way...
Emergent asked 26/1, 2015 at 16:39

4

Solved

I am trying to set Register and Login for Hot Towel SPA applicantion. I have created SimpleMembershipFilters and ValidateHttpAntiForgeryTokenAttribute based on the asp.net single page application t...

1

Solved

I'm a typescript newbie, I'm picking up an existing durandal project to make some changes. I've noticed that this code snippet gives a runtime error. declare var routeLinks: IRouteLinks; routeLink...
Rocky asked 23/11, 2016 at 13:36

3

I'm using Grunt to build the Durandal starter kit pro package. It all works fine, except for one tiny detail. I would like to exclude one file (app-config below) from the optimizer and keep it as ...

2

In typescript i need to implement specific caretPosition of an input element.But when i try to implement it shows createTextRange type does not exists in type HTMLElement. any one have solution for...
Nole asked 12/11, 2015 at 6:29

5

Solved

What could be causing this? I'm working with a DurandalJS project that builds and runs locally just fine. When I try to deploy to an Azure Website, the app publishes but fails in the browser with: ...

5

Solved

After finishing the John Papa course on Pluralsight- which is AWESOME by the way!!!) I'm now creating my first SPA. I come from Desktop Application Developer background so excuse me if this quest...
Pearse asked 4/4, 2013 at 16:39

1

Solved

The downside to a SPA is of course the initial load time. For example, I have created AskACarPro.com with Durandal. It currently has a "loading" screen while it loads. But I am thinking maybe thi...
Overtrade asked 18/7, 2015 at 10:16

3

Solved

I'm using Durandal, which in turn leverages off of Knockout. I want to be able to Change validation lengths dynamically Fiddle The fiddle seems to be behaving slightly different than my "work...
Velure asked 26/6, 2013 at 7:14

4

I am currently trying to propagate a table row <tr> template into a <tbody> tag. Here is an example: HTML: <table> <tbody data-bind="template: { name : 'tableTemplate', fore...
Tullus asked 21/3, 2013 at 20:49

3

Solved

In my shell, I have set up my routes like so: router.map([ { route: '', title: 'Search', moduleId: 'viewmodels/search/search' }, { route: 'location/:paramX/:paramY', title: 'Location', moduleId:...
Antigone asked 10/9, 2013 at 8:38

2

Solved

How do you run an Aurelia app without running gulp watch and just going to localhost:9000. Ideally I would like to just run my nodejs server and it all just works without having to run a separate t...
Fetishist asked 17/2, 2015 at 16:30

2

Solved

I am fond of Durandal and KO frameworks, I just find them to be a more elegant, simpler solution. However Angular with Google behind it had enjoyed better marketing success and hence the more choi...
Underpinnings asked 11/9, 2014 at 6:8

4

I am looking at the Durandal samples trying to understand how routing works. The shell.js specifies these routes: { route: ['', 'knockout-samples*details'], moduleId: 'ko/index', title: 'Details....
Puttee asked 30/8, 2013 at 9:53

2

Solved

I'm attempting to build a SPA application (requirejs, durandal 2, knockout) into a single main-build.js file using grunt, and I'm running into serious issues with the 'text' plugin that durandal is...
Forever asked 25/4, 2014 at 12:27

1

Solved

I am currently trying to create a list of people with this model {firstName: "", lastname: "", address:""} in a multi value Select. In my viewModel I have a field called selectedItem and I set...
Oleate asked 25/11, 2014 at 1:47

2

Solved

My durandal based SPA makes various async ajax calls in the activate function of the viewmodels. I am returning a promise using Q from the activate function. function activate(){ return Q.fcall...
Poleax asked 30/5, 2013 at 12:47

4

Solved

I'm trying to integrate Durandal with node.js server using Typescript for defining modules both on server and client side. The problem I've encountered is that Durandal is strongly dependent on Re...
Lustig asked 13/3, 2014 at 13:20

4

Solved

I am building multilingual support for the app I'm working on. After doing some research and reading SO (internationalization best practice) I am trying to integrate that in a 'framework-friendly' ...

3

I have been using the basic Durandal HTML template but I have replaced Bootstrap with Zurb Foundation. Everything is working well, except for the issue where I can not open any modals, drop downs o...
Archaimbaud asked 20/2, 2014 at 17:29

© 2022 - 2024 — McMap. All rights reserved.