Skip to content

Commit 1a5aa30

Browse files
authored
docs(popup): add defaultVisible description (#6099)
1 parent bfd731f commit 1a5aa30

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/components/popup/popup.en-US.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ showArrow | Boolean | false | \- | N
2222
trigger | String | hover | options: hover/click/focus/mousedown/context-menu | N
2323
triggerElement | String / Slot / Function | - | Typescript:`string \| TNode`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/components/common.ts) | N
2424
visible | Boolean | - | `v-model` and `v-model:visible` is supported。Typescript:`boolean` | N
25+
defaultVisible | Boolean | - | uncontrolled property。Typescript:`boolean` | N
2526
zIndex | Number | - | \- | N
2627
onOverlayClick | Function | | Typescript:`(context: { e: MouseEvent }) => void`<br/>trigger on popup content click | N
2728
onScroll | Function | | Typescript:`(context: { e: WheelEvent }) => void`<br/> | N

packages/components/popup/popup.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ showArrow | Boolean | false | 是否显示浮层箭头 | N
5858
trigger | String | hover | 触发浮层出现的方式。可选项:hover/click/focus/mousedown/context-menu | N
5959
triggerElement | String / Slot / Function | - | 触发元素。值类型为字符串表示元素选择器。TS 类型:`string \| TNode`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/components/common.ts) | N
6060
visible | Boolean | - | 是否显示浮层。支持语法糖 `v-model``v-model:visible`。TS 类型:`boolean` | N
61+
defaultVisible | Boolean | - | 是否显示浮层。非受控属性。TS 类型:`boolean` | N
6162
zIndex | Number | - | 组件层级,Web 侧样式默认为 5500,移动端和小程序样式默认为 1500 | N
6263
onOverlayClick | Function | | TS 类型:`(context: { e: MouseEvent }) => void`<br/>内容面板点击时触发 | N
6364
onScroll | Function | | TS 类型:`(context: { e: WheelEvent }) => void`<br/>下拉选项滚动事件 | N

0 commit comments

Comments
 (0)