forked from hazza/dspace-angular
12 lines
310 B
TypeScript
12 lines
310 B
TypeScript
import { EventEmitter, Output } from '@angular/core';
|
|
|
|
/**
|
|
* Abstract class that represents value input components
|
|
*/
|
|
export abstract class ValueInputComponent<T> {
|
|
/**
|
|
* Used by the subclasses to emit the value when it's updated
|
|
*/
|
|
@Output() updateValue: EventEmitter<T> = new EventEmitter<T>()
|
|
}
|