src/app/not-found/not-found.component.ts
| encapsulation | ViewEncapsulation.None |
| host | { |
| selector | app-not-found |
| styleUrls | ./not-found.component.scss |
| templateUrl | ./not-found.component.html |
Methods |
constructor()
|
|
Defined in src/app/not-found/not-found.component.ts:13
|
| ngOnInit |
ngOnInit()
|
|
Defined in src/app/not-found/not-found.component.ts:16
|
|
Returns :
void
|
import { Component, OnInit, ViewEncapsulation } from '@angular/core'
@Component({
selector: 'app-not-found',
templateUrl: './not-found.component.html',
styleUrls: ['./not-found.component.scss'],
host: {
class: 'content-container'
},
encapsulation: ViewEncapsulation.None,
standalone: false
})
export class NotFoundComponent implements OnInit {
constructor() {}
ngOnInit() {}
}
<div class="content-area">
<p>404 - Not Found</p>
</div>
./not-found.component.scss