src/app/about/about.component.ts
The about component
Display some text with links for details about TodoMVC & Compodoc.
| entryComponents |
TodoComponent
ListComponent
|
| preserveWhitespaces | false |
| providers |
EmitterService
|
| selector | about |
| template | |
Properties |
|
Methods |
|
Inputs |
HostListeners |
Accessors |
| angularVersion | |
Type : string
|
|
Default value : 'Angular 2'
|
|
|
Defined in src/app/about/about.component.ts:41
|
|
|
Inherited type of Angular Version |
|
| mouseup |
Arguments : '$event.clientX' '$event.clientY'
|
mouseup(mouseX: number, mouseY: number)
|
|
Defined in src/app/about/about.component.ts:36
|
|
HostListener mouseup description |
| Public Async foo |
foo()
|
|
Defined in src/app/about/about.component.ts:100
|
|
Returns :
Promise<any>
|
| onMouseup |
onMouseup(mouseX: number, mouseY: number)
|
Decorators :
@HostListener('mouseup', ['$event.clientX', '$event.clientY'])
|
|
Defined in src/app/about/about.component.ts:36
|
|
HostListener mouseup description
Returns :
void
|
| Private Static privateStaticMethod |
privateStaticMethod()
|
|
Defined in src/app/about/about.component.ts:84
|
|
Returns :
string
|
| Protected Static protectedStaticMethod |
protectedStaticMethod()
|
|
Defined in src/app/about/about.component.ts:80
|
|
Returns :
string
|
| Public publicMethod |
publicMethod()
|
|
Defined in src/app/about/about.component.ts:96
|
|
Returns :
string
|
| Static publicStaticMethod |
publicStaticMethod()
|
|
Defined in src/app/about/about.component.ts:88
|
|
Returns :
string
|
| Static staticMethod |
staticMethod()
|
|
Defined in src/app/about/about.component.ts:92
|
|
Returns :
string
|
| Private _fullName |
Type : string
|
|
Defined in src/app/about/about.component.ts:58
|
| chartOptions |
Type : Highcharts.Options
|
Default value : {
colors: [
'#7cb5ec',
'#434348',
'#90ed7d',
'#f7a35c',
'#8085e9',
'#f15c80',
'#e4d354',
'#2b908f',
'#f45b5b',
'#91e8e1'
]
}
|
|
Defined in src/app/about/about.component.ts:43
|
| Static publicStaticVariable |
Type : string
|
|
Defined in src/app/about/about.component.ts:78
|
| Static Readonly staticReadonlyVariable |
Type : string
|
|
Defined in src/app/about/about.component.ts:76
|
| Public subscriptions |
Type : Subscription[]
|
|
Defined in src/app/about/about.component.ts:30
|
| fullName | ||||||||
getfullName()
|
||||||||
|
Defined in src/app/about/about.component.ts:64
|
||||||||
|
Getter of _fullName
Returns :
string
|
||||||||
setfullName(newName: string)
|
||||||||
|
Defined in src/app/about/about.component.ts:72
|
||||||||
|
Setter of _fullName
Parameters :
Returns :
void
|
import { Component, HostListener, Input } from '@angular/core';
import template from './about.component.html';
import { Subscription } from 'rxjs/Subscription';
/**
* The about component
*
* {@link PIT}
*
* {@link Direction}
*
* {@link ChartChange}
*
* {@link foo}
*
* Display some text with links for details about TodoMVC & Compodoc.
*/
@testDecorator
@UntilDestroy()
@Component({
selector: 'about',
template,
providers: [EmitterService],
entryComponents: [TodoComponent, ListComponent],
preserveWhitespaces: false
})
export class AboutComponent {
public subscriptions: Subscription[];
/**
* HostListener mouseup description
*/
@HostListener('mouseup', ['$event.clientX', '$event.clientY'])
onMouseup(mouseX: number, mouseY: number): void {}
/**
* Inherited type of Angular Version
*/
@Input() public angularVersion = 'Angular 2';
chartOptions: Highcharts.Options = {
colors: [
'#7cb5ec',
'#434348',
'#90ed7d',
'#f7a35c',
'#8085e9',
'#f15c80',
'#e4d354',
'#2b908f',
'#f45b5b',
'#91e8e1'
]
};
private _fullName: string;
/**
* Getter of _fullName
* @return {string} _fullName value
*/
get fullName(): string {
return this._fullName;
}
/**
* Setter of _fullName
* @param {string} newName The new name
*/
set fullName(newName: string) {
this._fullName = newName;
}
static readonly staticReadonlyVariable: string;
public static publicStaticVariable: string;
protected static protectedStaticMethod(): string {
return '';
}
private static privateStaticMethod(): string {
return '';
}
public static publicStaticMethod(): string {
return '';
}
static staticMethod(): string {
return '';
}
public publicMethod(): string {
return '';
}
public async foo(): Promise<any> {}
}