From 794a0e3c1eae1376099a703342feb16f2c54aa2b Mon Sep 17 00:00:00 2001 From: Alan Wang Date: Wed, 27 Apr 2022 11:47:06 +0800 Subject: [PATCH] docs: update the composables content (#10560) --- packages/vant/docs/markdown/vant-use-intro.en-US.md | 2 ++ packages/vant/docs/markdown/vant-use-intro.zh-CN.md | 1 + 2 files changed, 3 insertions(+) diff --git a/packages/vant/docs/markdown/vant-use-intro.en-US.md b/packages/vant/docs/markdown/vant-use-intro.en-US.md index 647195f23..ffe9bec17 100644 --- a/packages/vant/docs/markdown/vant-use-intro.en-US.md +++ b/packages/vant/docs/markdown/vant-use-intro.en-US.md @@ -36,4 +36,6 @@ console.log(height.value); // -> window height | --- | --- | | [useClickAway](#/en-US/use-click-away) | Triggers a callback when user clicks outside of the target element | | [useCountDown](#/en-US/use-count-down) | Used to manage the countdown | +| [useCustomFieldValue](#/en-US/use-custom-field-value) | Used to custom Field value | +| [useEventListener](#/en-US/use-event-listener) | Used to attach event | | [useToggle](#/en-US/use-toggle) | Used to switch between `true` and `false` | diff --git a/packages/vant/docs/markdown/vant-use-intro.zh-CN.md b/packages/vant/docs/markdown/vant-use-intro.zh-CN.md index 2b3df5a35..779a3664e 100644 --- a/packages/vant/docs/markdown/vant-use-intro.zh-CN.md +++ b/packages/vant/docs/markdown/vant-use-intro.zh-CN.md @@ -40,6 +40,7 @@ console.log(height.value); // -> 窗口高度 | --- | --- | | [useClickAway](#/zh-CN/use-click-away) | 监听点击元素外部的事件 | | [useCountDown](#/zh-CN/use-count-down) | 提供倒计时管理能力 | +| [useCustomFieldValue](#/zh-CN/use-custom-field-value) | 自定义表单组件中的表单项 | | [useEventListener](#/zh-CN/use-event-listener) | 方便地进行事件绑定 | | [usePageVisibility](#/zh-CN/use-page-visibility) | 获取页面的可见状态 | | [useRect](#/zh-CN/use-rect) | 获取元素的大小及其相对于视口的位置 |