File

src/app/shared/components/empty-component.ts

Description

Empty component for inheritance demo

Extends

EmptyParentComponent

Metadata

Index

Properties
Methods
Inputs
Outputs

Inputs

emptyInput
Type : string
parentInput
Type : string
Inherited from EmptyParentComponent

Outputs

parentoutput
Inherited from EmptyParentComponent

Methods

ngOnInit
ngOnInit()
Inherited from EmptyParentComponent
Returns : void

Properties

Public parentProperty
Inherited from EmptyParentComponent
import { Component, Input, OnInit } from '@angular/core';

import { EmptyParentComponent } from './empty-parent-component';

/**
 * Empty component for inheritance demo
 */
@Component({
    selector: 'cp-empty',
    template: 'empty component'
})
export class EmptyComponent extends EmptyParentComponent {
    @Input() public emptyInput: string;
}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""