@w11k/ngx-present
Version:
Angular based Presentation Tool
24 lines (23 loc) • 963 B
TypeScript
import { OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { OnDestroyMixin } from '@w11k/ngx-componentdestroyed';
import { PresentationService } from '../core/presentation.service';
import { Slide } from '../core/presentation.types';
import { OverviewService, OverviewState } from './overview.service';
export declare class OverviewRouteComponent extends OnDestroyMixin implements OnInit {
private readonly service;
private readonly router;
private readonly presentation;
slides: Slide[] | undefined;
zoomFactor: number;
view: OverviewState | undefined;
constructor(service: OverviewService, router: Router, presentation: PresentationService);
ngOnInit(): void;
zoomIn(): void;
resetZoom(): void;
zoomOut(): void;
getRouterLink(slide: Slide): (string | number)[];
navigate(event: MouseEvent, slide: Slide): void;
toggleBreak(): void;
shouldBreak(slide: Slide): boolean;
}