File

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

Description

Empty parent component for inheritance demo

Implements

OnInit

Metadata

selector empty-parent
template
empty parent

Index

Properties
Methods
Inputs
Outputs

Inputs

parentInput

Type : string

Outputs

parentoutput

Methods

ngOnInit
ngOnInit()
Returns : void

Properties

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

/**
 * Empty parent component for inheritance demo
 */
@Component({
    selector: 'empty-parent',
    template: 'empty parent'
})
export class EmptyParentComponent implements OnInit {
    @Input() public parentInput: string;

    @Output() public parentoutput;

    public parentProperty;

    ngOnInit() {}
}
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""