Angular Router.
Annotation
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Packt Publishing,
2017.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover
- Credits
- About the Author
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: What Do Routers Do?
- Router configuration
- Router state
- Navigation
- Summary
- Isn't it all about the URL?
- Chapter 2: Overview
- URL format
- Applying redirects
- Recognizing states
- Running guards
- Resolving data
- Activating components
- Using parameters
- Navigation
- Imperative navigation
- RouterLink
- Summary
- Chapter 3: URLs
- Simple URL
- Params
- Query params
- Secondary segments
- Chapter 4: URL Matching
- Backtracking
- Depth-first
- Wildcards
- Empty-path routes
- Matching strategies
- Componentless routes
- Sibling components using same data
- Composing componentless and empty-path routes
- Summary
- Chapter 5: Redirects
- Local and absolute redirects
- One redirect at a time
- Using redirects to normalize URLs
- Using redirects to enable refactoring
- Chapter 6: Router State
- What is RouterStateSnapshot?
- Accessing snapshots
- ActivatedRoute
- URL
- Params
- Data
- Query params and fragment
- Chapter 7: Links and Navigation
- Imperative navigation
- Router.navigate
- Passing an array or a string
- Passing matrix params
- Updating secondary segments
- Relative navigation
- Forcing absolute navigation
- Navigation is URL-based
- Passing query params and fragment
- RouterLink
- Active links
- Exact matching
- Adding classes to ancestors
- Summary
- Chapter 8: Lazy Loading
- Example
- Just one problem
- Lazy loading
- Referring to lazily-loaded module
- Deep linking
- Sync link generation
- Navigation is URL-based
- Customizing module loader
- Preloading modules
- Enabling preloading
- Custom preloading strategy
- Chapter 9: Guards
- CanLoad
- CanActivate
- CanActivateChild
- CanDeactivate
- Chapter 10: Events
- Enable tracing.
- Listening to events
- Grouping by navigation ID
- Showing spinner
- Chapter 11: Testing Router
- Isolated tests
- Shallow testing
- Integration testing
- Summary
- Chapter 12: Configuration
- Importing RouterModule
- Configuring router service
- Enable tracing
- Use hash
- Disable initial navigation
- Custom error handler
- Appendix: Fin
- Bug reports
- Example app
- Index.