File

test/fixtures/sample-files-extends/src/app/mutiple-inheritance/multi-component.ts

Description

Empty component for inheritance demo

Extends

FirstClass

Metadata

Index

Properties
Inputs

Inputs

emptyInput
Type : string

Properties

name
Type : string
Inherited from FirstClass
Defined in FirstClass:4
age
Type : number
Inherited from BSecondClass
Defined in BSecondClass:4
adress
Type : string
Inherited from AThirdClass
Defined in AThirdClass:2
import { Component, Input, OnInit } from '@angular/core';

import { FirstClass } from './first-class';

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

results matching ""

    No results matching ""