UNPKG

survey-pdf

Version:

survey.pdf.js is a SurveyJS PDF Library. It is a easy way to export SurveyJS surveys to PDF. It uses JSON for survey metadata.

12 lines (11 loc) 554 B
import { EventBase } from 'survey-core'; import { SurveyPDF } from '../survey'; import { DocController } from '../doc_controller'; import { IPdfBrick } from '../pdf_render/pdf_brick'; export declare class EventAsync<Sender, Options> extends EventBase<Sender, Options> { unshift(func: (sender: Sender, options: Options) => any): void; fire(sender: Sender, options: Options): Promise<void>; } export declare class EventHandler { static process_header_events(survey: SurveyPDF, controller: DocController, packs: IPdfBrick[][]): Promise<void>; }