Director Javascript Library (Document! X Sample)
(Global) Namespace > Router type : run_in_init Field
run_in_init Field
If html5history is enabled, the route handler by default is executed upon Router.init() since with real URIs the router can not know if it should call a route handler or not. Setting this to false disables the route handler initial execution.
Syntax
var instance = new Router();
var value; // Type: boolean
value = instance.run_in_init;
var run_in_init : boolean;
Browser Compatibility
8
5
5
See Also

Reference

Router type