From a65451f5fd36247110594ef7cdca7ca8c00c2a41 Mon Sep 17 00:00:00 2001 From: Danny Koppenhagen Date: Fri, 19 Jan 2024 21:56:57 +0100 Subject: [PATCH] docs(@db-ui/ngx-components): change term to content projection instead of slot The term `slot` is typically not used in the angular world. It's called `content projection` here. see: https://angular.dev/guide/components/content-projection closes #1498 --- .../components/src/components/accordion-item/docs/Angular.md | 2 +- .../angular-showcase/src/app/components/default.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/src/components/accordion-item/docs/Angular.md b/packages/components/src/components/accordion-item/docs/Angular.md index 89421c1c13f..17ec140f746 100644 --- a/packages/components/src/components/accordion-item/docs/Angular.md +++ b/packages/components/src/components/accordion-item/docs/Angular.md @@ -18,7 +18,7 @@ import { DBAccordionItemModule } from '@db-ui/ngx-components'; ### Use component -#### With Slots +#### With Content Projection ```html app.component.html diff --git a/showcases/angular-showcase/src/app/components/default.component.html b/showcases/angular-showcase/src/app/components/default.component.html index 40af9a0d348..e95142d0b0a 100644 --- a/showcases/angular-showcase/src/app/components/default.component.html +++ b/showcases/angular-showcase/src/app/components/default.component.html @@ -1,4 +1,4 @@ - +