director
init Method
Initialize the router, start listening for changes to the URL.
Syntax
var instance; // Type: Router; 
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

 

 


© 2013 All Rights Reserved.

Send comments on this topic.