1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- import { Component, OnInit, Input } from '@angular/core';
- import { BarService } from './bar.service';
- @Component({
- 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() {}
- /**
- * @internal
- */
- @Input() internalInput: string;
- /**
- * @private
- */
- privateCommentMethod() {}
- private privateMethod() {}
- protected varprotected: string;
- constructor(
- /**
- * @internal
- */
- public internalConstructorProp: string = ''
- ) {}
- ngOnInit() {}
- public showTab(index) {
- // TOTO
- }
- }
|