0.0.4 • Published 3 years ago
@innoline/capacitor-file-chooser v0.0.4
Simple file chooser
use https://github.com/hinddeep/capacitor-file-selector
Install
npm install @innoline/capacitor-file-chooser
npx cap syncAPI
getFiles(...)
getFiles(accept?: string | undefined) => Promise<ChooserData>| Param | Type |
|---|---|
accept | string |
Returns: Promise<ChooserData>
Interfaces
ChooserData
| Prop | Type |
|---|---|
data | ChooserFile[] |
message | string |
code | string |
ChooserFile
| Prop | Type |
|---|---|
mediaType | string |
name | string |
uri | string |
size | number |