# Vue2olControlPopup
弹框
Since: v1.0.0
# 基础用法
I'm a bullet box
Copy
# Props
名称 | 描述 | 类型 | 取值范围 | 默认值 |
---|---|---|---|---|
parentMap | 地图,如果为 null 则从 parent 中获取 | {import('ol/Map').default} | - | |
direction | 弹框显示位置 | string | "left"\|"right"\|"top"\|"bottom" | "top" |
position | 弹框位置 | {import('ol/coordinate').Coordinate} | - | |
showClose | 是否显示关闭按钮 | boolean | - | true |
# Events
名称 | 属性 | 描述 |
---|---|---|
close |
# Slots
Name | Description | Bindings |
---|---|---|
default |