![]() ![]() ![]() We retrieve the parameters from ActivatedRoute Service by reading params collection of the snapshot object or by subscribing to the params observable. The parameters are passed to the route by using routerLink parameters in the routerLink directive. We looked at how to pass parameters or data to the Route. PathFromRoot: The path from the root of the router state tree to this route Conclusion Parent: an ActivatedRoute that contains the information from the parent route when using child routes.įirstChild: contains the first ActivatedRoute in the list of child routes.Ĭhildren: contains all the child routes activated under the current route A shallow container or depression in the ground in which salt water evaporates to leave a deposit of salt. There are two different sized salt pans designed for Indian routes having salt pans. RouteConfig: The route configuration used for the route that contains the origin path. A scenery object specially modelled for Indian Railways routes. For an unnamed outlet, the outlet name is primary. Outlet: The name of the RouterOutlet used to render the route. Snapshot: The initial snapshot of this routeĭata: An Observable that contains the data object provided for the routeĬomponent: The component of the route. QueryParams: This property returns a Params object, which describes the URL query parameters, indexed by name.įragment: This property returns a string containing the URL fragment. Params: This property returns a Params object, which describes the URL parameters, indexed by name. Url: This property returns an array of Url Segment objects, each of which describes a single segment in the URL that matched the current route. The ActivatedRoute service has a great deal of useful information including: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |