UNPKG

survey-pdf

Version:

Renders JSON-driven SurveyJS forms and their responses as PDF documents in the browser or Node.js: fillable interactive PDF forms (AcroForm) or static printouts.

19 lines (18 loc) 710 B
import { IRect, DocController } from '../doc_controller'; import { IPdfBrickOptions, PdfBrick } from './pdf_brick'; import { IInputStyle } from '../style/types'; export interface IDropdownBrickOptions extends IPdfBrickOptions { fieldName: string; isReadOnly: boolean; items: Array<string>; showOptionsCaption: boolean; optionsCaption: string; value: string; } export declare class DropdownBrick extends PdfBrick { protected controller: DocController; protected options: IDropdownBrickOptions; protected style: IInputStyle; constructor(controller: DocController, rect: IRect, options: IDropdownBrickOptions, style: IInputStyle); renderInteractive(): Promise<void>; }