Questions tagged [durandal-2.0]

A cross-device, cross-platform client framework written in JavaScript and designed to make building and maintaining Single Page Applications (SPAs) faster and easier.

Durandal

A cross-device, cross-platform client framework written in JavaScript and designed to make building and maintaining Single Page Applications (SPAs) faster and easier. Visit the project site.

Features

  • Clean MV* Architecture
  • JS & HTML Modularity
  • Simple App Lifecycle
  • Eventing, Modals, Message Boxes, etc.
  • Navigation & Screen State Management
  • Consistent Async Programming w/ Promises
  • App Bundling and Optimization
  • Use any Backend Technology
  • Built on top of jQuery, Knockout & RequireJS
  • Integrates with popular CSS libraries such as Bootstrap and Foundation
  • Make Your Own Templatable and Bindable Widgets

Browser Support

  • IE 6+
  • Firefox 2+
  • Safari 3.2+
  • Chrome 3+
  • Opera 10+

Dependencies

  • jQuery >= 1.8.0
  • Knockout >= 2.2.1
  • RequireJS >= 2.0.0
284 questions
0
votes
1 answer

durandaljs - weyland building in bat file

I'm a little confused about something. I'm trying to use weyland to do a build and am having some issues adding weyland build to bat file. It seems like after weyland executes... it tells me it created the main-built.js file however, the script…
Shaunt
  • 183
  • 1
  • 3
  • 11
0
votes
1 answer

set width for kendo combo without using its Id

I work in durandal project, and want to know: What is the way to define width for kendo-ui combobox? I see this question at link Set kendo ui dropdownlist width, but the answer there not good for me, becouse I don't want to use the combo Id. (Why…
user5260143
  • 1,048
  • 2
  • 12
  • 36
0
votes
1 answer

Compile issues with Zurb Foundation in mimosa

I am trying to use Zurb-Foundation CSS framework in my Durandal JS project which uses Mimosa/sass/compass to compile sass files. With a semantic approach, I am wanting to use the Foundations sass files and use foundations mixins/classes directly in…
pghtech
  • 3,642
  • 11
  • 48
  • 73
0
votes
1 answer

Uncaught TypeError: Object # has no method 'navigateTo'?
I created a project using hottowel 2.0.1 in VS 2012 and have the following code following the HotTowel course/example. However I got following error. Uncaught TypeError: Object # has no method 'navigateTo' ? I set a break point at the line and…
ca9163d9
  • 27,283
  • 64
  • 210
  • 413
0
votes
1 answer

canActivate issue with durandal 2.0.1

I downloaded Durandal 2.0.1 StarterKit and I am using it for a web project. I worked with it for a while now. In one of my viewmodels I am using the routing with id in the url: route: 'test/:id'. Since I want to protect against random id inputs from…
Razvan
  • 3,017
  • 1
  • 26
  • 35
0
votes
1 answer

Why is the same view navigated twice in the Durandal log?

I have a Durandal 2.o application that apparently works fine. It is build as a standard vm/view construction with one parent and one child router levels. However, I have a small phenomena that occurs that's giving me som unwanted sideeffects in the…
Jan R
  • 41
  • 5
0
votes
1 answer

Durandal Weyland optimizations doesn't handle the require function

I've found out that weyland optimizer replaces the paths in the javascript files with their real values. But it doesn't replace the paths used in middle of the code using require function. For example: require('myscripts/mymodule',…
mehrandvd
  • 8,806
  • 12
  • 64
  • 111
0
votes
1 answer

Durandal viewChanged event in shell.js

How I can listen view change event in shell.js ? I want to generate href for a tag when new view activates Im using Durandal 2.x
0
votes
1 answer

knockout: Bind an observableArray in the viewModel from a separate javascript file which calls getJson

I'm using Knockout JS and Durandal JS. I want to query the database from a separate Js file and bind the data in the viewModel Js file. I'm having a index.js file and contains a listData as an observableArray which is bound to the view(index.html).…
IRONMAN
  • 168
  • 1
  • 10
0
votes
1 answer

Durandal 2.0 Modal using IFrame to display HTML file content

I am currently using Durandal 2.0 to produce a modal dialog box to display an HTML file. I am successfully doing it using IFRAME tag. Its needed for the application. SSRS produces these files daily and the user needs to see the content of these…
0
votes
1 answer

Calls to google analytics are not being made

Hi I have been attempting to integrate google analytics with my hybrid mobile app witch is developed with durandal and phonegap.This is what I have done so far: I have copyed the piece of code generated by google analytics and have added it in my…
aleczandru
  • 5,319
  • 15
  • 62
  • 112
0
votes
2 answers

Durandal third-level subrouting

I'm trying to make child router of a child router in Durandal.js, but getting random dumb errors (for example 404 etc.). Is it Durandal's issue (I mean if it has not third-level subrouting support) or it's maybe my code problem? Thanks Anyways, I'm…
nikoloza
  • 968
  • 2
  • 12
  • 30
0
votes
2 answers

durandal child router with parameter from parent

I am trying to initialize a child router to build sub navigation for the customer section of my application. The url i am trying to configure is: #customer/1/orders/1 I defined a route to get to the customer view in my…
Justin
  • 512
  • 1
  • 8
  • 19
0
votes
1 answer

Durandal - activation invoked two times in Master Detail sample

In Master Detail sample on Durandal website, project.activate function is invoked two times each time when I change project in dropdown list. First activation is invoked in write method of Activator. Second activation is invoked in…
Pol
  • 5,064
  • 4
  • 32
  • 51
0
votes
1 answer

Durandal - how to know in parent view when child view was composed?

In parent view I have simple observable which indicates child view name (string). When this observable changes, child view is composed inside parent view. What I need is an event in parent view after the child view has been composed. I'm not using…
Pol
  • 5,064
  • 4
  • 32
  • 51
1 2 3
18
19