Director Javascript Library (Document! X Sample)
param Method
(Global) Namespace > Router type : param Method
Named parameter token to set to the specified matcher
Matcher for the specified token
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