getRoute Method
Returns the entire route or just a section of it.
Syntax
var instance = new Router(); var value; // Type: String // Parameters var v; // Type: Number value = instance.getRoute(v);
function getRoute( v : Number ) : String;
Parameters
- v
- The hash value is divided by forward slashes, each section then has an index, if this is provided, only that section of the route will be returned.
Browser Compatibility
See Also