mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Add AfterViewInit interface to SearchControlComponent
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { Control, Validators } from 'angular2/common';
|
||||
import { Component, Input, Output, EventEmitter } from 'angular2/core';
|
||||
import { Component, Input, Output, EventEmitter, AfterViewInit } from 'angular2/core';
|
||||
import { AlfrescoService } from './../services/alfresco.service';
|
||||
|
||||
import { AlfrescoPipeTranslate, AlfrescoTranslationService } from 'ng2-alfresco-core/dist/ng2-alfresco-core';
|
||||
@@ -33,7 +33,7 @@ declare var componentHandler: any;
|
||||
providers: [AlfrescoService],
|
||||
pipes: [AlfrescoPipeTranslate]
|
||||
})
|
||||
export class AlfrescoSearchControlComponent {
|
||||
export class AlfrescoSearchControlComponent implements AfterViewInit {
|
||||
|
||||
@Input()
|
||||
searchTerm = '';
|
||||
|
Reference in New Issue
Block a user