mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
added tests and typedoc
This commit is contained in:
@@ -13,6 +13,9 @@ import {NG_VALUE_ACCESSOR, ControlValueAccessor} from '@angular/forms';
|
||||
{ provide: NG_VALUE_ACCESSOR, useExisting: FileValueAccessorDirective, multi: true }
|
||||
]
|
||||
})
|
||||
/**
|
||||
* Value accessor directive for inputs of type 'file'
|
||||
*/
|
||||
export class FileValueAccessorDirective implements ControlValueAccessor {
|
||||
value: any;
|
||||
onChange = (_) => { /* empty */ };
|
||||
|
Reference in New Issue
Block a user