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.

17 lines (16 loc) 694 B
import { IRect, DocController } from '../doc_controller'; import { IPdfBrickOptions, PdfBrick } from './pdf_brick'; import { ISelectionInputStyle } from '../style/types'; export interface ICheckItemBrickOptions extends IPdfBrickOptions { checked: boolean; readOnly: boolean; fieldName: string; updateOptions: (options: any) => void; } export declare class CheckItemBrick extends PdfBrick { protected options: ICheckItemBrickOptions; protected style: ISelectionInputStyle; constructor(controller: DocController, rect: IRect, options: ICheckItemBrickOptions, style: ISelectionInputStyle); renderInteractive(): Promise<void>; renderReadOnly(): Promise<void>; }