redoc/lib/services/search.service.ts
2017-02-02 23:13:40 +02:00

14 lines
348 B
TypeScript

import { Injectable } from '@angular/core';
import { AppStateService } from './app-state.service';
@Injectable()
export class SearchService {
constructor(private app: AppStateService) {
window['locator'] = this;
}
ensureSearchVisible(containingPointers: string[]) {
this.app.searchContainingPointers.next(containingPointers);
}
}