UNPKG

@tekdi/sunbird-quml-player

Version:

The QuML player library components are powered by Angular. This player is primarily designed to be used on Sunbird consumption platforms (mobile app, web portal, offline desktop app) to drive reusability and maintainability, hence reducing the redundant d

58 lines (57 loc) 3.56 kB
import { OnInit, EventEmitter, OnChanges, OnDestroy, AfterViewInit } from '@angular/core'; import { ViewerService } from '../services/viewer-service/viewer-service'; import * as i0 from "@angular/core"; export declare class HeaderComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy { private viewerService; questions?: any; duration?: any; warningTime?: string; showWarningTimer?: boolean; disablePreviousNavigation: boolean; showTimer: boolean; totalNoOfQuestions: number; currentSlideIndex: number; active: boolean; initializeTimer: boolean; endPageReached: boolean; loadScoreBoard: boolean; replayed: boolean; currentSolutions: any; showFeedBack: boolean; disableNext?: boolean; startPageInstruction?: string; showStartPage?: boolean; attempts?: { max: number; current: number; }; showDeviceOrientation: boolean; showLegend: boolean; nextSlideClicked: EventEmitter<any>; prevSlideClicked: EventEmitter<any>; durationEnds: EventEmitter<any>; showSolution: EventEmitter<any>; toggleScreenRotate: EventEmitter<any>; minutes: number; seconds: string | number; private intervalRef?; showWarning: boolean; isMobilePortrait: boolean; time: any; showProgressIndicatorPopUp: boolean; constructor(viewerService: ViewerService); ngOnInit(): void; ngOnChanges(): void; ngAfterViewInit(): void; ngOnDestroy(): void; nextSlide(): void; prevSlide(): void; timer(): void; showCountUp(): void; onAnswerKeyDown(event: KeyboardEvent): void; openProgressIndicatorPopup(): void; onKeydownHandler(event: KeyboardEvent): void; onProgressPopupClose(): void; static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "quml-header", never, { "questions": { "alias": "questions"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "warningTime": { "alias": "warningTime"; "required": false; }; "showWarningTimer": { "alias": "showWarningTimer"; "required": false; }; "disablePreviousNavigation": { "alias": "disablePreviousNavigation"; "required": false; }; "showTimer": { "alias": "showTimer"; "required": false; }; "totalNoOfQuestions": { "alias": "totalNoOfQuestions"; "required": false; }; "currentSlideIndex": { "alias": "currentSlideIndex"; "required": false; }; "active": { "alias": "active"; "required": false; }; "initializeTimer": { "alias": "initializeTimer"; "required": false; }; "endPageReached": { "alias": "endPageReached"; "required": false; }; "loadScoreBoard": { "alias": "loadScoreBoard"; "required": false; }; "replayed": { "alias": "replayed"; "required": false; }; "currentSolutions": { "alias": "currentSolutions"; "required": false; }; "showFeedBack": { "alias": "showFeedBack"; "required": false; }; "disableNext": { "alias": "disableNext"; "required": false; }; "startPageInstruction": { "alias": "startPageInstruction"; "required": false; }; "showStartPage": { "alias": "showStartPage"; "required": false; }; "attempts": { "alias": "attempts"; "required": false; }; "showDeviceOrientation": { "alias": "showDeviceOrientation"; "required": false; }; "showLegend": { "alias": "showLegend"; "required": false; }; }, { "nextSlideClicked": "nextSlideClicked"; "prevSlideClicked": "prevSlideClicked"; "durationEnds": "durationEnds"; "showSolution": "showSolution"; "toggleScreenRotate": "toggleScreenRotate"; }, never, never, false, never>; }