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').