So I have yet another DurandalJS question. So I have a few widgets that are pretty much self contained. They render or hide themselves depending on whether the current user is logged in or not e.g. I have a widget that displays the current users name...
My application has three things that are "global": a user location with lat and lng values, if the user is logged in or not, and the activity that they have chosen (think of it like a category).  What I'd like to happen is for these value...
I have a master/detail situation. I'd like to employ a child router so that I can (a) make full use of the history module and (b) trigger the entrance transition on only the child. Here's my setup:  Shell.js  // configure the shell router rou...
I've managed to get a simple router working and even created a child router for my submenu but there are one or two things I'm not sure of why they're there. The docs give you a basic leg up and then you're on your own.  So I'm re...
Durandal provides a modal dialog facility which works great on desktop devices, and it allows you to control the presentation of the dialog via the "dialog context".  The default dialog context will, among other things, "display your dial...
Starting to pull my hair off!  I am creating an object using Breeze (the metadata is coming from a web api server).  The server side looks like this:  public class Product {     public int ProductId { get; set; }     public String Name { get; set; }...
Let's say I have the following durandal code:  define(['durandal/app', 'plugins/http'], function (app) {     var vm = function(){         var self = this;         self.myData = ko.observableArray([]);         }      };     vm.acti...
Using Durandal,   app.showMessage(message, title);   shows a modal dialog with the supplied message and title, and a single primary button OK. All this is styled by Bootstrap.  It doesn't seem to respect the keyboard. Clicking the OK button with...
I have a widget that has a drop down list, that needs to be refreshed every time I go to the view.  Is there a callback that I can use in the widget's viewmodel, that is called everytime the widget is used? Something that behaves exactly like a r...
I'm a Beginner trying to learn SPA / Durandal, Knockout etc...  Need some help with my routes for a Admin drop down button.  Here are my routes in the shell.js so far:  var routes = [             { route: '', moduleId: 'home', tit...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.