Skip to main content

Interface: FilepickerOptions

Hierarchy#

Properties#

accept#

Optional accept: string | string[]


backgroundUpload#

Optional backgroundUpload: boolean


conversions#

Optional conversions: FilepickerConversion[]


cropDim#

Optional cropDim: [number, number]


cropForce#

Optional cropForce: boolean


cropMax#

Optional cropMax: [number, number]


cropMin#

Optional cropMin: [number, number]


cropRatio#

Optional cropRatio: number


customCss#

Optional customCss: string


customSourceContainer#

Optional customSourceContainer: string


customSourcePath#

Optional customSourcePath: string


customText#

Optional customText: string


debug#

Optional debug: boolean


folders#

Optional folders: boolean


fromSources#

Optional fromSources: string[]


hide#

Optional hide: boolean


imageDim#

Optional imageDim: [number, number]


imageMax#

Optional imageMax: [number, number]


imageMin#

Optional imageMin: [number, number]


imageQuality#

Optional imageQuality: number


lang#

Optional lang: string


maxFiles#

Optional maxFiles: number


multiple#

Optional multiple: boolean


openTo#

Optional openTo: string


policy#

Optional policy: any


signature#

Optional signature: any


storeTo#

Optional storeTo: FilepickerStoreToOptions


transformations#

Optional transformations: Object

Type declaration#

NameType
crop?Object
crop.aspectRatio?number
crop.force?boolean

uploadSource#

Optional uploadSource: string


webcamDim#

Optional webcamDim: [number, number]