## Popover 气泡菜单

### 使用指南
``` javascript
import { Popover } from 'vortex-mobile';

Vue.use(Popover);
```

### 代码演示

#### 基础用法
气泡菜单是供用户选择的功能组件，点击该组件下的第一个元素触发，vm-popover标签下建议放置单个行内块元素，如果直接放置多个同级元素，以第一个元素所在位置为准来生成气泡菜单。

```html
<vm-popover @select="onSelect" :options="options">
  <vm-button>按钮</vm-button>
</vm-popover>
```

```javascript
export default {
  data() {
    return {
      options: [
        {text:'选项1'},
        {text:'选项2'},
        {text:'选项3'},
        {text:'选项4'},
        {text:'选项5'},
      ]
    };
  },
  
  methods: {
    onSelect(item,index) {
      this.$toast(`选中项：${item.text}，索引：${index}`)
    }
  }
}
```

### API

| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| options | 选项列表，每一项须有text属性 | `Array` | - | - |

### Event

| 事件名 | 说明 | 参数 |
|------|------|------|------|------|
| select | 点击选中项时触发 | `item`:点击的选中项,`index`:选中项的索引 |

### Slot

| 名称 | 说明 |
|------|------|
| - | 自定义内容 |
