From 5d2018df8a6b8f73ed8f0b1400a7d7f848a59f8c Mon Sep 17 00:00:00 2001 From: peterbaricic Date: Wed, 22 Feb 2017 18:11:18 +0100 Subject: [PATCH 1/2] Customizable text Allow user to display custom text (usable for translations) --- PictureInput.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/PictureInput.vue b/PictureInput.vue index b87f9ba..dbeac15 100644 --- a/PictureInput.vue +++ b/PictureInput.vue @@ -22,8 +22,8 @@
- Drag an image or
click here to select a file
- Tap here to select a photo
from your gallery
+ +
@@ -66,6 +66,12 @@ export default { }, buttonClass: { default: 'btn btn-primary button' + }, + dragText: { + default: 'Drag an image or
click here to select a file' + }, + tapText: { + default: 'Tap here to select a photo
from your gallery' } }, data () { From 66fbc2b76199b7f4fce4ec0e9e8061b29c84824e Mon Sep 17 00:00:00 2001 From: peterbaricic Date: Thu, 23 Feb 2017 07:15:02 +0100 Subject: [PATCH 2/2] All texts are customizable --- PictureInput.vue | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/PictureInput.vue b/PictureInput.vue index dbeac15..bdd9090 100644 --- a/PictureInput.vue +++ b/PictureInput.vue @@ -1,7 +1,7 @@