@divkitframework/jsonbuilder 30.32.0 → 30.33.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/dist/es/jsonbuilder.js +3 -3
- package/dist/es/jsonbuilder.js.map +1 -1
- package/dist/jsonbuilder.d.ts +96 -240
- package/dist/jsonbuilder.js +3 -3
- package/dist/jsonbuilder.js.map +1 -1
- package/package.json +1 -1
package/dist/jsonbuilder.d.ts
CHANGED
|
@@ -299,8 +299,8 @@ interface IDivAccessibility {
|
|
|
299
299
|
*/
|
|
300
300
|
hint?: Type<string | DivExpression>;
|
|
301
301
|
/**
|
|
302
|
-
* Shows the current
|
|
303
|
-
* selected.
|
|
302
|
+
* Shows the current status of the checkbox or toggle: `true` means it's selected, `false` means
|
|
303
|
+
* it isn't selected.
|
|
304
304
|
*
|
|
305
305
|
* Platforms: web
|
|
306
306
|
*/
|
|
@@ -343,8 +343,6 @@ declare type DivAccessibilityType = 'none' | 'button' | 'image' | 'text' | 'edit
|
|
|
343
343
|
interface IDivAction {
|
|
344
344
|
/**
|
|
345
345
|
* Callbacks that are called after [data loading](../../interaction#loading-data).
|
|
346
|
-
*
|
|
347
|
-
* Platforms: android, ios, web
|
|
348
346
|
*/
|
|
349
347
|
download_callbacks?: Type<IDivDownloadCallbacks>;
|
|
350
348
|
/**
|
|
@@ -1311,14 +1309,10 @@ interface IDivBase {
|
|
|
1311
1309
|
/**
|
|
1312
1310
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
1313
1311
|
* set.
|
|
1314
|
-
*
|
|
1315
|
-
* Platforms: android, ios, web
|
|
1316
1312
|
*/
|
|
1317
1313
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
1318
1314
|
/**
|
|
1319
1315
|
* Actions when an element appears on the screen.
|
|
1320
|
-
*
|
|
1321
|
-
* Platforms: android, ios, web
|
|
1322
1316
|
*/
|
|
1323
1317
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
1324
1318
|
/**
|
|
@@ -1768,14 +1762,14 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
1768
1762
|
* Actions performed after hovering over an element. Available on platforms that support pointing
|
|
1769
1763
|
* devices (such as a mouse or stylus).
|
|
1770
1764
|
*
|
|
1771
|
-
* Platforms: web
|
|
1765
|
+
* Platforms: web, android
|
|
1772
1766
|
*/
|
|
1773
1767
|
hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
1774
1768
|
/**
|
|
1775
1769
|
* Actions performed when hovering over an element. Available on platforms that support pointing
|
|
1776
1770
|
* devices (such as a mouse or stylus).
|
|
1777
1771
|
*
|
|
1778
|
-
* Platforms: web
|
|
1772
|
+
* Platforms: web, android
|
|
1779
1773
|
*/
|
|
1780
1774
|
hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
1781
1775
|
/**
|
|
@@ -1837,13 +1831,13 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
1837
1831
|
/**
|
|
1838
1832
|
* Actions performed after clicking/tapping an element.
|
|
1839
1833
|
*
|
|
1840
|
-
* Platforms: web
|
|
1834
|
+
* Platforms: web, android
|
|
1841
1835
|
*/
|
|
1842
1836
|
press_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
1843
1837
|
/**
|
|
1844
1838
|
* Actions performed at the start of a click/tap on an element.
|
|
1845
1839
|
*
|
|
1846
|
-
* Platforms: web
|
|
1840
|
+
* Platforms: web, android
|
|
1847
1841
|
*/
|
|
1848
1842
|
press_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
1849
1843
|
/**
|
|
@@ -1935,14 +1929,10 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
1935
1929
|
/**
|
|
1936
1930
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
1937
1931
|
* set.
|
|
1938
|
-
*
|
|
1939
|
-
* Platforms: android, ios, web
|
|
1940
1932
|
*/
|
|
1941
1933
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
1942
1934
|
/**
|
|
1943
1935
|
* Actions when an element appears on the screen.
|
|
1944
|
-
*
|
|
1945
|
-
* Platforms: android, ios, web
|
|
1946
1936
|
*/
|
|
1947
1937
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
1948
1938
|
/**
|
|
@@ -2069,14 +2059,14 @@ interface DivContainerPropsBase {
|
|
|
2069
2059
|
* Actions performed after hovering over an element. Available on platforms that support pointing
|
|
2070
2060
|
* devices (such as a mouse or stylus).
|
|
2071
2061
|
*
|
|
2072
|
-
* Platforms: web
|
|
2062
|
+
* Platforms: web, android
|
|
2073
2063
|
*/
|
|
2074
2064
|
hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
2075
2065
|
/**
|
|
2076
2066
|
* Actions performed when hovering over an element. Available on platforms that support pointing
|
|
2077
2067
|
* devices (such as a mouse or stylus).
|
|
2078
2068
|
*
|
|
2079
|
-
* Platforms: web
|
|
2069
|
+
* Platforms: web, android
|
|
2080
2070
|
*/
|
|
2081
2071
|
hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
2082
2072
|
/**
|
|
@@ -2138,13 +2128,13 @@ interface DivContainerPropsBase {
|
|
|
2138
2128
|
/**
|
|
2139
2129
|
* Actions performed after clicking/tapping an element.
|
|
2140
2130
|
*
|
|
2141
|
-
* Platforms: web
|
|
2131
|
+
* Platforms: web, android
|
|
2142
2132
|
*/
|
|
2143
2133
|
press_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
2144
2134
|
/**
|
|
2145
2135
|
* Actions performed at the start of a click/tap on an element.
|
|
2146
2136
|
*
|
|
2147
|
-
* Platforms: web
|
|
2137
|
+
* Platforms: web, android
|
|
2148
2138
|
*/
|
|
2149
2139
|
press_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
2150
2140
|
/**
|
|
@@ -2236,14 +2226,10 @@ interface DivContainerPropsBase {
|
|
|
2236
2226
|
/**
|
|
2237
2227
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
2238
2228
|
* set.
|
|
2239
|
-
*
|
|
2240
|
-
* Platforms: android, ios, web
|
|
2241
2229
|
*/
|
|
2242
2230
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
2243
2231
|
/**
|
|
2244
2232
|
* Actions when an element appears on the screen.
|
|
2245
|
-
*
|
|
2246
|
-
* Platforms: android, ios, web
|
|
2247
2233
|
*/
|
|
2248
2234
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
2249
2235
|
/**
|
|
@@ -2536,14 +2522,10 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
2536
2522
|
/**
|
|
2537
2523
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
2538
2524
|
* set.
|
|
2539
|
-
*
|
|
2540
|
-
* Platforms: android, ios, web
|
|
2541
2525
|
*/
|
|
2542
2526
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
2543
2527
|
/**
|
|
2544
2528
|
* Actions when an element appears on the screen.
|
|
2545
|
-
*
|
|
2546
|
-
* Platforms: android, ios, web
|
|
2547
2529
|
*/
|
|
2548
2530
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
2549
2531
|
/**
|
|
@@ -2732,14 +2714,10 @@ interface DivCustomProps {
|
|
|
2732
2714
|
/**
|
|
2733
2715
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
2734
2716
|
* set.
|
|
2735
|
-
*
|
|
2736
|
-
* Platforms: android, ios, web
|
|
2737
2717
|
*/
|
|
2738
2718
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
2739
2719
|
/**
|
|
2740
2720
|
* Actions when an element appears on the screen.
|
|
2741
|
-
*
|
|
2742
|
-
* Platforms: android, ios, web
|
|
2743
2721
|
*/
|
|
2744
2722
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
2745
2723
|
/**
|
|
@@ -2789,8 +2767,6 @@ interface IDivDisappearAction {
|
|
|
2789
2767
|
disappear_duration?: Type<number | DivExpression>;
|
|
2790
2768
|
/**
|
|
2791
2769
|
* Callbacks that are called after [data loading](../../interaction#loading-data).
|
|
2792
|
-
*
|
|
2793
|
-
* Platforms: android, ios, web
|
|
2794
2770
|
*/
|
|
2795
2771
|
download_callbacks?: Type<IDivDownloadCallbacks>;
|
|
2796
2772
|
/**
|
|
@@ -3411,14 +3387,10 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
3411
3387
|
/**
|
|
3412
3388
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
3413
3389
|
* set.
|
|
3414
|
-
*
|
|
3415
|
-
* Platforms: android, ios, web
|
|
3416
3390
|
*/
|
|
3417
3391
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
3418
3392
|
/**
|
|
3419
3393
|
* Actions when an element appears on the screen.
|
|
3420
|
-
*
|
|
3421
|
-
* Platforms: android, ios, web
|
|
3422
3394
|
*/
|
|
3423
3395
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
3424
3396
|
/**
|
|
@@ -3672,14 +3644,10 @@ interface DivGalleryProps {
|
|
|
3672
3644
|
/**
|
|
3673
3645
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
3674
3646
|
* set.
|
|
3675
|
-
*
|
|
3676
|
-
* Platforms: android, ios, web
|
|
3677
3647
|
*/
|
|
3678
3648
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
3679
3649
|
/**
|
|
3680
3650
|
* Actions when an element appears on the screen.
|
|
3681
|
-
*
|
|
3682
|
-
* Platforms: android, ios, web
|
|
3683
3651
|
*/
|
|
3684
3652
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
3685
3653
|
/**
|
|
@@ -3807,14 +3775,14 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
3807
3775
|
* Actions performed after hovering over an element. Available on platforms that support pointing
|
|
3808
3776
|
* devices (such as a mouse or stylus).
|
|
3809
3777
|
*
|
|
3810
|
-
* Platforms: web
|
|
3778
|
+
* Platforms: web, android
|
|
3811
3779
|
*/
|
|
3812
3780
|
hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
3813
3781
|
/**
|
|
3814
3782
|
* Actions performed when hovering over an element. Available on platforms that support pointing
|
|
3815
3783
|
* devices (such as a mouse or stylus).
|
|
3816
3784
|
*
|
|
3817
|
-
* Platforms: web
|
|
3785
|
+
* Platforms: web, android
|
|
3818
3786
|
*/
|
|
3819
3787
|
hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
3820
3788
|
/**
|
|
@@ -3858,13 +3826,13 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
3858
3826
|
/**
|
|
3859
3827
|
* Actions performed after clicking/tapping an element.
|
|
3860
3828
|
*
|
|
3861
|
-
* Platforms: web
|
|
3829
|
+
* Platforms: web, android
|
|
3862
3830
|
*/
|
|
3863
3831
|
press_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
3864
3832
|
/**
|
|
3865
3833
|
* Actions performed at the start of a click/tap on an element.
|
|
3866
3834
|
*
|
|
3867
|
-
* Platforms: web
|
|
3835
|
+
* Platforms: web, android
|
|
3868
3836
|
*/
|
|
3869
3837
|
press_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
3870
3838
|
/**
|
|
@@ -3960,14 +3928,10 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
3960
3928
|
/**
|
|
3961
3929
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
3962
3930
|
* set.
|
|
3963
|
-
*
|
|
3964
|
-
* Platforms: android, ios, web
|
|
3965
3931
|
*/
|
|
3966
3932
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
3967
3933
|
/**
|
|
3968
3934
|
* Actions when an element appears on the screen.
|
|
3969
|
-
*
|
|
3970
|
-
* Platforms: android, ios, web
|
|
3971
3935
|
*/
|
|
3972
3936
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
3973
3937
|
/**
|
|
@@ -4086,14 +4050,14 @@ interface DivGifImageProps {
|
|
|
4086
4050
|
* Actions performed after hovering over an element. Available on platforms that support pointing
|
|
4087
4051
|
* devices (such as a mouse or stylus).
|
|
4088
4052
|
*
|
|
4089
|
-
* Platforms: web
|
|
4053
|
+
* Platforms: web, android
|
|
4090
4054
|
*/
|
|
4091
4055
|
hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4092
4056
|
/**
|
|
4093
4057
|
* Actions performed when hovering over an element. Available on platforms that support pointing
|
|
4094
4058
|
* devices (such as a mouse or stylus).
|
|
4095
4059
|
*
|
|
4096
|
-
* Platforms: web
|
|
4060
|
+
* Platforms: web, android
|
|
4097
4061
|
*/
|
|
4098
4062
|
hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4099
4063
|
/**
|
|
@@ -4137,13 +4101,13 @@ interface DivGifImageProps {
|
|
|
4137
4101
|
/**
|
|
4138
4102
|
* Actions performed after clicking/tapping an element.
|
|
4139
4103
|
*
|
|
4140
|
-
* Platforms: web
|
|
4104
|
+
* Platforms: web, android
|
|
4141
4105
|
*/
|
|
4142
4106
|
press_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4143
4107
|
/**
|
|
4144
4108
|
* Actions performed at the start of a click/tap on an element.
|
|
4145
4109
|
*
|
|
4146
|
-
* Platforms: web
|
|
4110
|
+
* Platforms: web, android
|
|
4147
4111
|
*/
|
|
4148
4112
|
press_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4149
4113
|
/**
|
|
@@ -4239,14 +4203,10 @@ interface DivGifImageProps {
|
|
|
4239
4203
|
/**
|
|
4240
4204
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
4241
4205
|
* set.
|
|
4242
|
-
*
|
|
4243
|
-
* Platforms: android, ios, web
|
|
4244
4206
|
*/
|
|
4245
4207
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
4246
4208
|
/**
|
|
4247
4209
|
* Actions when an element appears on the screen.
|
|
4248
|
-
*
|
|
4249
|
-
* Platforms: android, ios, web
|
|
4250
4210
|
*/
|
|
4251
4211
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
4252
4212
|
/**
|
|
@@ -4365,14 +4325,14 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
4365
4325
|
* Actions performed after hovering over an element. Available on platforms that support pointing
|
|
4366
4326
|
* devices (such as a mouse or stylus).
|
|
4367
4327
|
*
|
|
4368
|
-
* Platforms: web
|
|
4328
|
+
* Platforms: web, android
|
|
4369
4329
|
*/
|
|
4370
4330
|
hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4371
4331
|
/**
|
|
4372
4332
|
* Actions performed when hovering over an element. Available on platforms that support pointing
|
|
4373
4333
|
* devices (such as a mouse or stylus).
|
|
4374
4334
|
*
|
|
4375
|
-
* Platforms: web
|
|
4335
|
+
* Platforms: web, android
|
|
4376
4336
|
*/
|
|
4377
4337
|
hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4378
4338
|
/**
|
|
@@ -4408,13 +4368,13 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
4408
4368
|
/**
|
|
4409
4369
|
* Actions performed after clicking/tapping an element.
|
|
4410
4370
|
*
|
|
4411
|
-
* Platforms: web
|
|
4371
|
+
* Platforms: web, android
|
|
4412
4372
|
*/
|
|
4413
4373
|
press_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4414
4374
|
/**
|
|
4415
4375
|
* Actions performed at the start of a click/tap on an element.
|
|
4416
4376
|
*
|
|
4417
|
-
* Platforms: web
|
|
4377
|
+
* Platforms: web, android
|
|
4418
4378
|
*/
|
|
4419
4379
|
press_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4420
4380
|
/**
|
|
@@ -4498,14 +4458,10 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
4498
4458
|
/**
|
|
4499
4459
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
4500
4460
|
* set.
|
|
4501
|
-
*
|
|
4502
|
-
* Platforms: android, ios, web
|
|
4503
4461
|
*/
|
|
4504
4462
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
4505
4463
|
/**
|
|
4506
4464
|
* Actions when an element appears on the screen.
|
|
4507
|
-
*
|
|
4508
|
-
* Platforms: android, ios, web
|
|
4509
4465
|
*/
|
|
4510
4466
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
4511
4467
|
/**
|
|
@@ -4619,14 +4575,14 @@ interface DivGridProps {
|
|
|
4619
4575
|
* Actions performed after hovering over an element. Available on platforms that support pointing
|
|
4620
4576
|
* devices (such as a mouse or stylus).
|
|
4621
4577
|
*
|
|
4622
|
-
* Platforms: web
|
|
4578
|
+
* Platforms: web, android
|
|
4623
4579
|
*/
|
|
4624
4580
|
hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4625
4581
|
/**
|
|
4626
4582
|
* Actions performed when hovering over an element. Available on platforms that support pointing
|
|
4627
4583
|
* devices (such as a mouse or stylus).
|
|
4628
4584
|
*
|
|
4629
|
-
* Platforms: web
|
|
4585
|
+
* Platforms: web, android
|
|
4630
4586
|
*/
|
|
4631
4587
|
hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4632
4588
|
/**
|
|
@@ -4662,13 +4618,13 @@ interface DivGridProps {
|
|
|
4662
4618
|
/**
|
|
4663
4619
|
* Actions performed after clicking/tapping an element.
|
|
4664
4620
|
*
|
|
4665
|
-
* Platforms: web
|
|
4621
|
+
* Platforms: web, android
|
|
4666
4622
|
*/
|
|
4667
4623
|
press_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4668
4624
|
/**
|
|
4669
4625
|
* Actions performed at the start of a click/tap on an element.
|
|
4670
4626
|
*
|
|
4671
|
-
* Platforms: web
|
|
4627
|
+
* Platforms: web, android
|
|
4672
4628
|
*/
|
|
4673
4629
|
press_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4674
4630
|
/**
|
|
@@ -4752,14 +4708,10 @@ interface DivGridProps {
|
|
|
4752
4708
|
/**
|
|
4753
4709
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
4754
4710
|
* set.
|
|
4755
|
-
*
|
|
4756
|
-
* Platforms: android, ios, web
|
|
4757
4711
|
*/
|
|
4758
4712
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
4759
4713
|
/**
|
|
4760
4714
|
* Actions when an element appears on the screen.
|
|
4761
|
-
*
|
|
4762
|
-
* Platforms: android, ios, web
|
|
4763
4715
|
*/
|
|
4764
4716
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
4765
4717
|
/**
|
|
@@ -4897,14 +4849,14 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
4897
4849
|
* Actions performed after hovering over an element. Available on platforms that support pointing
|
|
4898
4850
|
* devices (such as a mouse or stylus).
|
|
4899
4851
|
*
|
|
4900
|
-
* Platforms: web
|
|
4852
|
+
* Platforms: web, android
|
|
4901
4853
|
*/
|
|
4902
4854
|
hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4903
4855
|
/**
|
|
4904
4856
|
* Actions performed when hovering over an element. Available on platforms that support pointing
|
|
4905
4857
|
* devices (such as a mouse or stylus).
|
|
4906
4858
|
*
|
|
4907
|
-
* Platforms: web
|
|
4859
|
+
* Platforms: web, android
|
|
4908
4860
|
*/
|
|
4909
4861
|
hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4910
4862
|
/**
|
|
@@ -4952,13 +4904,13 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
4952
4904
|
/**
|
|
4953
4905
|
* Actions performed after clicking/tapping an element.
|
|
4954
4906
|
*
|
|
4955
|
-
* Platforms: web
|
|
4907
|
+
* Platforms: web, android
|
|
4956
4908
|
*/
|
|
4957
4909
|
press_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4958
4910
|
/**
|
|
4959
4911
|
* Actions performed at the start of a click/tap on an element.
|
|
4960
4912
|
*
|
|
4961
|
-
* Platforms: web
|
|
4913
|
+
* Platforms: web, android
|
|
4962
4914
|
*/
|
|
4963
4915
|
press_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
4964
4916
|
/**
|
|
@@ -5062,14 +5014,10 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
5062
5014
|
/**
|
|
5063
5015
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
5064
5016
|
* set.
|
|
5065
|
-
*
|
|
5066
|
-
* Platforms: android, ios, web
|
|
5067
5017
|
*/
|
|
5068
5018
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
5069
5019
|
/**
|
|
5070
5020
|
* Actions when an element appears on the screen.
|
|
5071
|
-
*
|
|
5072
|
-
* Platforms: android, ios, web
|
|
5073
5021
|
*/
|
|
5074
5022
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
5075
5023
|
/**
|
|
@@ -5202,14 +5150,14 @@ interface DivImageProps {
|
|
|
5202
5150
|
* Actions performed after hovering over an element. Available on platforms that support pointing
|
|
5203
5151
|
* devices (such as a mouse or stylus).
|
|
5204
5152
|
*
|
|
5205
|
-
* Platforms: web
|
|
5153
|
+
* Platforms: web, android
|
|
5206
5154
|
*/
|
|
5207
5155
|
hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
5208
5156
|
/**
|
|
5209
5157
|
* Actions performed when hovering over an element. Available on platforms that support pointing
|
|
5210
5158
|
* devices (such as a mouse or stylus).
|
|
5211
5159
|
*
|
|
5212
|
-
* Platforms: web
|
|
5160
|
+
* Platforms: web, android
|
|
5213
5161
|
*/
|
|
5214
5162
|
hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
5215
5163
|
/**
|
|
@@ -5257,13 +5205,13 @@ interface DivImageProps {
|
|
|
5257
5205
|
/**
|
|
5258
5206
|
* Actions performed after clicking/tapping an element.
|
|
5259
5207
|
*
|
|
5260
|
-
* Platforms: web
|
|
5208
|
+
* Platforms: web, android
|
|
5261
5209
|
*/
|
|
5262
5210
|
press_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
5263
5211
|
/**
|
|
5264
5212
|
* Actions performed at the start of a click/tap on an element.
|
|
5265
5213
|
*
|
|
5266
|
-
* Platforms: web
|
|
5214
|
+
* Platforms: web, android
|
|
5267
5215
|
*/
|
|
5268
5216
|
press_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
5269
5217
|
/**
|
|
@@ -5367,14 +5315,10 @@ interface DivImageProps {
|
|
|
5367
5315
|
/**
|
|
5368
5316
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
5369
5317
|
* set.
|
|
5370
|
-
*
|
|
5371
|
-
* Platforms: android, ios, web
|
|
5372
5318
|
*/
|
|
5373
5319
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
5374
5320
|
/**
|
|
5375
5321
|
* Actions when an element appears on the screen.
|
|
5376
|
-
*
|
|
5377
|
-
* Platforms: android, ios, web
|
|
5378
5322
|
*/
|
|
5379
5323
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
5380
5324
|
/**
|
|
@@ -5697,14 +5641,10 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
5697
5641
|
/**
|
|
5698
5642
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
5699
5643
|
* set.
|
|
5700
|
-
*
|
|
5701
|
-
* Platforms: android, ios, web
|
|
5702
5644
|
*/
|
|
5703
5645
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
5704
5646
|
/**
|
|
5705
5647
|
* Actions when an element appears on the screen.
|
|
5706
|
-
*
|
|
5707
|
-
* Platforms: android, ios, web
|
|
5708
5648
|
*/
|
|
5709
5649
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
5710
5650
|
/**
|
|
@@ -5949,14 +5889,10 @@ interface DivIndicatorProps {
|
|
|
5949
5889
|
/**
|
|
5950
5890
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
5951
5891
|
* set.
|
|
5952
|
-
*
|
|
5953
|
-
* Platforms: android, ios, web
|
|
5954
5892
|
*/
|
|
5955
5893
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
5956
5894
|
/**
|
|
5957
5895
|
* Actions when an element appears on the screen.
|
|
5958
|
-
*
|
|
5959
|
-
* Platforms: android, ios, web
|
|
5960
5896
|
*/
|
|
5961
5897
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
5962
5898
|
/**
|
|
@@ -6286,14 +6222,10 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
6286
6222
|
/**
|
|
6287
6223
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
6288
6224
|
* set.
|
|
6289
|
-
*
|
|
6290
|
-
* Platforms: android, ios, web
|
|
6291
6225
|
*/
|
|
6292
6226
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
6293
6227
|
/**
|
|
6294
6228
|
* Actions when an element appears on the screen.
|
|
6295
|
-
*
|
|
6296
|
-
* Platforms: android, ios, web
|
|
6297
6229
|
*/
|
|
6298
6230
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
6299
6231
|
/**
|
|
@@ -6604,14 +6536,10 @@ interface DivInputProps {
|
|
|
6604
6536
|
/**
|
|
6605
6537
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
6606
6538
|
* set.
|
|
6607
|
-
*
|
|
6608
|
-
* Platforms: android, ios, web
|
|
6609
6539
|
*/
|
|
6610
6540
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
6611
6541
|
/**
|
|
6612
6542
|
* Actions when an element appears on the screen.
|
|
6613
|
-
*
|
|
6614
|
-
* Platforms: android, ios, web
|
|
6615
6543
|
*/
|
|
6616
6544
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
6617
6545
|
/**
|
|
@@ -7238,8 +7166,6 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
7238
7166
|
column_span?: Type<number | DivExpression>;
|
|
7239
7167
|
/**
|
|
7240
7168
|
* Ordinal number of the pager element that will be opened by default.
|
|
7241
|
-
*
|
|
7242
|
-
* Platforms: android, ios, web
|
|
7243
7169
|
*/
|
|
7244
7170
|
default_item?: Type<number | DivExpression>;
|
|
7245
7171
|
/**
|
|
@@ -7291,6 +7217,8 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
7291
7217
|
item_builder?: Type<IDivCollectionItemBuilder>;
|
|
7292
7218
|
/**
|
|
7293
7219
|
* Spacing between elements.
|
|
7220
|
+
*
|
|
7221
|
+
* Platforms: android, ios, web
|
|
7294
7222
|
*/
|
|
7295
7223
|
item_spacing?: Type<DivFixedSize>;
|
|
7296
7224
|
/**
|
|
@@ -7308,6 +7236,8 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
7308
7236
|
/**
|
|
7309
7237
|
* Type of calculation of the main page width:`fixed` — from the fixed width of the next page
|
|
7310
7238
|
* `neighbour_page_width`;`percentage` — from the percentage value `page_width`.
|
|
7239
|
+
*
|
|
7240
|
+
* Platforms: android, ios, web
|
|
7311
7241
|
*/
|
|
7312
7242
|
layout_mode: Type<DivPagerLayoutMode>;
|
|
7313
7243
|
/**
|
|
@@ -7429,14 +7359,10 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
7429
7359
|
/**
|
|
7430
7360
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
7431
7361
|
* set.
|
|
7432
|
-
*
|
|
7433
|
-
* Platforms: android, ios, web
|
|
7434
7362
|
*/
|
|
7435
7363
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
7436
7364
|
/**
|
|
7437
7365
|
* Actions when an element appears on the screen.
|
|
7438
|
-
*
|
|
7439
|
-
* Platforms: android, ios, web
|
|
7440
7366
|
*/
|
|
7441
7367
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
7442
7368
|
/**
|
|
@@ -7486,8 +7412,6 @@ interface DivPagerProps {
|
|
|
7486
7412
|
column_span?: Type<number | DivExpression>;
|
|
7487
7413
|
/**
|
|
7488
7414
|
* Ordinal number of the pager element that will be opened by default.
|
|
7489
|
-
*
|
|
7490
|
-
* Platforms: android, ios, web
|
|
7491
7415
|
*/
|
|
7492
7416
|
default_item?: Type<number | DivExpression>;
|
|
7493
7417
|
/**
|
|
@@ -7539,6 +7463,8 @@ interface DivPagerProps {
|
|
|
7539
7463
|
item_builder?: Type<IDivCollectionItemBuilder>;
|
|
7540
7464
|
/**
|
|
7541
7465
|
* Spacing between elements.
|
|
7466
|
+
*
|
|
7467
|
+
* Platforms: android, ios, web
|
|
7542
7468
|
*/
|
|
7543
7469
|
item_spacing?: Type<DivFixedSize>;
|
|
7544
7470
|
/**
|
|
@@ -7556,6 +7482,8 @@ interface DivPagerProps {
|
|
|
7556
7482
|
/**
|
|
7557
7483
|
* Type of calculation of the main page width:`fixed` — from the fixed width of the next page
|
|
7558
7484
|
* `neighbour_page_width`;`percentage` — from the percentage value `page_width`.
|
|
7485
|
+
*
|
|
7486
|
+
* Platforms: android, ios, web
|
|
7559
7487
|
*/
|
|
7560
7488
|
layout_mode: Type<DivPagerLayoutMode>;
|
|
7561
7489
|
/**
|
|
@@ -7677,14 +7605,10 @@ interface DivPagerProps {
|
|
|
7677
7605
|
/**
|
|
7678
7606
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
7679
7607
|
* set.
|
|
7680
|
-
*
|
|
7681
|
-
* Platforms: android, ios, web
|
|
7682
7608
|
*/
|
|
7683
7609
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
7684
7610
|
/**
|
|
7685
7611
|
* Actions when an element appears on the screen.
|
|
7686
|
-
*
|
|
7687
|
-
* Platforms: android, ios, web
|
|
7688
7612
|
*/
|
|
7689
7613
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
7690
7614
|
/**
|
|
@@ -8292,14 +8216,10 @@ declare class DivSelect<T extends DivSelectProps = DivSelectProps> {
|
|
|
8292
8216
|
/**
|
|
8293
8217
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
8294
8218
|
* set.
|
|
8295
|
-
*
|
|
8296
|
-
* Platforms: android, ios, web
|
|
8297
8219
|
*/
|
|
8298
8220
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
8299
8221
|
/**
|
|
8300
8222
|
* Actions when an element appears on the screen.
|
|
8301
|
-
*
|
|
8302
|
-
* Platforms: android, ios, web
|
|
8303
8223
|
*/
|
|
8304
8224
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
8305
8225
|
/**
|
|
@@ -8528,14 +8448,10 @@ interface DivSelectProps {
|
|
|
8528
8448
|
/**
|
|
8529
8449
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
8530
8450
|
* set.
|
|
8531
|
-
*
|
|
8532
|
-
* Platforms: android, ios, web
|
|
8533
8451
|
*/
|
|
8534
8452
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
8535
8453
|
/**
|
|
8536
8454
|
* Actions when an element appears on the screen.
|
|
8537
|
-
*
|
|
8538
|
-
* Platforms: android, ios, web
|
|
8539
8455
|
*/
|
|
8540
8456
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
8541
8457
|
/**
|
|
@@ -8659,14 +8575,14 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
8659
8575
|
* Actions performed after hovering over an element. Available on platforms that support pointing
|
|
8660
8576
|
* devices (such as a mouse or stylus).
|
|
8661
8577
|
*
|
|
8662
|
-
* Platforms: web
|
|
8578
|
+
* Platforms: web, android
|
|
8663
8579
|
*/
|
|
8664
8580
|
hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
8665
8581
|
/**
|
|
8666
8582
|
* Actions performed when hovering over an element. Available on platforms that support pointing
|
|
8667
8583
|
* devices (such as a mouse or stylus).
|
|
8668
8584
|
*
|
|
8669
|
-
* Platforms: web
|
|
8585
|
+
* Platforms: web, android
|
|
8670
8586
|
*/
|
|
8671
8587
|
hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
8672
8588
|
/**
|
|
@@ -8698,13 +8614,13 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
8698
8614
|
/**
|
|
8699
8615
|
* Actions performed after clicking/tapping an element.
|
|
8700
8616
|
*
|
|
8701
|
-
* Platforms: web
|
|
8617
|
+
* Platforms: web, android
|
|
8702
8618
|
*/
|
|
8703
8619
|
press_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
8704
8620
|
/**
|
|
8705
8621
|
* Actions performed at the start of a click/tap on an element.
|
|
8706
8622
|
*
|
|
8707
|
-
* Platforms: web
|
|
8623
|
+
* Platforms: web, android
|
|
8708
8624
|
*/
|
|
8709
8625
|
press_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
8710
8626
|
/**
|
|
@@ -8788,14 +8704,10 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
8788
8704
|
/**
|
|
8789
8705
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
8790
8706
|
* set.
|
|
8791
|
-
*
|
|
8792
|
-
* Platforms: android, ios, web
|
|
8793
8707
|
*/
|
|
8794
8708
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
8795
8709
|
/**
|
|
8796
8710
|
* Actions when an element appears on the screen.
|
|
8797
|
-
*
|
|
8798
|
-
* Platforms: android, ios, web
|
|
8799
8711
|
*/
|
|
8800
8712
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
8801
8713
|
/**
|
|
@@ -8901,14 +8813,14 @@ interface DivSeparatorProps {
|
|
|
8901
8813
|
* Actions performed after hovering over an element. Available on platforms that support pointing
|
|
8902
8814
|
* devices (such as a mouse or stylus).
|
|
8903
8815
|
*
|
|
8904
|
-
* Platforms: web
|
|
8816
|
+
* Platforms: web, android
|
|
8905
8817
|
*/
|
|
8906
8818
|
hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
8907
8819
|
/**
|
|
8908
8820
|
* Actions performed when hovering over an element. Available on platforms that support pointing
|
|
8909
8821
|
* devices (such as a mouse or stylus).
|
|
8910
8822
|
*
|
|
8911
|
-
* Platforms: web
|
|
8823
|
+
* Platforms: web, android
|
|
8912
8824
|
*/
|
|
8913
8825
|
hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
8914
8826
|
/**
|
|
@@ -8940,13 +8852,13 @@ interface DivSeparatorProps {
|
|
|
8940
8852
|
/**
|
|
8941
8853
|
* Actions performed after clicking/tapping an element.
|
|
8942
8854
|
*
|
|
8943
|
-
* Platforms: web
|
|
8855
|
+
* Platforms: web, android
|
|
8944
8856
|
*/
|
|
8945
8857
|
press_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
8946
8858
|
/**
|
|
8947
8859
|
* Actions performed at the start of a click/tap on an element.
|
|
8948
8860
|
*
|
|
8949
|
-
* Platforms: web
|
|
8861
|
+
* Platforms: web, android
|
|
8950
8862
|
*/
|
|
8951
8863
|
press_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
8952
8864
|
/**
|
|
@@ -9030,14 +8942,10 @@ interface DivSeparatorProps {
|
|
|
9030
8942
|
/**
|
|
9031
8943
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
9032
8944
|
* set.
|
|
9033
|
-
*
|
|
9034
|
-
* Platforms: android, ios, web
|
|
9035
8945
|
*/
|
|
9036
8946
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
9037
8947
|
/**
|
|
9038
8948
|
* Actions when an element appears on the screen.
|
|
9039
|
-
*
|
|
9040
|
-
* Platforms: android, ios, web
|
|
9041
8949
|
*/
|
|
9042
8950
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
9043
8951
|
/**
|
|
@@ -9131,8 +9039,6 @@ interface DivShapeDrawableProps {
|
|
|
9131
9039
|
interface IDivSightAction {
|
|
9132
9040
|
/**
|
|
9133
9041
|
* Callbacks that are called after [data loading](../../interaction#loading-data).
|
|
9134
|
-
*
|
|
9135
|
-
* Platforms: android, ios, web
|
|
9136
9042
|
*/
|
|
9137
9043
|
download_callbacks?: Type<IDivDownloadCallbacks>;
|
|
9138
9044
|
/**
|
|
@@ -9313,9 +9219,9 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
9313
9219
|
*/
|
|
9314
9220
|
id?: Type<string>;
|
|
9315
9221
|
/**
|
|
9316
|
-
* Enables or disables
|
|
9222
|
+
* Enables or disables toggling values by clicking or swiping.
|
|
9317
9223
|
*
|
|
9318
|
-
* Platforms: android
|
|
9224
|
+
* Platforms: android, web
|
|
9319
9225
|
*/
|
|
9320
9226
|
is_enabled?: Type<IntBoolean | DivExpression>;
|
|
9321
9227
|
/**
|
|
@@ -9473,14 +9379,10 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
9473
9379
|
/**
|
|
9474
9380
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
9475
9381
|
* set.
|
|
9476
|
-
*
|
|
9477
|
-
* Platforms: android, ios, web
|
|
9478
9382
|
*/
|
|
9479
9383
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
9480
9384
|
/**
|
|
9481
9385
|
* Actions when an element appears on the screen.
|
|
9482
|
-
*
|
|
9483
|
-
* Platforms: android, ios, web
|
|
9484
9386
|
*/
|
|
9485
9387
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
9486
9388
|
/**
|
|
@@ -9563,9 +9465,9 @@ interface DivSliderProps {
|
|
|
9563
9465
|
*/
|
|
9564
9466
|
id?: Type<string>;
|
|
9565
9467
|
/**
|
|
9566
|
-
* Enables or disables
|
|
9468
|
+
* Enables or disables toggling values by clicking or swiping.
|
|
9567
9469
|
*
|
|
9568
|
-
* Platforms: android
|
|
9470
|
+
* Platforms: android, web
|
|
9569
9471
|
*/
|
|
9570
9472
|
is_enabled?: Type<IntBoolean | DivExpression>;
|
|
9571
9473
|
/**
|
|
@@ -9723,14 +9625,10 @@ interface DivSliderProps {
|
|
|
9723
9625
|
/**
|
|
9724
9626
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
9725
9627
|
* set.
|
|
9726
|
-
*
|
|
9727
|
-
* Platforms: android, ios, web
|
|
9728
9628
|
*/
|
|
9729
9629
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
9730
9630
|
/**
|
|
9731
9631
|
* Actions when an element appears on the screen.
|
|
9732
|
-
*
|
|
9733
|
-
* Platforms: android, ios, web
|
|
9734
9632
|
*/
|
|
9735
9633
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
9736
9634
|
/**
|
|
@@ -10015,14 +9913,10 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
10015
9913
|
/**
|
|
10016
9914
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
10017
9915
|
* set.
|
|
10018
|
-
*
|
|
10019
|
-
* Platforms: android, ios, web
|
|
10020
9916
|
*/
|
|
10021
9917
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
10022
9918
|
/**
|
|
10023
9919
|
* Actions when an element appears on the screen.
|
|
10024
|
-
*
|
|
10025
|
-
* Platforms: android, ios, web
|
|
10026
9920
|
*/
|
|
10027
9921
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
10028
9922
|
/**
|
|
@@ -10233,14 +10127,10 @@ interface DivStateProps {
|
|
|
10233
10127
|
/**
|
|
10234
10128
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
10235
10129
|
* set.
|
|
10236
|
-
*
|
|
10237
|
-
* Platforms: android, ios, web
|
|
10238
10130
|
*/
|
|
10239
10131
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
10240
10132
|
/**
|
|
10241
10133
|
* Actions when an element appears on the screen.
|
|
10242
|
-
*
|
|
10243
|
-
* Platforms: android, ios, web
|
|
10244
10134
|
*/
|
|
10245
10135
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
10246
10136
|
/**
|
|
@@ -10514,14 +10404,10 @@ declare class DivSwitch<T extends DivSwitchProps = DivSwitchProps> {
|
|
|
10514
10404
|
/**
|
|
10515
10405
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
10516
10406
|
* set.
|
|
10517
|
-
*
|
|
10518
|
-
* Platforms: android, ios, web
|
|
10519
10407
|
*/
|
|
10520
10408
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
10521
10409
|
/**
|
|
10522
10410
|
* Actions when an element appears on the screen.
|
|
10523
|
-
*
|
|
10524
|
-
* Platforms: android, ios, web
|
|
10525
10411
|
*/
|
|
10526
10412
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
10527
10413
|
/**
|
|
@@ -10713,14 +10599,10 @@ interface DivSwitchProps {
|
|
|
10713
10599
|
/**
|
|
10714
10600
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
10715
10601
|
* set.
|
|
10716
|
-
*
|
|
10717
|
-
* Platforms: android, ios, web
|
|
10718
10602
|
*/
|
|
10719
10603
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
10720
10604
|
/**
|
|
10721
10605
|
* Actions when an element appears on the screen.
|
|
10722
|
-
*
|
|
10723
|
-
* Platforms: android, ios, web
|
|
10724
10606
|
*/
|
|
10725
10607
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
10726
10608
|
/**
|
|
@@ -10961,14 +10843,10 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
10961
10843
|
/**
|
|
10962
10844
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
10963
10845
|
* set.
|
|
10964
|
-
*
|
|
10965
|
-
* Platforms: android, ios, web
|
|
10966
10846
|
*/
|
|
10967
10847
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
10968
10848
|
/**
|
|
10969
10849
|
* Actions when an element appears on the screen.
|
|
10970
|
-
*
|
|
10971
|
-
* Platforms: android, ios, web
|
|
10972
10850
|
*/
|
|
10973
10851
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
10974
10852
|
/**
|
|
@@ -11203,14 +11081,10 @@ interface DivTabsProps {
|
|
|
11203
11081
|
/**
|
|
11204
11082
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
11205
11083
|
* set.
|
|
11206
|
-
*
|
|
11207
|
-
* Platforms: android, ios, web
|
|
11208
11084
|
*/
|
|
11209
11085
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
11210
11086
|
/**
|
|
11211
11087
|
* Actions when an element appears on the screen.
|
|
11212
|
-
*
|
|
11213
|
-
* Platforms: android, ios, web
|
|
11214
11088
|
*/
|
|
11215
11089
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
11216
11090
|
/**
|
|
@@ -11489,14 +11363,14 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
11489
11363
|
* Actions performed after hovering over an element. Available on platforms that support pointing
|
|
11490
11364
|
* devices (such as a mouse or stylus).
|
|
11491
11365
|
*
|
|
11492
|
-
* Platforms: web
|
|
11366
|
+
* Platforms: web, android
|
|
11493
11367
|
*/
|
|
11494
11368
|
hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
11495
11369
|
/**
|
|
11496
11370
|
* Actions performed when hovering over an element. Available on platforms that support pointing
|
|
11497
11371
|
* devices (such as a mouse or stylus).
|
|
11498
11372
|
*
|
|
11499
|
-
* Platforms: web
|
|
11373
|
+
* Platforms: web, android
|
|
11500
11374
|
*/
|
|
11501
11375
|
hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
11502
11376
|
/**
|
|
@@ -11554,13 +11428,13 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
11554
11428
|
/**
|
|
11555
11429
|
* Actions performed after clicking/tapping an element.
|
|
11556
11430
|
*
|
|
11557
|
-
* Platforms: web
|
|
11431
|
+
* Platforms: web, android
|
|
11558
11432
|
*/
|
|
11559
11433
|
press_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
11560
11434
|
/**
|
|
11561
11435
|
* Actions performed at the start of a click/tap on an element.
|
|
11562
11436
|
*
|
|
11563
|
-
* Platforms: web
|
|
11437
|
+
* Platforms: web, android
|
|
11564
11438
|
*/
|
|
11565
11439
|
press_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
11566
11440
|
/**
|
|
@@ -11708,14 +11582,10 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
11708
11582
|
/**
|
|
11709
11583
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
11710
11584
|
* set.
|
|
11711
|
-
*
|
|
11712
|
-
* Platforms: android, ios, web
|
|
11713
11585
|
*/
|
|
11714
11586
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
11715
11587
|
/**
|
|
11716
11588
|
* Actions when an element appears on the screen.
|
|
11717
|
-
*
|
|
11718
|
-
* Platforms: android, ios, web
|
|
11719
11589
|
*/
|
|
11720
11590
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
11721
11591
|
/**
|
|
@@ -11867,14 +11737,14 @@ interface DivTextProps {
|
|
|
11867
11737
|
* Actions performed after hovering over an element. Available on platforms that support pointing
|
|
11868
11738
|
* devices (such as a mouse or stylus).
|
|
11869
11739
|
*
|
|
11870
|
-
* Platforms: web
|
|
11740
|
+
* Platforms: web, android
|
|
11871
11741
|
*/
|
|
11872
11742
|
hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
11873
11743
|
/**
|
|
11874
11744
|
* Actions performed when hovering over an element. Available on platforms that support pointing
|
|
11875
11745
|
* devices (such as a mouse or stylus).
|
|
11876
11746
|
*
|
|
11877
|
-
* Platforms: web
|
|
11747
|
+
* Platforms: web, android
|
|
11878
11748
|
*/
|
|
11879
11749
|
hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
11880
11750
|
/**
|
|
@@ -11932,13 +11802,13 @@ interface DivTextProps {
|
|
|
11932
11802
|
/**
|
|
11933
11803
|
* Actions performed after clicking/tapping an element.
|
|
11934
11804
|
*
|
|
11935
|
-
* Platforms: web
|
|
11805
|
+
* Platforms: web, android
|
|
11936
11806
|
*/
|
|
11937
11807
|
press_end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
11938
11808
|
/**
|
|
11939
11809
|
* Actions performed at the start of a click/tap on an element.
|
|
11940
11810
|
*
|
|
11941
|
-
* Platforms: web
|
|
11811
|
+
* Platforms: web, android
|
|
11942
11812
|
*/
|
|
11943
11813
|
press_start_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
11944
11814
|
/**
|
|
@@ -12086,14 +11956,10 @@ interface DivTextProps {
|
|
|
12086
11956
|
/**
|
|
12087
11957
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
12088
11958
|
* set.
|
|
12089
|
-
*
|
|
12090
|
-
* Platforms: android, ios, web
|
|
12091
11959
|
*/
|
|
12092
11960
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
12093
11961
|
/**
|
|
12094
11962
|
* Actions when an element appears on the screen.
|
|
12095
|
-
*
|
|
12096
|
-
* Platforms: android, ios, web
|
|
12097
11963
|
*/
|
|
12098
11964
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
12099
11965
|
/**
|
|
@@ -12142,12 +12008,12 @@ interface IDivTextImage {
|
|
|
12142
12008
|
*/
|
|
12143
12009
|
height?: Type<DivFixedSize>;
|
|
12144
12010
|
/**
|
|
12145
|
-
* Defines direction in `start` parameter:
|
|
12146
|
-
`normal`
|
|
12147
|
-
* ..., N]). Use to insert an image by index relative to the
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
* image by index relative to the end of a string.
|
|
12011
|
+
* Defines the direction in the `start` parameter:
|
|
12012
|
+
– `normal` is for regular string indexing ([0,
|
|
12013
|
+
* 1, 2, ..., N]). Use it if you need to insert an image by index relative to the beginning of a
|
|
12014
|
+
* string.
|
|
12015
|
+
– `reversed` is for indexing a string from the end to the beginning ([N, ..., 2, 1,
|
|
12016
|
+
* 0]). Use it if you need to insert an image by index relative to the end of a string.
|
|
12151
12017
|
*
|
|
12152
12018
|
* Platforms: android, web
|
|
12153
12019
|
*/
|
|
@@ -12216,7 +12082,7 @@ interface IDivTextRange {
|
|
|
12216
12082
|
/**
|
|
12217
12083
|
* Character baseline vertial offset. If set, vertical alignment is ignored.
|
|
12218
12084
|
*
|
|
12219
|
-
* Platforms: android
|
|
12085
|
+
* Platforms: android, web
|
|
12220
12086
|
*/
|
|
12221
12087
|
baseline_offset?: Type<number | DivExpression>;
|
|
12222
12088
|
/**
|
|
@@ -12271,8 +12137,8 @@ interface IDivTextRange {
|
|
|
12271
12137
|
*/
|
|
12272
12138
|
line_height?: Type<number | DivExpression>;
|
|
12273
12139
|
/**
|
|
12274
|
-
* A mask that hides a part of text
|
|
12275
|
-
* property.
|
|
12140
|
+
* A mask that hides a part of text. To show the hidden text, disable the mask using the
|
|
12141
|
+
* `is_enabled` property.
|
|
12276
12142
|
*
|
|
12277
12143
|
* Platforms: not supported
|
|
12278
12144
|
*/
|
|
@@ -12330,72 +12196,72 @@ declare type DivTextRangeMask = DivTextRangeMaskParticles | DivTextRangeMaskSoli
|
|
|
12330
12196
|
|
|
12331
12197
|
interface IDivTextRangeMaskBase {
|
|
12332
12198
|
/**
|
|
12333
|
-
* Controls mask state
|
|
12334
|
-
* text will be shown.
|
|
12199
|
+
* Controls the mask state. If set to `true`, the mask will hide the specified part of text.
|
|
12200
|
+
* Otherwise, the text will be shown.
|
|
12335
12201
|
*/
|
|
12336
12202
|
is_enabled?: Type<boolean | DivExpression>;
|
|
12337
12203
|
}
|
|
12338
12204
|
|
|
12339
12205
|
/**
|
|
12340
|
-
* A mask to hide text (spoiler)
|
|
12206
|
+
* A mask to hide text (spoiler). Looks like randomly distributed particles, same as in Telegram.
|
|
12341
12207
|
*/
|
|
12342
12208
|
declare class DivTextRangeMaskParticles<T extends DivTextRangeMaskParticlesProps = DivTextRangeMaskParticlesProps> {
|
|
12343
12209
|
readonly _props?: Exact<DivTextRangeMaskParticlesProps, T>;
|
|
12344
12210
|
readonly type = "particles";
|
|
12345
12211
|
/**
|
|
12346
|
-
*
|
|
12212
|
+
* The color of particles on the mask.
|
|
12347
12213
|
*/
|
|
12348
12214
|
color: Type<string | DivExpression>;
|
|
12349
12215
|
/**
|
|
12350
|
-
*
|
|
12351
|
-
* given point on the mask.
|
|
12216
|
+
* The density of particles on the mask. Interpreted as the probability of a particle to appear
|
|
12217
|
+
* in a given point on the mask.
|
|
12352
12218
|
*/
|
|
12353
12219
|
density?: Type<number | DivExpression>;
|
|
12354
12220
|
/**
|
|
12355
|
-
*
|
|
12356
|
-
*
|
|
12221
|
+
* Enables animation for particles on the mask. The animation looks like a smooth movement of
|
|
12222
|
+
* particles across the mask, same as in Telegram.
|
|
12357
12223
|
*/
|
|
12358
12224
|
is_animated?: Type<boolean | DivExpression>;
|
|
12359
12225
|
/**
|
|
12360
|
-
* Controls mask state
|
|
12361
|
-
* text will be shown.
|
|
12226
|
+
* Controls the mask state. If set to `true`, the mask will hide the specified part of text.
|
|
12227
|
+
* Otherwise, the text will be shown.
|
|
12362
12228
|
*/
|
|
12363
12229
|
is_enabled?: Type<boolean | DivExpression>;
|
|
12364
12230
|
/**
|
|
12365
|
-
*
|
|
12231
|
+
* The size of a single particle on the mask.
|
|
12366
12232
|
*/
|
|
12367
12233
|
particle_size?: Type<DivFixedSize>;
|
|
12368
12234
|
constructor(props: Exact<DivTextRangeMaskParticlesProps, T>);
|
|
12369
12235
|
}
|
|
12370
12236
|
interface DivTextRangeMaskParticlesProps {
|
|
12371
12237
|
/**
|
|
12372
|
-
*
|
|
12238
|
+
* The color of particles on the mask.
|
|
12373
12239
|
*/
|
|
12374
12240
|
color: Type<string | DivExpression>;
|
|
12375
12241
|
/**
|
|
12376
|
-
*
|
|
12377
|
-
* given point on the mask.
|
|
12242
|
+
* The density of particles on the mask. Interpreted as the probability of a particle to appear
|
|
12243
|
+
* in a given point on the mask.
|
|
12378
12244
|
*/
|
|
12379
12245
|
density?: Type<number | DivExpression>;
|
|
12380
12246
|
/**
|
|
12381
|
-
*
|
|
12382
|
-
*
|
|
12247
|
+
* Enables animation for particles on the mask. The animation looks like a smooth movement of
|
|
12248
|
+
* particles across the mask, same as in Telegram.
|
|
12383
12249
|
*/
|
|
12384
12250
|
is_animated?: Type<boolean | DivExpression>;
|
|
12385
12251
|
/**
|
|
12386
|
-
* Controls mask state
|
|
12387
|
-
* text will be shown.
|
|
12252
|
+
* Controls the mask state. If set to `true`, the mask will hide the specified part of text.
|
|
12253
|
+
* Otherwise, the text will be shown.
|
|
12388
12254
|
*/
|
|
12389
12255
|
is_enabled?: Type<boolean | DivExpression>;
|
|
12390
12256
|
/**
|
|
12391
|
-
*
|
|
12257
|
+
* The size of a single particle on the mask.
|
|
12392
12258
|
*/
|
|
12393
12259
|
particle_size?: Type<DivFixedSize>;
|
|
12394
12260
|
}
|
|
12395
12261
|
|
|
12396
12262
|
/**
|
|
12397
|
-
* A mask to hide text (spoiler)
|
|
12398
|
-
* `color` parameter.
|
|
12263
|
+
* A mask to hide text (spoiler). Looks like a rectangle filled with the color specified in the
|
|
12264
|
+
* `color` parameter, same as in Telegram.
|
|
12399
12265
|
*/
|
|
12400
12266
|
declare class DivTextRangeMaskSolid<T extends DivTextRangeMaskSolidProps = DivTextRangeMaskSolidProps> {
|
|
12401
12267
|
readonly _props?: Exact<DivTextRangeMaskSolidProps, T>;
|
|
@@ -12405,8 +12271,8 @@ declare class DivTextRangeMaskSolid<T extends DivTextRangeMaskSolidProps = DivTe
|
|
|
12405
12271
|
*/
|
|
12406
12272
|
color: Type<string | DivExpression>;
|
|
12407
12273
|
/**
|
|
12408
|
-
* Controls mask state
|
|
12409
|
-
* text will be shown.
|
|
12274
|
+
* Controls the mask state. If set to `true`, the mask will hide the specified part of text.
|
|
12275
|
+
* Otherwise, the text will be shown.
|
|
12410
12276
|
*/
|
|
12411
12277
|
is_enabled?: Type<boolean | DivExpression>;
|
|
12412
12278
|
constructor(props: Exact<DivTextRangeMaskSolidProps, T>);
|
|
@@ -12417,8 +12283,8 @@ interface DivTextRangeMaskSolidProps {
|
|
|
12417
12283
|
*/
|
|
12418
12284
|
color: Type<string | DivExpression>;
|
|
12419
12285
|
/**
|
|
12420
|
-
* Controls mask state
|
|
12421
|
-
* text will be shown.
|
|
12286
|
+
* Controls the mask state. If set to `true`, the mask will hide the specified part of text.
|
|
12287
|
+
* Otherwise, the text will be shown.
|
|
12422
12288
|
*/
|
|
12423
12289
|
is_enabled?: Type<boolean | DivExpression>;
|
|
12424
12290
|
}
|
|
@@ -12801,14 +12667,10 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
12801
12667
|
/**
|
|
12802
12668
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
12803
12669
|
* set.
|
|
12804
|
-
*
|
|
12805
|
-
* Platforms: android, ios, web
|
|
12806
12670
|
*/
|
|
12807
12671
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
12808
12672
|
/**
|
|
12809
12673
|
* Actions when an element appears on the screen.
|
|
12810
|
-
*
|
|
12811
|
-
* Platforms: android, ios, web
|
|
12812
12674
|
*/
|
|
12813
12675
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
12814
12676
|
/**
|
|
@@ -13050,14 +12912,10 @@ interface DivVideoProps {
|
|
|
13050
12912
|
/**
|
|
13051
12913
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
13052
12914
|
* set.
|
|
13053
|
-
*
|
|
13054
|
-
* Platforms: android, ios, web
|
|
13055
12915
|
*/
|
|
13056
12916
|
visibility_action?: Type<IDivVisibilityAction>;
|
|
13057
12917
|
/**
|
|
13058
12918
|
* Actions when an element appears on the screen.
|
|
13059
|
-
*
|
|
13060
|
-
* Platforms: android, ios, web
|
|
13061
12919
|
*/
|
|
13062
12920
|
visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
|
|
13063
12921
|
/**
|
|
@@ -13146,8 +13004,6 @@ declare type DivVisibility = 'visible' | 'invisible' | 'gone';
|
|
|
13146
13004
|
interface IDivVisibilityAction {
|
|
13147
13005
|
/**
|
|
13148
13006
|
* Callbacks that are called after [data loading](../../interaction#loading-data).
|
|
13149
|
-
*
|
|
13150
|
-
* Platforms: android, ios, web
|
|
13151
13007
|
*/
|
|
13152
13008
|
download_callbacks?: Type<IDivDownloadCallbacks>;
|
|
13153
13009
|
/**
|