magix-components
Version:
22 lines (15 loc) • 822 B
Markdown
<a href="https://magix-components.github.io/magix-components/#!/mx-popover/index" target="_blank">在线示例</a>
```html
<button class="btn" mx-view="app/gallery/mx-popover/index"
view-content="提示内容提示内容提示内容提示内容提示内容提示内容提示内容提示内容提示内容提示内容提示内容提示内容提示内容提示内容提示内容提示内容">提示右</button>
```
| 参数 | 说明 | 类型 | 默认值 |
| -------- | -------- | -------- | -------- |
| content | 提示内容 | string | |
| width | 提示框宽度 | number | 276 |
| placement | 提示框在目标的方位,top,bottom,left,right | string | bottom |
| align | 提示框与目标的对齐方式,top,bottom,left,right | string | |