@whiteguru/capacitor-plugin-file-picker
TypeScript icon, indicating that this package has built-in type declarations

6.0.1 • Public • Published

capacitor-plugin-file-picker

Capacitor plugin to pick files

Install (Capacitor 6.x)

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

Capacitor 5.x

npm install @whiteguru/capacitor-plugin-file-picker@^5.0.1
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>
Param Type
options FilePickerOptions

Returns: Promise<FilePickerResults>


Interfaces

FilePickerResults

Prop Type
files FilePickerResult[]

FilePickerResult

Prop Type Description
path string File Path
webPath string webPath returns a path that can be used to set the src attribute of an image for efficient loading and rendering.
name string File Name
extension string File Extensions

FilePickerOptions

Prop Type Description
multiple boolean Select multiple Files
mimes string[] Mimes to select

Dependents (0)

Package Sidebar

Install

npm i @whiteguru/capacitor-plugin-file-picker

Weekly Downloads

47

Version

6.0.1

License

MIT

Unpacked Size

27 kB

Total Files

25

Last publish

Collaborators

  • dragermrb