miércoles, 4 de enero de 2017

Angular 2. Routing. Entrega 12. Glosario de navegación (3).

Copiamos el glosario de Routing de la documentación oficial de angular2, de la que estamos copiando todo, ya que estoy intentado resumirla y aprender.

Router Part
Meaning
Router Displays the application component for the active URL. Manages navigation from one component to the next.
RouterModule A separate Angular module that provides the necessary service providers and directives for navigating through application views.
Routes Defines an array of Routes, each mapping a URL path to a component.
Route Defines how the router should navigate to a component based on a URL pattern. Most routes consist of a path and a component type.
RouterOutlet The directive () that marks where the router should display a view.
RouterLink The directive for binding a clickable HTML element to a route. Clicking an anchor tag with a routerLink directive that is bound to a string or a link parameters array triggers a navigation.
RouterLinkActive The directive for adding/removing classes from an HTML element when an associated routerLink contained on or inside the element becomes active/inactive.
ActivatedRoute A service that is provided to each route component that contains route specific information such as route parameters, static data, resolve data, global query params and the global fragment.
RouterState The current state of the router including a tree of the currently activated routes together with convenience methods for traversing the route tree.
Link Parameters Array An array that the router interprets as a routing instruction. You can bind that array to a RouterLink or pass the array as an argument to the Router.navigate method
Routing Component An Angular component with a RouterOutlet that displays views based on router navigations.

No hay comentarios :

Publicar un comentario