Home Reference Source
import PDFBuilder from 'formiojs/src/PDFBuilder.js'
public class | source

PDFBuilder

Extends:

src/WebformBuilder.js~WebformBuilder → PDFBuilder

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public get

defaultGroups: {"pdf": *, "basic": *, "advanced": *, "layout": *, "data": *, "premium": *, "resource": *}

public
public
public get

hasPDF: *

public
public
public
public get
public
public

webform: *

Method Summary

Public Methods
public
public

attach(element: *): *

public

createForm(options: *): *

public

destroy(deleteFromGlobal: *)

public

getParentContainer(component: *): {"formioComponent": *, "formioContainer": *, "originalComponent": *}

public
public

init()

public
public
public

onDragEnd(e: *)

public

onDragStart(e: *)

public
public
public

render(): *

public

setUploadError(message: *)

public
public
public

upload(file: *)

Public Constructors

public constructor() source

Public Members

public className: string source

public get defaultGroups: {"pdf": *, "basic": *, "advanced": *, "layout": *, "data": *, "premium": *, "resource": *} source

public dragDropEnabled: boolean source

public dropEvent: * source

public get hasPDF: * source

public itemOffsetX: * source

public itemOffsetY: * source

public pdfLoaded: boolean source

public get projectUrl: * source

public repeatablePaths: * source

public webform: * source

Public Methods

public afterAttach() source

public attach(element: *): * source

Params:

NameTypeAttributeDescription
element *

Return:

*

public createForm(options: *): * source

Params:

NameTypeAttributeDescription
options *

Return:

*

public destroy(deleteFromGlobal: *) source

Params:

NameTypeAttributeDescription
deleteFromGlobal *

public getParentContainer(component: *): {"formioComponent": *, "formioContainer": *, "originalComponent": *} source

Params:

NameTypeAttributeDescription
component *

Return:

{"formioComponent": *, "formioContainer": *, "originalComponent": *}

public highlightInvalidComponents() source

public init() source

public initDropzoneEvents() source

public initIframeEvents() source

public onDragEnd(e: *) source

Params:

NameTypeAttributeDescription
e *

public onDragStart(e: *) source

Params:

NameTypeAttributeDescription
e *

public onDropzoneDrop(e: *): boolean source

Params:

NameTypeAttributeDescription
e *

Return:

boolean

public prepSidebarComponentsForDrag() source

public render(): * source

Return:

*

public setUploadError(message: *) source

Params:

NameTypeAttributeDescription
message *

public updateDragAndDrop() source

public updateDropzoneDimensions() source

public upload(file: *) source

Params:

NameTypeAttributeDescription
file *