Question

What is the purpose of the asterisk in Durandal routes? Here is an example from the Docs:

route:'knockout-samples*details'

EDIT: Using Durandal 2.0

Was it helpful?

Solution

The docs you are referencing clearly show what this is for : )

Finally, a * denotes a "splat" route. In this case we match anything starting at the position of the *.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top