mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 12:03:03 +00:00
fixed tests and added some more documentation
This commit is contained in:
@@ -224,6 +224,7 @@ export class InputSuggestionsComponent implements ControlValueAccessor, OnChange
|
||||
this.submitSuggestion.emit(data);
|
||||
}
|
||||
|
||||
/* START - Method's needed to add ngModel (ControlValueAccessor) to a component */
|
||||
registerOnChange(fn: any): void {
|
||||
this.propagateChange = fn;
|
||||
}
|
||||
@@ -248,8 +249,5 @@ export class InputSuggestionsComponent implements ControlValueAccessor, OnChange
|
||||
this._value = val;
|
||||
this.propagateChange(this._value);
|
||||
}
|
||||
|
||||
focus() {
|
||||
this.queryInput.nativeElement.focus();
|
||||
}
|
||||
/* END - Method's needed to add ngModel to a component */
|
||||
}
|
||||
|
Reference in New Issue
Block a user