File

src/app/about/about.component.ts

Description

The about component

Display some text with links for details about TodoMVC & Compodoc.

Implements

OnInit

Metadata

providers EmptyService
selector about
templateUrl ./about.component.html

Index

Methods
HostListeners

HostListeners

mouseup
mouseup()

HostListener mouseup description

Methods

ngOnInit
ngOnInit()
Returns : void
import { Component, OnInit, HostListener } from '@angular/core';

import { EmptyService } from '../shared/services/empty.service';

/**
 * The about component
 *
 * Display some text with links for details about TodoMVC & Compodoc.
 */
@Component({
    selector: 'about',
    templateUrl: './about.component.html',
    providers: [EmptyService]
})
export class AboutComponent implements OnInit {
    ngOnInit() {}

    /**
     * HostListener mouseup description
     */
    @HostListener('mouseup')
    onMouseup(): void {}
}
<p>
    This application is a <a [routerLink]="['todomvc']">TodoMVC</a> example written using Angular, with code documented, and ready for <a [routerLink]="['compodoc']">compodoc</a>.
</p>
<router-outlet></router-outlet>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""