Domanda

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

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top