@compodoc/compodoc
Version:
The missing documentation tool for your Angular application
42 lines (33 loc) • 693 B
text/typescript
import { Component, OnInit } from '@angular/core';
import { BarService } from './bar.service';
({
selector: 'app-bar',
templateUrl: `bar.template.html`,
styleUrls: ['bar.style.scss', 'bar2.style.scss'],
providers: [BarService]
})
export class BarComponent implements OnInit {
/**
* foo method
*/
normalMethod() {}
/**
* bar method
* @internal
*/
internalMethod() {}
/**
* @hidden
*/
hiddenMethod() {}
/**
* @private
*/
privateCommentMethod() {}
private privateMethod() {}
protected varprotected: string;
ngOnInit() {}
public showTab(index) {
// TOTO
}
}