durandalsingle-page-applicationsammy.jsdurandal-navigationdurandal-2.0

Asterisk (*) in Durandal route


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


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 *.