Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zewa666/durandal-router-dialog

Answer to Stackoverflow question 26157912
https://github.com/zewa666/durandal-router-dialog

Last synced: about 12 hours ago
JSON representation

Answer to Stackoverflow question 26157912

Awesome Lists containing this project

README

        

Durandal Router Modal
===========

wtfpl-badge-2

This is an example for the Stackoverflow Question
"How to use durandal router to activate dialogs?"

Quick Example
-------------

1. open terminal/command line
2. go into project folder
3. bower install
4. run with your favourite webserver

Changelog:
----------
* Added "About" route and VM/View to demonstrate the necessary steps for adding a new route
* More generalized approach by using Pub/Sub mechanism to listen to router events, inspect the instruction set and conditionally display the modal