forked from sagi/seepur
Accept only images - when selecting files
This commit is contained in:
parent
f1cba399af
commit
31f01a2850
6 changed files with 335 additions and 7473 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -8,6 +8,7 @@
|
||||||
:prevent-white-space="true"
|
:prevent-white-space="true"
|
||||||
:show-remove-button="false"
|
:show-remove-button="false"
|
||||||
:disable-drag-to-move="isDefaultImage"
|
:disable-drag-to-move="isDefaultImage"
|
||||||
|
:accept="'image/*'"
|
||||||
@new-image="isDefaultImage=false;zoomState=1"
|
@new-image="isDefaultImage=false;zoomState=1"
|
||||||
></croppa>
|
></croppa>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
|
@ -117,6 +117,7 @@
|
||||||
v-model="pages[currentPage].croppa"
|
v-model="pages[currentPage].croppa"
|
||||||
:prevent-white-space="true"
|
:prevent-white-space="true"
|
||||||
:show-remove-button="false"
|
:show-remove-button="false"
|
||||||
|
:accept="'image/*'"
|
||||||
:initial-image="pages[currentPage].image"
|
:initial-image="pages[currentPage].image"
|
||||||
:width="croppaWidth"
|
:width="croppaWidth"
|
||||||
:height="croppaHeight"
|
:height="croppaHeight"
|
||||||
|
|
Loading…
Reference in a new issue