choco-one-click-payment 1.1.13 → 1.1.15

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/index.d.ts CHANGED
@@ -72,6 +72,13 @@ export interface ChocoOneClickConfig {
72
72
  */
73
73
  locale?: string;
74
74
 
75
+ /**
76
+ * CSS-селектор контейнера, внутрь которого нужно смонтировать виджет.
77
+ * Если элемент по селектору не найден, виджет работает в стандартном sticky-режиме.
78
+ * @example "#checkout-widget-slot"
79
+ */
80
+ containerSelector?: string;
81
+
75
82
  /**
76
83
  * Callback вызываемый при успешной оплате
77
84
  * @param data - данные о платеже