mardi 28 mars 2017

How to upload image through form into public folder directly in ember js.

<input
  multiple="true"
  onchange=
  accept="image/png,image/jpeg"
  type="file"
/>

actions: {
  upload: function(event) {
    console.log('upload');
  }
}

So how do I save the event to a certain url say '/Images/Picture_collection'




Aucun commentaire:

Enregistrer un commentaire