We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6590d56 commit cebcb9aCopy full SHA for cebcb9a
README.md
@@ -25,18 +25,18 @@ yarn add vue-picture-input
25
<template>
26
<div class="hello">
27
<picture-input
28
- ref="pictureInput"
29
- @change="onChange"
+ ref="pictureInput"
30
width="600"
31
height="600"
32
margin="16"
33
accept="image/jpeg,image/png"
34
size="10"
35
- buttonClass="btn"
36
- :customStrings="{
+ button-class="btn"
+ :custom-strings="{
37
upload: '<h1>Bummer!</h1>',
38
drag: 'Drag a 😺 GIF or GTFO'
39
- }">
+ }"
+ @change="onChange">
40
</picture-input>
41
</div>
42
</template>
0 commit comments