mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 17:13:44 +03:00
14 lines
348 B
TypeScript
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);
|
|
}
|
|
}
|