We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 789a3d0 commit bd2e191Copy full SHA for bd2e191
1 file changed
packages/taro-components/types/CoverView.d.ts
@@ -114,6 +114,22 @@ interface CoverViewProps extends ViewProps {
114
* @supported alipay
115
*/
116
onTouchCancel?: CommonEventFunction
117
+ /**
118
+ * 标记点 ID
119
+ * @description 用于地图组件的标记点识别
120
+ * @supported weapp
121
+ * @example
122
+ * <CoverView markerId={123} />
123
+ */
124
+ markerId?: number
125
126
+ * 插槽名称
127
+ * @description 用于组件间的内容分发
128
129
130
+ * <CoverView slot="header" />
131
132
+ slot?: string
133
}
134
/** 覆盖在原生组件之上的文本视图。可覆盖的原生组件包括 map、video、canvas、camera、live-player、live-pusher 只支持嵌套 cover-view、cover-image,可在 cover-view 中使用 button。
135
* @classification viewContainer
0 commit comments