Notwithstanding Previous Misdemeanors
Miss any of our Open RFC calls?Watch the recordings here! »

ember-filepicker

0.0.13 • Public • Published

Ember Filepicker

(This is a WIP and the documentation is not complete)

This addon provides a shim to the file upload service library filepicker.io

Steps to Use

  1. Install the addon
ember install ember-filepicker
  1. Add the API key config/environment.js file
filepicker: {
  key: '<filepicker.io API key>'
}
  1. Add the filepicker component to your template
{{ember-filepicker onSelection=(action 'fileSelected')}}
  1. Handle the returned list of uploaded files in the 'fileSelected' action
actions: {
  fileSelected(file) {
    // 'file' will contain a list of files if multiple mode is enabled
  }
}

Install

npm i ember-filepicker

DownloadsWeekly Downloads

3

Version

0.0.13

License

MIT

Last publish

Collaborators

  • avatar