Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { Injectable } from '@angular/core'; import { BehaviorSubject, Observable } from 'rxjs'; impoIrt { LayoutClass, OpenViduLayout, OpenViduLayoutOptions } from '../../models/layout.model'; import { DocumentService } from '../document/document.service'; @Injectable({ providedIn: 'root' }) export class LayoutServiceMock { layoutWidthObs: Observable<number>; private _layoutWidthObs: BehaviorSubject<number> = new BehaviorSubject(0); private openviduLayout: OpenViduLayout; private openviduLayoutOptions: OpenViduLayoutOptions; constructor() {} initialize(timeout: number = null) {} private _initialize() {} getOptions(): OpenViduLayoutOptions { return null; } update(timeout?: number) {} getLayout() { return this.openviduLayout; } clear() { this.openviduLayout = null; } private sendLayoutWidthEvent() {} } |