-------------------------------------------------------------------------------------------------------
## 查看中文文档,请移步至 [这里](https://github.com/OYsun/VueCircleMenu/blob/master/README-ZH.MD)
# demo
### For a better demonstration, please use the phone scan the following two-dimensional code view demo or click here http://web-oysun.cn/VueCircleMenu/
# API
## Props
| Option | type | Description |
| ------------- |-------------| -----|
| type | String |Necessary,Specifies the type of menu,There are six types of:top,bottom,left,right,middle,middle-around |
| number(v1.1.0) | Number |Necessary,This is the v1.1.0 version of the api, specify the number of menus, the value should be greater than 2 less than 5, is only 2,3,4 of these three case |
| circle | boolean | Whether the menu button for rounded corners, the default for the square button |
| mask | String | There are two kinds of mask layer:"white" and "black" |
| animate | String | Sub menu animation,You can import an external css animation library, such as "animate.css"|
| btn | boolean | Switch button, fill in this property, there is the default switch button, do not fill is not the default, you need to define the switch button in the slot |
| colors | Array | The background color of the buttons and menus |
## Slot
| SlotName | Description |
| -------------| -----|
| item_btn | Customize the switch button |
| item_1 | The contents of the first menu |
| item_2 | The content of the second menu |
| item_3 | The content of the third menu |
| item_4 | The content of the fourth menu |
# Detailed instructions
## Props
### type
The `type` parameter is required, indicating the type of the menu, a total of about six:top,bottom,left,right,middle,middle-around
### number
The `number` parameter is required,This is the v1.1.0 version of the api, specify the number of menus, the value should be greater than 2 less than 5, is only 2,3,4 of these three case
Note:
- when the number value of 3, `type` type for middle or middle-around is invalid
- The number parameter fills the number, but in the vue propes,If we want to pass down an actual JavaScript number, we need to use v-bind so that its value is evaluated as a JavaScript expression.For more information click [here](https://vuejs.org/v2/guide/components.html#Literal-vs-Dynamic)
## circle
Fill in `circle` to make the menu button rounded, the default is the square button:
## mask
Fill in ` mask ` produces mask, divided into two kinds: "white" and "black".(Note: do not fill out or fill in the wrong type all think don't need a `mask`)
## animate
`Animate` is to add animation to the menu, as long as you can add animation css class, you can also introduce css animation library, such as `animate.css`
## colors
`Colors` specifies the background color of the button and menu, and does not use this property, the default color configuration is used, and the default color of the component is: