File

src/app/about/about.component.ts

Description

The about component

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

Implements

OnInit

Metadata

Index

Methods
HostListeners

HostListeners

mouseup
mouseup()

HostListener mouseup description

Methods

ngOnInit
ngOnInit()
Returns : void
onMouseup
onMouseup()
Decorators :
@HostListener('mouseup')

HostListener mouseup description

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

import { EmptyService } from '../shared/services/empty.service';
import { DoNothingDirective } from '../shared/directives/do-nothing.directive';

/**
 * The about component
 *
 * Display some text with links for details about TodoMVC & Compodoc.
 */
@Component({
    selector: 'about',
    templateUrl: './about.component.html',
    providers: [EmptyService],
    hostDirectives: [DoNothingDirective],
})
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 ""