go-captcha-vue 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -4
- package/dist/go-captcha-vue.es.js +299 -301
- package/dist/go-captcha-vue.umd.js +8 -8
- package/dist/index.d.ts +2 -4
- package/package.json +14 -1
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Go Captcha Vue Package
|
|
2
2
|
|
|
3
|
+
<p> ⭐️ If it helps you, please give a star.</p>
|
|
4
|
+
<img src="http://47.104.180.148/go-captcha/go-captcha-v2.jpg" alt="Poster">
|
|
5
|
+
|
|
6
|
+
|
|
3
7
|
<br/>
|
|
4
8
|
|
|
5
9
|
| Vue Version | Go Captcha Version |
|
|
@@ -192,19 +196,22 @@ interface RotateEvents {
|
|
|
192
196
|
|
|
193
197
|
## Button
|
|
194
198
|
```vue
|
|
195
|
-
<gocaptcha-button />
|
|
199
|
+
<gocaptcha-button @clickEvent="() => console.log('hello')"/>
|
|
196
200
|
```
|
|
197
201
|
|
|
198
202
|
### params
|
|
199
203
|
```ts
|
|
200
|
-
interface
|
|
201
|
-
config?:
|
|
202
|
-
clickEvent?: () => void;
|
|
204
|
+
interface $Attr {
|
|
205
|
+
config?: CaptchaConfig;
|
|
203
206
|
disabled?: boolean;
|
|
204
207
|
type?: "default" | "warn" | "error" | "success";
|
|
205
208
|
title?: string;
|
|
206
209
|
}
|
|
207
210
|
|
|
211
|
+
interface $Event {
|
|
212
|
+
clickEvent?: ()=>void; // event -> @clickEvent=""
|
|
213
|
+
}
|
|
214
|
+
|
|
208
215
|
export interface ButtonConfig {
|
|
209
216
|
width?: number;
|
|
210
217
|
height?: number;
|