mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: Uses the self-closing tag syntax
(cherry picked from commit 9ec964334e)
This commit is contained in:
parent
853fd9d4cf
commit
e0a6dadf1b
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ export class CustomCard {/* ... */}
|
|||
```angular-ts
|
||||
@Component({
|
||||
selector: 'custom-card',
|
||||
template: '<div class="card-shadow"> <ng-content></ng-content> </div>',
|
||||
template: '<div class="card-shadow"> <ng-content/> </div>',
|
||||
})
|
||||
export class CustomCard {/* ... */}
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue