@dicdikshaorg/epub-player-v9
Version:
Contains Epub player library components powered by angular. These components are designed to be used in sunbird consumption platforms *(mobile app, web portal, offline desktop app)* to drive reusability, maintainability hence reducing the redundant develo
31 lines (30 loc) • 1.11 kB
TypeScript
import { AfterViewInit, ElementRef, EventEmitter, OnInit, OnDestroy, SimpleChanges, OnChanges } from '@angular/core';
import { ViwerService } from '../services/viewerService/viwer-service';
import { UtilService } from '../services/utilService/util.service';
export declare class EpubViewerComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
viwerService: ViwerService;
private utilService;
eBook: any;
rendition: any;
lastSection: any;
scrolled: boolean;
epubViewer: ElementRef;
epubSrc: string;
config: any;
identifier: string;
actions: EventEmitter<any>;
showFullScreen: boolean;
viewerEvent: EventEmitter<any>;
idForRendition: any;
epubBlob: object;
constructor(viwerService: ViwerService, utilService: UtilService);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngAfterViewInit(): Promise<void>;
displayEpub(): void;
handleActions(spine: any): void;
saveCurrentLocation(): void;
emitEndEvent(): void;
emitErrorEvent(): void;
ngOnDestroy(): void;
}