mount Method
Inserts the partial Routing Table, routes, into the Routing Table for this Router instance at the specified path.
Syntax
var instance = new Router(); // Parameters var routes; // Type: Object var path; // Type: String instance.mount(routes, path);
Parameters
- routes
- Partial routing table to insert into this instance.
- path
- Path within the Routing Table to insert the routes into.
Browser Compatibility
See Also