I have a Durandal application, and I use router.mapUnknownRoutes to display a user-friendly error page if the URL does not correspond to a known route.  This works fine -- if I go to, say /foo, and that doesn't match a route, then the module spec...
I work in durandal project. I use breeze to retrieve and save my data. I want to send to the server, on saving, additional parameters other than the entity, like- who is the user that save the entity. but, function saveChanges of breeze accept only o...
Using the new symbol type in ES6 you can set non-iterable properties on objects. However when using Knockout these symbols are not observed by default.  It is possible to bind a symbol's value, but it is never updated as it isn't added to the...
In a Durandal app with MVC + Web API back-end I have the following C# class:  public class ProductFilter {     public string Name { get; set; }     public List<ProductFilter> DependentFilters { get; set; } }   I have a front-end instance model...
How is one supposed to properly dispose of a widget in v2.0? From what I have read this is supposedly done automagically when removed from the DOM, but removing my widget from the DOM using say jQuery.remove() doesn't cause canDeactivate() or dea...
When using the following Durandal child router plugin configuration, I'm not getting the detached and activate events described in the Durandal lifecycle, while other events work.   It is a single page application, with the childRouter controllin...
Here is unusual scenario I'm trying to implement: I got gmap module where Google Maps is asynchronously loads. I'm using following code to properly attach Google Maps:   composition.addBindingHandler('googleMap', {         init: funct...
Requirement: I will be getting json data using REST service from a server. That json data will tell me the what type of controls (ControlID) to present to the user and what is that data that needs to be inserted in those controls. So, the basic need...
I'm new to Durandal, my question has probably a very simple issue.  I load a list into a dropdown and the current value on the link which display the dropdown,  And the value of the link which display the dropdown is not updated correctly when an...
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:  <div> <!-- ko compose: { view : header }--> <!--/ko--> <!-- ko compose: { view : content }--> <!--/ko-->...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.