1. Popover弹出框
1.1. Popover的属性与Tooltip很类似, 它们都是基于Vue-popper开发的, 因此对于重复属性, 请参考Tooltip的文档。
1.2. Attributes
参数 |
说明 |
类型 |
可选值 |
默认值 |
trigger |
触发方式 |
String |
click/focus/hover/manual |
click |
title |
标题 |
String |
无 |
无 |
content |
显示的内容, 也可以通过slot#content传入DOM |
String |
无 |
无 |
width |
宽度 |
String, Number |
无 |
最小宽度150px |
placement |
出现位置 |
String |
top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end |