File

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

Description

Empty component for inheritance demo

Extends

EmptyParentComponent

Metadata

selector cp-empty
template
empty component

Index

Properties
Methods
Inputs
Outputs

Inputs

emptyInput

Type: string

parentInput

Type: string

Inherited from EmptyParentComponent
Defined in EmptyParentComponent:11

Outputs

parentoutput
Inherited from EmptyParentComponent
Defined in EmptyParentComponent:13

Methods

ngOnInit
ngOnInit()
Inherited from EmptyParentComponent
Defined in EmptyParentComponent:17
Returns : void

Properties

Public parentProperty
parentProperty:
Inherited from EmptyParentComponent
Defined in EmptyParentComponent:15
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 ""