@w11k/ngx-present
Version:
Angular based Presentation Tool
22 lines (21 loc) • 1.13 kB
TypeScript
import { OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { OnDestroyMixin } from '@w11k/ngx-componentdestroyed';
import { Observable } from 'rxjs';
import { PresentationService } from '../core/presentation.service';
import { Slide } from '../core/presentation.types';
import { SlideAndModeResolver } from '../core/slide-and-mode-resolver.service';
import { SlideBySlideTitleService } from '../slide-by-slide/slide-by-slide-title.service';
import { SlideBySlideService } from '../slide-by-slide/slide-by-slide.service';
export declare class PresenterRouteComponent extends OnDestroyMixin implements OnInit {
private readonly route;
private readonly slideRouter;
private readonly presentation;
private readonly slides;
private readonly title;
currentSlide$: Observable<Slide>;
preview1$: Observable<Slide | undefined>;
preview2$: Observable<Slide | undefined>;
constructor(route: ActivatedRoute, slideRouter: SlideAndModeResolver, presentation: PresentationService, slides: SlideBySlideService, title: SlideBySlideTitleService);
ngOnInit(): void;
}