Director Javascript Library (Document! X Sample)
This value will be used if '/#/' is not found in the URL. (e.g., init('/') will resolve to '/#/', init('foo') will resolve to '/#foo').
init Method
Initialize the router, start listening for changes to the URL.
Syntax
var instance = new Router();

// Parameters
var r; // Type:  String

instance.init(r);
function init( 
   r : String
) : void;

Parameters

r
This value will be used if '/#/' is not found in the URL. (e.g., init('/') will resolve to '/#/', init('foo') will resolve to '/#foo').
Browser Compatibility
8
5
5
See Also

Reference

Router type