Skip to content

Commit

Permalink
Step 20.14: Add ngf-drop to the view
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and DAB0mB committed Dec 14, 2016
1 parent 6cf951f commit 1a4d644
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions imports/ui/components/partyUpload/partyUpload.html
@@ -1,9 +1,18 @@
<div layout="column">
<div>
<div>Click here to select image</div>
<div>
<strong>OR</strong>
</div>
<div>You can also drop image to here</div>
<div ngf-drop
ngf-select
ngf-change="partyUpload.addImages($files)"
ngf-drag-over-class="{accept:'dragover', reject:'dragover-err', delay:100}"
class="drop-box"
ngf-multiple="false"
ngf-allow-dir="false"
ngf-accept="'image/*'"
ngf-drop-available="true"
ng-hide="partyUpload.cropImgSrc">
<div>Click here to select image</div>
<div>
<strong>OR</strong>
</div>
<div>You can also drop image to here</div>
</div>
</div>

0 comments on commit 1a4d644

Please sign in to comment.