@novely/particles 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,32 +1,31 @@
1
1
  # @novely/particles
2
2
 
3
- Эффект частиц на основе ts-particles
3
+ Particles effect based on [ts-particles](https://particles.js.org/).
4
4
 
5
- ## Использование
5
+ ## Usage
6
6
 
7
7
  ```ts
8
8
  import { showParticles, hideParticles } from '@novely/particles';
9
9
 
10
10
  const snow = {
11
- // Смотрите больше здесь
12
11
  // @see https://particles.js.org/
13
12
  ...
14
13
  };
15
14
 
16
- engine.withStory({
15
+ engine.script({
17
16
  start: [
18
17
  /**
19
- * Показывает частицы
18
+ * Will show particles
20
19
  */
21
20
  engine.action.custom(showParticles(snow)),
22
21
  /**
23
- * Скрывает частицы
22
+ * Will hide particles
24
23
  */
25
24
  engine.action.custom(hideParticles()),
26
25
  ]
27
26
  });
28
27
  ```
29
28
 
30
- ## Дополнительная информация
29
+ ## Additional Info
31
30
 
32
- CSS `zIndex` слоя с частицами - 2.
31
+ CSS `zIndex` of layer with particles is `2`.