resource Field
An object to which string-based routes will be bound. This can be especially useful for late-binding to route functions (such as async client-side requires).
Syntax
var instance = new Router(); var value; // Type: any value = instance.resource;
var resource : any;
Browser Compatibility
See Also