Skip to Main Content
Mastering Angular Components - Second Edition
book

Mastering Angular Components - Second Edition

by Gion Kunz
July 2018
Intermediate to advanced content levelIntermediate to advanced
402 pages
9h 35m
English
Packt Publishing
Content preview from Mastering Angular Components - Second Edition

Creating navigation components

We will build our navigation from three separate components. Let's look at their purpose real quick:

  • The navigation item component: Represents one navigation item within our navigation. Its responsibility is to render the title of a navigation item as well as its behavior when an item is activated.
  • The navigation section component: This is used to visually separate navigation items that belong together. We can use this component to group navigation items under a title. This grouping makes it easier for our users to find the navigation items they are looking for.
  • The navigation component: This holds the full navigation together. It's just a container that contains our navigation section components together. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Angular, 2nd Edition

Learning Angular, 2nd Edition

Brad Dayley, Brendan Dayley, Caleb Dayley
Essential Angular

Essential Angular

Victor Savkin, Jeff Cross
Pro Angular 6

Pro Angular 6

Adam Freeman

Publisher Resources

ISBN: 9781788293532Supplemental Content