# circle-menu-cyez

> 圆形菜单

Latest version **8.0.0** (published 2022-02-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install circle-menu-cyez
pnpm add circle-menu-cyez
yarn add circle-menu-cyez
bun add circle-menu-cyez
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 8.0.0 |
| Published | 2022-02-11 |
| First published | 2022-02-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 92.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | brccq |
| Maintainers | brccq |
| Keywords | 圆形菜单 |

## Links

- npm: https://www.npmjs.com/package/circle-menu-cyez
- npm.io page: https://npm.io/package/circle-menu-cyez

## Dependencies (1)

- [cyez](https://npm.io/package/cyez.md) ^0.1.25

## Recent versions

- 8.0.0 (latest) — 2022-02-11
- 7.0.0 — 2022-02-10
- 6.0.0 — 2022-02-10
- 5.0.0 — 2022-02-09
- 4.0.0 — 2022-02-09
- 3.0.0 — 2022-02-09
- 2.0.0 — 2022-02-09
- 1.0.0 — 2022-02-09

## README

<!--
 * @Descripttion: 
 * @version: 
 * @Author: 雒小霞
 * @Date: 2022-02-09 14:50:46
 * @LastEditors: 雒小霞
 * @LastEditTime: 2022-02-09 15:24:56
-->
# CircleMenu

## 安装

> npm i circle-menu-cyez

# 使用

js

```javascript
import CircleMenu from 'circle-menu-cyez'

export default {
  components: { CircleMenu },
  data() {
      return {
          commands: [
              {
                content: '全选',
                submenu: [
                  {
                    content: '反选节点',
                    select: () => // 自定义方法
                  }
                ]
              }
          ]
      }
  }
}
```

html

```html
<CircleMenu ref="CircleMenu" :commands="commands">
</CircleMenu>
```

props

```javascript
props: {
    // 菜单
    commands: {
      type: Array,
      default: () => []
    },
    // canvas高度
    height: {
      type: String,
      default: '100%'
    },
    // 当前页面的高度是否固定
    // 若固定，传值weitrue/不传值
    // 不固定，传值为false，height必传一个固定值
    // 为解决页面可滚动时，菜单监听鼠标的区域出现偏移的问题
    heightFixed: {
      type: Boolean,
      default: true
    }
  },
```

---
_Source: https://npm.io/package/circle-menu-cyez · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
