Skip to content

仓库 files navigation

Angular Shared Components

This Angular v21 project illustrates using shared components across various views in the application. Also, the views using the shared components can customize the style set in the parent component.

The shared compents are:

  1. A Panel and
  2. A Close icon in the top right corner of the Panel.

Features

  1. Various views of the application embed the Panel component and the Panel component in-turn embeds the Close icon component.
  2. The views embedding the Panel can customize the style set in the Panel component.

A demo of these features can be seen here.

Related 项目

https://github.com/mapteb/angular-state-transitions

https://github.com/mapteb/angular-nested-layouts

关于

Angular v21 project illustrates reusing components across views and overriding the styles set in the parent and grandparent components.

Resources

Stars

0 stars

关注者

0 watching

复刻s

发布

贡献者

Languages