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
2 answers

Single Page Application Input box not showing in ie 8

In my Single Page App, I use Durandal and knockout. I have a simple input box. That input box shows up fine in Chrome, NOT in IE 8. Any idea why? view- Client Name:
0
votes
2 answers

Detect data-part on widget

I have a widget that allow me to pass a data-part. Based on if I informed a data-part to a instance of that widget, I want to show/hide something from the widget. So it is possible to detect on my widget viewmodel if the was specified something for…
Leo
  • 7,379
  • 6
  • 28
  • 44
0
votes
2 answers

Route Not Found using createChildRouter

For my folder structure, i have (withing the Apps folder) views and viewmodels folders. I keep getting "route not found" when I try to click on one of the links. Chrome also shows "route not found" when the page loads. New to the childRouter. Any…
Chris
  • 795
  • 2
  • 12
  • 27
0
votes
2 answers

How to close all open durandaljs modal dialogs

Currently I am working on a project that relies heavily on modal dialogs. I'm using durandal's dialog plugin. The problem I have is that within a modal, a user can click an element which displays its details in another modal. What I would like to…
Phatjam98
  • 312
  • 2
  • 11
0
votes
1 answer

durandal typescript bootloader

I would like to create some wrapper around durandal using typescript to make easy to create new SPA apps easy for my development team. Let me shortly describe the way i would like to structure my wrapper; there would be initial bootstrap class and…
Rati_Ge
  • 1,262
  • 2
  • 15
  • 37
0
votes
2 answers

Listening to events in Durandal

I'm reviewing the Durandal documentation, and I can't find a concrete implementation of listening for Durandal events, e.g, router events. Can someone point me to the docs, or (if there is no documentation on this) an example?
Josh
  • 7,232
  • 8
  • 48
  • 75
0
votes
1 answer

Does DurandalJs support location.href="#page1"

I want to redirect to the previous page on click of a button , i am able to do this using location.href="#PrevPage" will it affect any durandalJs functionality
Manju DS
  • 37
  • 3
0
votes
1 answer

Breeze js cherry pick saves issue

I have a bulk insert screen which allows the user to insert products line by line.. Each product has it's own Units of measurement. Here is my save changes Code: save = function (product) { var entitiesToSave =…
Adel Sal
  • 718
  • 5
  • 16
0
votes
1 answer

Get active route hash in activate method

I have a two routes with different hashes and same view model: var routes = [ { route: '', moduleId: 'home', title: 'Home', nav: 1 }, { route: 'details(/:id)', moduleId: 'details', title: 'Details', nav: 2, hash: '#details' }, { route:…
Yuriy Rozhovetskiy
  • 22,270
  • 4
  • 37
  • 68
0
votes
1 answer

Splash screen disapears before call to server is completed

Hi I would like to be able to delay the splash of my app for a bit here is what I mean. This is my shell view:
This is my shell…
Nistor Alexandru
  • 5,309
  • 9
  • 46
  • 71
0
votes
1 answer

Load as View or ViewModel?

Using Durandal 2.0.1, Knockout 3.0.0, RequireJS 2.1.10. The following is background info, just setting the stage: I have a fundamental question about whether to load a sub item as a view or a view model. I am trying to follow the design printed on…
0
votes
1 answer

Durandal - Pub/sub - when to clean up subscriptions

Our durandal application has many modular UI components (all created using AMD constructor based viewmodels) and I would like to begin adding pub/sub communications. I need to determine the best way to ensure that subscriptions are 'cleaned up'…
Shaun Rowan
  • 9,269
  • 4
  • 28
  • 52
0
votes
1 answer

DurandalJS app.showMessage modals cause Y-overflow artifact

Durandal has composition support for modal dialogs. I've been able to use them successfully, though there's a strange graphical artifact I cannot seem to eradicate. I'm pretty sure it's part of a div with class 'durandal-wrapper', though it's not…
Oliver Kane
  • 888
  • 1
  • 6
  • 23
0
votes
1 answer

Is it possible to Hot-Restart DurandalJS

I have run into some problems with using durandaljs as a framework for html5 mobile apps, I have never had to deal with this on a web application. Whenever there is any kind of error, durandaljs pretty much packs up, the router stops working etc.…
Obi
  • 3,091
  • 4
  • 34
  • 56
0
votes
1 answer

Breeze entity Key not set at creation time

I have the following JS script that creates a product object: var entityQuery = breeze.EntityQuery, manager = configureBreezeManager(); function configureBreezeManager() { breeze.NamingConvention.camelCase.setAsDefault(); return new…
GETah
  • 20,922
  • 7
  • 61
  • 103