@compodoc/compodoc
Version:
The missing documentation tool for your Angular application
27 lines (25 loc) • 590 B
text/typescript
import { Component, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';
const selector = 'home';
const template = `
<div class="todoapp">
<header class="header"></header>
<list class="main"></list>
<footer></footer>
</div>
`;
const templateUrl = './home.component.html';
const changeDetection = ChangeDetectionStrategy.OnPush;
const encapsulation = ViewEncapsulation.Emulated;
/**
* The home component
*/
@Component({
selector,
template,
templateUrl,
changeDetection,
encapsulation
})
export class HomeComponent {
public showTab() {}
}