diff --git a/README.md b/README.md index da54ca0..b01a59b 100755 --- a/README.md +++ b/README.md @@ -46,34 +46,21 @@ class Example extends Component { ```jsx ``` -#### * `g` - Whether to add gravity: Number -#### * `num` - The number of particles emitted each time: Number - -#### * `radius` - The radius of every particle: Number - -#### * `alpha` - The alpha of every particle: Number - -#### * `tha` - The Particle emitter angle - -#### * `v` - The Particle emitter Particle velocity - -#### * `life` - The life of every particle: Number - -#### * `color` - Particle color, array or string -```javascript - - // or - - -``` - -#### * `cull` - Eliminate dom's className without triggering animation -```javascript - -``` - -#### * `level` - Detect levels of culling animation +key | describe |type | example +----|-----|-----|------ +`g` | Whether to add gravity | number | `1` +`num` | The number of particles emitted each time | number | `3` +`radius` | The radius of every particle | number | `10` +`alpha` | The alpha of every particle | number | `.1` +`tha` | The Particle emitter angle | number | `20` +`v` | The Particle emitter Particle velocity | number | `0.5` +`life` | The life of every particle | number | `1.2` +`color` | Particle color | array or string | ` // or ` +`cull` | Eliminate dom's className without triggering animation | string | `` +`level` | Detect levels of culling animation | number | `6` + +--- ## Contribution I very much hope that you can work with me to modify the code. I also have a lot of fun ideas. Maybe you can join me to implement it.