Skip to content

Commit

Permalink
docs(@db-ui/ngx-components): change term to content projection instea…
Browse files Browse the repository at this point in the history
…d 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
  • Loading branch information
d-koppenhagen committed Jan 19, 2024
1 parent 773873b commit a65451f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { DBAccordionItemModule } from '@db-ui/ngx-components';

### Use component

#### With Slots
#### With Content Projection

```html app.component.html
<!-- app.component.html -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- TODO: Slots not working for nested components? -> Had to copy paste variant-cards... -->
<!-- TODO: Content Projection not working for nested components? -> Had to copy paste variant-cards... -->
<db-code-docs
*ngIf="variantRef"
class="variants-card"
Expand Down

0 comments on commit a65451f

Please sign in to comment.