@divkitframework/divkit 27.2.0 → 27.3.0-canary-fd0b525307dee76941d40334b579a8407fdf0b4b

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
@@ -12,8 +12,12 @@ npm i @divkitframework/divkit --save
12
12
 
13
13
  [Example usage repos](../divkit-examples)
14
14
 
15
+ ### Inlude CSS
16
+
15
17
  For all variants of usage, css file `dist/client.css` is required. Include it in any way (import as module, link directly in html, etc).
16
18
 
19
+ ### Include js
20
+
17
21
  JS code can be bundled with various strategies. Basically you need to answer a few questions
18
22
 
19
23
  ### Is there any server-side rendering (SSR) or will it be only on client?
@@ -309,6 +313,14 @@ Default value is `['http', 'https', 'tel', 'mailto', 'intent']`
309
313
 
310
314
  Components with an action containing a protocol from the list will be rendered as `<a>`, and clicking on them will be processed by the browser. Protocols outside the list will cause the element to be rendered as a button-like, and clicking on them causes an 'onCustomAction'.
311
315
 
316
+ #### tooltipRoot
317
+
318
+ `/client` and `/client-hydratable`
319
+
320
+ HTMLElement, optional.
321
+
322
+ Allows to attach tooltips to the custom root, outside of `target`. Useful to avoid cropping.
323
+
312
324
  ### extensions
313
325
 
314
326
  `Map<string, DivExtensionClass>`, optional.