diff --git a/packages/create-vant-cli-app/generators/vue2/src/demo-button/README.md b/packages/create-vant-cli-app/generators/vue2/src/demo-button/README.md index f11c6b3c1..0936344de 100644 --- a/packages/create-vant-cli-app/generators/vue2/src/demo-button/README.md +++ b/packages/create-vant-cli-app/generators/vue2/src/demo-button/README.md @@ -32,9 +32,9 @@ Vue.use(DemoButton); ### Events -| 事件名 | 说明 | 回调参数 | -| ------ | ---------- | ------------ | -| click | 点击时触发 | event: Event | +| 事件名 | 说明 | 回调参数 | +| ------ | ---------- | ------------------- | +| click | 点击时触发 | _event: MouseEvent_ | ### Slots diff --git a/packages/create-vant-cli-app/generators/vue3/src/demo-button/README.md b/packages/create-vant-cli-app/generators/vue3/src/demo-button/README.md index f11c6b3c1..0936344de 100644 --- a/packages/create-vant-cli-app/generators/vue3/src/demo-button/README.md +++ b/packages/create-vant-cli-app/generators/vue3/src/demo-button/README.md @@ -32,9 +32,9 @@ Vue.use(DemoButton); ### Events -| 事件名 | 说明 | 回调参数 | -| ------ | ---------- | ------------ | -| click | 点击时触发 | event: Event | +| 事件名 | 说明 | 回调参数 | +| ------ | ---------- | ------------------- | +| click | 点击时触发 | _event: MouseEvent_ | ### Slots diff --git a/src/button/README.md b/src/button/README.md index c65b0ce4a..4bae618d0 100644 --- a/src/button/README.md +++ b/src/button/README.md @@ -132,7 +132,7 @@ app.use(Button); | Event | Description | Arguments | | --- | --- | --- | -| click | Emitted when button is clicked and not disabled or loading | _event: Event_ | +| click | Emitted when button is clicked and not disabled or loading | _event: MouseEvent_ | | touchstart | Emitted when button is touched | _event: TouchEvent_ | ### Slots diff --git a/src/button/README.zh-CN.md b/src/button/README.zh-CN.md index 3904d51e0..287974058 100644 --- a/src/button/README.zh-CN.md +++ b/src/button/README.zh-CN.md @@ -159,7 +159,7 @@ app.use(Button); | 事件名 | 说明 | 回调参数 | | ---------- | ---------------------------------------- | ------------------- | -| click | 点击按钮,且按钮状态不为加载或禁用时触发 | _event: Event_ | +| click | 点击按钮,且按钮状态不为加载或禁用时触发 | _event: MouseEvent_ | | touchstart | 开始触摸按钮时触发 | _event: TouchEvent_ | ### Slots diff --git a/src/card/README.md b/src/card/README.md index ad7862492..9ce855975 100644 --- a/src/card/README.md +++ b/src/card/README.md @@ -81,10 +81,10 @@ Use slot to custom content. ### Events -| Event | Description | Arguments | -| ----------- | --------------------------------- | -------------- | -| click | Emitted when component is clicked | _event: Event_ | -| click-thumb | Emitted when thumb is clicked | _event: Event_ | +| Event | Description | Arguments | +| ----------- | --------------------------------- | ------------------- | +| click | Emitted when component is clicked | _event: MouseEvent_ | +| click-thumb | Emitted when thumb is clicked | _event: MouseEvent_ | ### Slots diff --git a/src/card/README.zh-CN.md b/src/card/README.zh-CN.md index fa4e50d8e..de79fde62 100644 --- a/src/card/README.zh-CN.md +++ b/src/card/README.zh-CN.md @@ -87,10 +87,10 @@ app.use(Card); ### Events -| 事件名 | 说明 | 回调参数 | -| ----------- | -------------------- | -------------- | -| click | 点击时触发 | _event: Event_ | -| click-thumb | 点击自定义图片时触发 | _event: Event_ | +| 事件名 | 说明 | 回调参数 | +| ----------- | -------------------- | ------------------- | +| click | 点击时触发 | _event: MouseEvent_ | +| click-thumb | 点击自定义图片时触发 | _event: MouseEvent_ | ### Slots diff --git a/src/cell/README.md b/src/cell/README.md index 3a9275409..b64a53573 100644 --- a/src/cell/README.md +++ b/src/cell/README.md @@ -154,9 +154,9 @@ app.use(CellGroup); ### Cell Events -| Event | Description | Arguments | -| ----- | ---------------------------- | -------------- | -| click | Emitted when cell is clicked | _event: Event_ | +| Event | Description | Arguments | +| ----- | ---------------------------- | ------------------- | +| click | Emitted when cell is clicked | _event: MouseEvent_ | ### CellGroup Slots diff --git a/src/cell/README.zh-CN.md b/src/cell/README.zh-CN.md index 48d114642..e68c5fa75 100644 --- a/src/cell/README.zh-CN.md +++ b/src/cell/README.zh-CN.md @@ -161,9 +161,9 @@ app.use(CellGroup); ### Cell Events -| 事件名 | 说明 | 回调参数 | -| ------ | ---------------- | -------------- | -| click | 点击单元格时触发 | _event: Event_ | +| 事件名 | 说明 | 回调参数 | +| ------ | ---------------- | ------------------- | +| click | 点击单元格时触发 | _event: MouseEvent_ | ### CellGroup Slots diff --git a/src/checkbox/README.md b/src/checkbox/README.md index 2e356bacf..f12ebe8b3 100644 --- a/src/checkbox/README.md +++ b/src/checkbox/README.md @@ -264,10 +264,10 @@ export default { ### Checkbox Events -| Event | Description | Parameters | -| ------ | ------------------------------------ | ------------------ | -| change | Emitted when value changed | _checked: boolean_ | -| click | Emitted when the checkbox is clicked | _event: Event_ | +| Event | Description | Parameters | +| ------ | ------------------------------------ | ------------------- | +| change | Emitted when value changed | _checked: boolean_ | +| click | Emitted when the checkbox is clicked | _event: MouseEvent_ | ### CheckboxGroup Events diff --git a/src/checkbox/README.zh-CN.md b/src/checkbox/README.zh-CN.md index 7b2f1cfc7..dc89e36bd 100644 --- a/src/checkbox/README.zh-CN.md +++ b/src/checkbox/README.zh-CN.md @@ -286,10 +286,10 @@ export default { ### Checkbox Events -| 事件名 | 说明 | 回调参数 | -| ------ | ------------------------ | ------------------ | -| change | 当绑定值变化时触发的事件 | _checked: boolean_ | -| click | 点击复选框时触发 | _event: Event_ | +| 事件名 | 说明 | 回调参数 | +| ------ | ------------------------ | ------------------- | +| change | 当绑定值变化时触发的事件 | _checked: boolean_ | +| click | 点击复选框时触发 | _event: MouseEvent_ | ### CheckboxGroup Events diff --git a/src/col/README.md b/src/col/README.md index 5032d985f..cee76f536 100644 --- a/src/col/README.md +++ b/src/col/README.md @@ -100,12 +100,12 @@ Set grid spacing using `gutter` attribute. The default value is 0. ### Row Events -| Event | Description | Arguments | -| ----- | ------------------------------- | -------------- | -| click | Emitted when the row is clicked | _event: Event_ | +| Event | Description | Arguments | +| ----- | ------------------------------- | ------------------- | +| click | Emitted when the row is clicked | _event: MouseEvent_ | ### Col Events -| Event | Description | Arguments | -| ----- | ------------------------------- | -------------- | -| click | Emitted when the col is clicked | _event: Event_ | +| Event | Description | Arguments | +| ----- | ------------------------------- | ------------------- | +| click | Emitted when the col is clicked | _event: MouseEvent_ | diff --git a/src/col/README.zh-CN.md b/src/col/README.zh-CN.md index c005f499d..24d4037a0 100644 --- a/src/col/README.zh-CN.md +++ b/src/col/README.zh-CN.md @@ -105,12 +105,12 @@ Layout 组件提供了 `24列栅格`,通过在 `Col` 上添加 `span` 属性 ### Row Events -| 事件名 | 说明 | 回调参数 | -| ------ | ---------- | -------------- | -| click | 点击时触发 | _event: Event_ | +| 事件名 | 说明 | 回调参数 | +| ------ | ---------- | ------------------- | +| click | 点击时触发 | _event: MouseEvent_ | ### Col Events -| 事件名 | 说明 | 回调参数 | -| ------ | ---------- | -------------- | -| click | 点击时触发 | _event: Event_ | +| 事件名 | 说明 | 回调参数 | +| ------ | ---------- | ------------------- | +| click | 点击时触发 | _event: MouseEvent_ | diff --git a/src/contact-card/README.md b/src/contact-card/README.md index 029a7e5ef..8ab1cf4f8 100644 --- a/src/contact-card/README.md +++ b/src/contact-card/README.md @@ -86,9 +86,9 @@ export default { ### Events -| Event | Description | Arguments | -| ----- | --------------------------------- | -------------- | -| click | Emitted when component is clicked | _event: Event_ | +| Event | Description | Arguments | +| ----- | --------------------------------- | ------------------- | +| click | Emitted when component is clicked | _event: MouseEvent_ | ### Less Variables diff --git a/src/contact-card/README.zh-CN.md b/src/contact-card/README.zh-CN.md index f9a117417..b2467d269 100644 --- a/src/contact-card/README.zh-CN.md +++ b/src/contact-card/README.zh-CN.md @@ -85,9 +85,9 @@ export default { ### Events -| 事件名 | 说明 | 回调参数 | -| ------ | ---------- | -------------- | -| click | 点击时触发 | _event: Event_ | +| 事件名 | 说明 | 回调参数 | +| ------ | ---------- | ------------------- | +| click | 点击时触发 | _event: MouseEvent_ | ### 样式变量 diff --git a/src/field/README.md b/src/field/README.md index 6813767d0..20f6e1de9 100644 --- a/src/field/README.md +++ b/src/field/README.md @@ -276,11 +276,11 @@ Field support all native events of input tag | update:model-value | Emitted when input value changed | _value: string_ | | focus | Emitted when input is focused | _event: Event_ | | blur | Emitted when input is blured | _event: Event_ | -| clear | Emitted when the clear icon is clicked | _event: Event_ | -| click | Emitted when component is clicked | _event: Event_ | -| click-input | Emitted when the input is clicked | _event: Event_ | -| click-left-icon | Emitted when the left icon is clicked | _event: Event_ | -| click-right-icon | Emitted when the right icon is clicked | _event: Event_ | +| clear | Emitted when the clear icon is clicked | _event: MouseEvent_ | +| click | Emitted when component is clicked | _event: MouseEvent_ | +| click-input | Emitted when the input is clicked | _event: MouseEvent_ | +| click-left-icon | Emitted when the left icon is clicked | _event: MouseEvent_ | +| click-right-icon | Emitted when the right icon is clicked | _event: MouseEvent_ | ### Methods diff --git a/src/field/README.zh-CN.md b/src/field/README.zh-CN.md index 520a5cada..c68440b29 100644 --- a/src/field/README.zh-CN.md +++ b/src/field/README.zh-CN.md @@ -297,11 +297,11 @@ export default { | update:model-value | 输入框内容变化时触发 | _value: string (当前输入的值)_ | | focus | 输入框获得焦点时触发 | _event: Event_ | | blur | 输入框失去焦点时触发 | _event: Event_ | -| clear | 点击清除按钮时触发 | _event: Event_ | -| click | 点击 Field 时触发 | _event: Event_ | -| click-input | 点击输入区域时触发 | _event: Event_ | -| click-left-icon | 点击左侧图标时触发 | _event: Event_ | -| click-right-icon | 点击右侧图标时触发 | _event: Event_ | +| clear | 点击清除按钮时触发 | _event: MouseEvent_ | +| click | 点击 Field 时触发 | _event: MouseEvent_ | +| click-input | 点击输入区域时触发 | _event: MouseEvent_ | +| click-left-icon | 点击左侧图标时触发 | _event: MouseEvent_ | +| click-right-icon | 点击右侧图标时触发 | _event: MouseEvent_ | ### 方法 diff --git a/src/grid/README.md b/src/grid/README.md index ed48c71e7..14333627a 100644 --- a/src/grid/README.md +++ b/src/grid/README.md @@ -122,9 +122,9 @@ app.use(GridItem); ### GridItem Events -| Event | Description | Arguments | -| ----- | --------------------------------- | -------------- | -| click | Emitted when component is clicked | _event: Event_ | +| Event | Description | Arguments | +| ----- | --------------------------------- | ------------------- | +| click | Emitted when component is clicked | _event: MouseEvent_ | ### GridItem Slots diff --git a/src/grid/README.zh-CN.md b/src/grid/README.zh-CN.md index 7908e948d..4a0c3fa9f 100644 --- a/src/grid/README.zh-CN.md +++ b/src/grid/README.zh-CN.md @@ -142,9 +142,9 @@ app.use(GridItem); ### GridItem Events -| 事件名 | 说明 | 回调参数 | -| ------ | -------------- | -------------- | -| click | 点击格子时触发 | _event: Event_ | +| 事件名 | 说明 | 回调参数 | +| ------ | -------------- | ------------------- | +| click | 点击格子时触发 | _event: MouseEvent_ | ### GridItem Slots diff --git a/src/icon/README.md b/src/icon/README.md index dc44aded4..6ebf87768 100644 --- a/src/icon/README.md +++ b/src/icon/README.md @@ -97,6 +97,6 @@ import 'vant/lib/icon/local.css'; ### Events -| Event | Description | Arguments | -| ----- | ---------------------------- | -------------- | -| click | Emitted when icon is clicked | _event: Event_ | +| Event | Description | Arguments | +| ----- | ---------------------------- | ------------------- | +| click | Emitted when icon is clicked | _event: MouseEvent_ | diff --git a/src/icon/README.zh-CN.md b/src/icon/README.zh-CN.md index 48916c11e..d21a9b850 100644 --- a/src/icon/README.zh-CN.md +++ b/src/icon/README.zh-CN.md @@ -103,6 +103,6 @@ import 'vant/lib/icon/local.css'; ### Events -| 事件名 | 说明 | 回调参数 | -| ------ | -------------- | -------------- | -| click | 点击图标时触发 | _event: Event_ | +| 事件名 | 说明 | 回调参数 | +| ------ | -------------- | ------------------- | +| click | 点击图标时触发 | _event: MouseEvent_ | diff --git a/src/image/README.md b/src/image/README.md index 40cf116cb..079e6a674 100644 --- a/src/image/README.md +++ b/src/image/README.md @@ -97,11 +97,11 @@ app.use(Lazyload); ### Events -| Event | Description | Arguments | -| ----- | ------------------------------ | -------------- | -| click | Emitted when image is clicked | _event: Event_ | -| load | Emitted when image loaded | - | -| error | Emitted when image load failed | - | +| Event | Description | Arguments | +| ----- | ------------------------------ | ------------------- | +| click | Emitted when image is clicked | _event: MouseEvent_ | +| load | Emitted when image loaded | - | +| error | Emitted when image load failed | - | ### Slots diff --git a/src/image/README.zh-CN.md b/src/image/README.zh-CN.md index f3a05512c..75bc88902 100644 --- a/src/image/README.zh-CN.md +++ b/src/image/README.zh-CN.md @@ -129,11 +129,11 @@ app.use(Lazyload); ### Events -| 事件名 | 说明 | 回调参数 | -| ------ | ------------------ | -------------- | -| click | 点击图片时触发 | _event: Event_ | -| load | 图片加载完毕时触发 | - | -| error | 图片加载失败时触发 | - | +| 事件名 | 说明 | 回调参数 | +| ------ | ------------------ | ------------------- | +| click | 点击图片时触发 | _event: MouseEvent_ | +| load | 图片加载完毕时触发 | - | +| error | 图片加载失败时触发 | - | ### Slots diff --git a/src/nav-bar/README.md b/src/nav-bar/README.md index 0e7711faf..c2f20edce 100644 --- a/src/nav-bar/README.md +++ b/src/nav-bar/README.md @@ -76,10 +76,10 @@ export default { ### Events -| Event | Description | Arguments | -| ----------- | ---------------------------------------- | --------- | -| click-left | Emitted when the left button is clicked | - | -| click-right | Emitted when the right button is clicked | - | +| Event | Description | Arguments | +| ----------- | ---------------------------------------- | ------------------- | +| click-left | Emitted when the left button is clicked | _event: MouseEvent_ | +| click-right | Emitted when the right button is clicked | _event: MouseEvent_ | ### Less Variables diff --git a/src/nav-bar/README.zh-CN.md b/src/nav-bar/README.zh-CN.md index c156452e8..c5f5a1bec 100644 --- a/src/nav-bar/README.zh-CN.md +++ b/src/nav-bar/README.zh-CN.md @@ -78,10 +78,10 @@ export default { ### Events -| 事件名 | 说明 | 回调参数 | -| ----------- | ------------------ | -------- | -| click-left | 点击左侧按钮时触发 | - | -| click-right | 点击右侧按钮时触发 | - | +| 事件名 | 说明 | 回调参数 | +| ----------- | ------------------ | ------------------- | +| click-left | 点击左侧按钮时触发 | _event: MouseEvent_ | +| click-right | 点击右侧按钮时触发 | _event: MouseEvent_ | ### 样式变量 diff --git a/src/notice-bar/README.md b/src/notice-bar/README.md index 1779ce7db..ac2fb637d 100644 --- a/src/notice-bar/README.md +++ b/src/notice-bar/README.md @@ -95,11 +95,11 @@ app.use(NoticeBar); ### Events -| Event | Description | Arguments | -| ------ | ---------------------------------- | -------------- | -| click | Emitted when NoticeBar is clicked | _event: Event_ | -| close | Emitted when NoticeBar is closed | _event: Event_ | -| replay | Emitted when NoticeBar is replayed | - | +| Event | Description | Arguments | +| ------ | ---------------------------------- | ------------------- | +| click | Emitted when NoticeBar is clicked | _event: MouseEvent_ | +| close | Emitted when NoticeBar is closed | _event: MouseEvent_ | +| replay | Emitted when NoticeBar is replayed | - | ### Slots diff --git a/src/notice-bar/README.zh-CN.md b/src/notice-bar/README.zh-CN.md index 7f49dc747..f9fbef571 100644 --- a/src/notice-bar/README.zh-CN.md +++ b/src/notice-bar/README.zh-CN.md @@ -120,11 +120,11 @@ app.use(NoticeBar); ### Events -| 事件名 | 说明 | 回调参数 | -| ------ | ---------------------------- | -------------- | -| click | 点击通知栏时触发 | _event: Event_ | -| close | 关闭通知栏时触发 | _event: Event_ | -| replay | 每当滚动栏重新开始滚动时触发 | - | +| 事件名 | 说明 | 回调参数 | +| ------ | ---------------------------- | ------------------- | +| click | 点击通知栏时触发 | _event: MouseEvent_ | +| close | 关闭通知栏时触发 | _event: MouseEvent_ | +| replay | 每当滚动栏重新开始滚动时触发 | - | ### Slots diff --git a/src/overlay/README.md b/src/overlay/README.md index 760e1a084..15580ad80 100644 --- a/src/overlay/README.md +++ b/src/overlay/README.md @@ -70,9 +70,9 @@ export default { ### Events -| Event | Description | Arguments | -| ----- | --------------------------------- | -------------- | -| click | Emitted when component is clicked | _event: Event_ | +| Event | Description | Arguments | +| ----- | --------------------------------- | ------------------- | +| click | Emitted when component is clicked | _event: MouseEvent_ | ### Slots diff --git a/src/overlay/README.zh-CN.md b/src/overlay/README.zh-CN.md index 1506a033a..1b5b7fb1b 100644 --- a/src/overlay/README.zh-CN.md +++ b/src/overlay/README.zh-CN.md @@ -76,9 +76,9 @@ export default { ### Events -| 事件名 | 说明 | 回调参数 | -| ------ | ---------- | -------------- | -| click | 点击时触发 | _event: Event_ | +| 事件名 | 说明 | 回调参数 | +| ------ | ---------- | ------------------- | +| click | 点击时触发 | _event: MouseEvent_ | ### Slots diff --git a/src/popup/README.md b/src/popup/README.md index 7cb7be2a9..35ec0f121 100644 --- a/src/popup/README.md +++ b/src/popup/README.md @@ -137,15 +137,15 @@ export default { ### Events -| Event | Description | Arguments | -| ---------------- | ---------------------------------- | -------------- | -| click | Emitted when Popup is clicked | _event: Event_ | -| click-overlay | Emitted when overlay is clicked | - | -| click-close-icon | Emitted when close icon is clicked | _event: Event_ | -| open | Emitted when opening Popup | - | -| close | Emitted when closing Popup | - | -| opened | Emitted when Popup is opened | - | -| closed | Emitted when Popup is closed | - | +| Event | Description | Arguments | +| ---------------- | ---------------------------------- | ------------------- | +| click | Emitted when Popup is clicked | _event: MouseEvent_ | +| click-overlay | Emitted when overlay is clicked | - | +| click-close-icon | Emitted when close icon is clicked | _event: MouseEvent_ | +| open | Emitted when opening Popup | - | +| close | Emitted when closing Popup | - | +| opened | Emitted when Popup is opened | - | +| closed | Emitted when Popup is closed | - | ### Less Variables diff --git a/src/popup/README.zh-CN.md b/src/popup/README.zh-CN.md index 1f0f43cf3..a84710026 100644 --- a/src/popup/README.zh-CN.md +++ b/src/popup/README.zh-CN.md @@ -147,15 +147,15 @@ export default { ### Events -| 事件名 | 说明 | 回调参数 | -| ---------------- | -------------------------- | -------------- | -| click | 点击弹出层时触发 | _event: Event_ | -| click-overlay | 点击遮罩层时触发 | - | -| click-close-icon | 点击关闭图标时触发 | _event: Event_ | -| open | 打开弹出层时触发 | - | -| close | 关闭弹出层时触发 | - | -| opened | 打开弹出层且动画结束后触发 | - | -| closed | 关闭弹出层且动画结束后触发 | - | +| 事件名 | 说明 | 回调参数 | +| ---------------- | -------------------------- | ------------------- | +| click | 点击弹出层时触发 | _event: MouseEvent_ | +| click-overlay | 点击遮罩层时触发 | - | +| click-close-icon | 点击关闭图标时触发 | _event: MouseEvent_ | +| open | 打开弹出层时触发 | - | +| close | 关闭弹出层时触发 | - | +| opened | 打开弹出层且动画结束后触发 | - | +| closed | 关闭弹出层且动画结束后触发 | - | ### 样式变量 diff --git a/src/radio/README.md b/src/radio/README.md index ee3665536..ccb279b41 100644 --- a/src/radio/README.md +++ b/src/radio/README.md @@ -176,9 +176,9 @@ export default { ### Radio Events -| Event | Description | Parameters | -| ----- | ----------------------------- | -------------- | -| click | Emitted when radio is clicked | _event: Event_ | +| Event | Description | Parameters | +| ----- | ----------------------------- | ------------------- | +| click | Emitted when radio is clicked | _event: MouseEvent_ | ### RadioGroup Events diff --git a/src/radio/README.zh-CN.md b/src/radio/README.zh-CN.md index 76cb67b9c..d30efc77b 100644 --- a/src/radio/README.zh-CN.md +++ b/src/radio/README.zh-CN.md @@ -194,9 +194,9 @@ export default { ### Radio Events -| 事件名 | 说明 | 回调参数 | -| ------ | ---------------- | -------------- | -| click | 点击单选框时触发 | _event: Event_ | +| 事件名 | 说明 | 回调参数 | +| ------ | ---------------- | ------------------- | +| click | 点击单选框时触发 | _event: MouseEvent_ | ### RadioGroup Events diff --git a/src/swipe/README.md b/src/swipe/README.md index a47c9eab1..ad9f8b018 100644 --- a/src/swipe/README.md +++ b/src/swipe/README.md @@ -175,9 +175,9 @@ export default { ### SwipeItem Events -| Event | Description | Arguments | -| ----- | --------------------------------- | -------------- | -| click | Emitted when component is clicked | _event: Event_ | +| Event | Description | Arguments | +| ----- | --------------------------------- | ------------------- | +| click | Emitted when component is clicked | _event: MouseEvent_ | ### Swipe Methods diff --git a/src/swipe/README.zh-CN.md b/src/swipe/README.zh-CN.md index 48736d1af..9b1b2fc5d 100644 --- a/src/swipe/README.zh-CN.md +++ b/src/swipe/README.zh-CN.md @@ -185,9 +185,9 @@ export default { ### SwipeItem Events -| 事件名 | 说明 | 回调参数 | -| ------ | ---------- | -------------- | -| click | 点击时触发 | _event: Event_ | +| 事件名 | 说明 | 回调参数 | +| ------ | ---------- | ------------------- | +| click | 点击时触发 | _event: MouseEvent_ | ### Swipe 方法 diff --git a/src/switch/README.md b/src/switch/README.md index df163661c..9590e67f9 100644 --- a/src/switch/README.md +++ b/src/switch/README.md @@ -110,10 +110,10 @@ export default { ### Events -| Event | Description | Parameters | -| ------ | --------------------------------- | -------------- | -| change | Emitted when check status changed | _value: any_ | -| click | Emitted when component is clicked | _event: Event_ | +| Event | Description | Parameters | +| ------ | --------------------------------- | ------------------- | +| change | Emitted when check status changed | _value: any_ | +| click | Emitted when component is clicked | _event: MouseEvent_ | ### Less Variables diff --git a/src/switch/README.zh-CN.md b/src/switch/README.zh-CN.md index dc5f8fd22..a94f7f929 100644 --- a/src/switch/README.zh-CN.md +++ b/src/switch/README.zh-CN.md @@ -126,10 +126,10 @@ export default { ### Events -| 事件名 | 说明 | 回调参数 | -| ------ | ------------------ | -------------- | -| change | 开关状态切换时触发 | _value: any_ | -| click | 点击时触发 | _event: Event_ | +| 事件名 | 说明 | 回调参数 | +| ------ | ------------------ | ------------------- | +| change | 开关状态切换时触发 | _value: any_ | +| click | 点击时触发 | _event: MouseEvent_ | ### 样式变量 diff --git a/src/tag/README.md b/src/tag/README.md index aca3356d4..d293521f9 100644 --- a/src/tag/README.md +++ b/src/tag/README.md @@ -105,10 +105,10 @@ export default { ### Events -| Event | Description | Arguments | -| ----- | ---------------------------------- | -------------- | -| click | Emitted when component is clicked | _event: Event_ | -| close | Emitted when close icon is clicked | - | +| Event | Description | Arguments | +| ----- | ---------------------------------- | ------------------- | +| click | Emitted when component is clicked | _event: MouseEvent_ | +| close | Emitted when close icon is clicked | - | ### Less Variables diff --git a/src/tag/README.zh-CN.md b/src/tag/README.zh-CN.md index 7f350a9fd..2f012098d 100644 --- a/src/tag/README.zh-CN.md +++ b/src/tag/README.zh-CN.md @@ -119,10 +119,10 @@ export default { ### Events -| 事件名 | 说明 | 回调参数 | -| ------ | -------------- | -------------- | -| click | 点击时触发 | _event: Event_ | -| close | 关闭标签时触发 | - | +| 事件名 | 说明 | 回调参数 | +| ------ | -------------- | ------------------- | +| click | 点击时触发 | _event: MouseEvent_ | +| close | 关闭标签时触发 | - | ### 样式变量