5.0.1 • Published 1 year ago

@whiteguru/capacitor-plugin-file-picker v5.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

capacitor-plugin-file-picker

Capacitor plugin to pick files

Install

npm install @whiteguru/capacitor-plugin-file-picker
npx cap sync

Capacitor 4.x

npm install @whiteguru/capacitor-plugin-file-picker@4.0.1
npx cap sync

Capacitor 3.x

npm install @whiteguru/capacitor-plugin-file-picker@3.0.1
npx cap sync

API

pick(...)

pick(options: FilePickerOptions) => Promise<FilePickerResults>
ParamType
optionsFilePickerOptions

Returns: Promise<FilePickerResults>


Interfaces

FilePickerResults

PropType
filesFilePickerResult[]

FilePickerResult

PropTypeDescription
pathstringFile Path
webPathstringwebPath returns a path that can be used to set the src attribute of an image for efficient loading and rendering.
namestringFile Name
extensionstringFile Extensions

FilePickerOptions

PropTypeDescription
multiplebooleanSelect multiple Files
mimesstring[]Mimes to select
5.0.1

1 year ago

3.0.1

2 years ago

4.0.1

2 years ago

1.0.2

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago