Director Javascript Library (Document! X Sample)
Named parameter token to set to the specified matcher
Matcher for the specified token
param Method
Adds a route fragment for the given string token to the specified regex matcher to this Router instance. See URL Parameters for more documentation.
Syntax
var instance = new Router();
var value; // Type: String

// Parameters
var token; // Type:  String
var matcher; // Type:  String

value = instance.param(token, matcher);
function param( 
   token : String,
   matcher : String
) : String;

Parameters

token
Named parameter token to set to the specified matcher
matcher
Matcher for the specified token
Browser Compatibility
8
5
5
See Also

Reference

Router type