@divkitframework/divkit 25.0.0 → 25.2.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,6 +1,6 @@
1
1
  ## DivKit for the Web
2
2
 
3
- ![client code size](https://img.shields.io/badge/client%20lib%20minified&brotli-47.7%20KB-brightgreen)
3
+ ![client code size](https://img.shields.io/badge/client%20lib%20minified&brotli-60.5%20KB-brightgreen)
4
4
 
5
5
  ### Installation
6
6
 
@@ -222,12 +222,12 @@ function onError(detauls: {
222
222
 
223
223
  Function, optional.
224
224
 
225
- Used for logging clicks (for elements with `action`) and visibility logging (for elements with `visibility_action`).
225
+ Used for logging clicks (for elements with `action`) and visibility logging (for elements with `visibility_action(s)` and `disappear_actions`).
226
226
 
227
227
  ```ts
228
228
  function onStat(details: {
229
- type: 'click' | 'visible';
230
- action: Action | VisibilityAction;
229
+ type: 'click' | 'visible' | 'disappear';
230
+ action: Action | VisibilityAction | DisappearAction;
231
231
  }) {
232
232
  }
233
233
  ```