@aarsteinmedia/dotlottie-player 2.1.3 → 2.1.4

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.
@@ -1,1215 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "src/index.ts",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "js",
12
- "name": "DotLottiePlayer",
13
- "declaration": {
14
- "name": "DotLottiePlayer",
15
- "module": "src/index.ts"
16
- }
17
- },
18
- {
19
- "kind": "js",
20
- "name": "PlayMode",
21
- "declaration": {
22
- "name": "PlayMode",
23
- "module": "./component/types"
24
- }
25
- },
26
- {
27
- "kind": "js",
28
- "name": "PlayerEvents",
29
- "declaration": {
30
- "name": "PlayerEvents",
31
- "module": "./component/types"
32
- }
33
- },
34
- {
35
- "kind": "js",
36
- "name": "PlayerState",
37
- "declaration": {
38
- "name": "PlayerState",
39
- "module": "./component/types"
40
- }
41
- }
42
- ]
43
- },
44
- {
45
- "kind": "javascript-module",
46
- "path": "src/component/functions.ts",
47
- "declarations": [
48
- {
49
- "kind": "function",
50
- "name": "addExt",
51
- "parameters": [
52
- {
53
- "name": "ext",
54
- "type": {
55
- "text": "string"
56
- }
57
- },
58
- {
59
- "name": "str",
60
- "optional": true,
61
- "type": {
62
- "text": "string"
63
- }
64
- }
65
- ]
66
- },
67
- {
68
- "kind": "variable",
69
- "name": "aspectRatio"
70
- },
71
- {
72
- "kind": "variable",
73
- "name": "base64ToU8"
74
- },
75
- {
76
- "kind": "variable",
77
- "name": "createDotLottie"
78
- },
79
- {
80
- "kind": "variable",
81
- "name": "download"
82
- },
83
- {
84
- "kind": "variable",
85
- "name": "handleErrors"
86
- },
87
- {
88
- "kind": "variable",
89
- "name": "frameOutput"
90
- },
91
- {
92
- "kind": "variable",
93
- "name": "getAnimationData"
94
- },
95
- {
96
- "kind": "variable",
97
- "name": "getArrayBuffer"
98
- },
99
- {
100
- "kind": "variable",
101
- "name": "getExt"
102
- },
103
- {
104
- "kind": "variable",
105
- "name": "getExtFromB64"
106
- },
107
- {
108
- "kind": "variable",
109
- "name": "getFilename"
110
- },
111
- {
112
- "kind": "variable",
113
- "name": "getLottieJSON"
114
- },
115
- {
116
- "kind": "variable",
117
- "name": "getManifest"
118
- },
119
- {
120
- "kind": "variable",
121
- "name": "getMimeFromExt"
122
- },
123
- {
124
- "kind": "variable",
125
- "name": "hasExt"
126
- },
127
- {
128
- "kind": "variable",
129
- "name": "isAudio"
130
- },
131
- {
132
- "kind": "variable",
133
- "name": "isImage"
134
- },
135
- {
136
- "kind": "variable",
137
- "name": "isServer"
138
- },
139
- {
140
- "kind": "variable",
141
- "name": "strToU8"
142
- },
143
- {
144
- "kind": "variable",
145
- "name": "resolveAssets"
146
- },
147
- {
148
- "kind": "variable",
149
- "name": "unzip"
150
- },
151
- {
152
- "kind": "variable",
153
- "name": "useId"
154
- }
155
- ],
156
- "exports": [
157
- {
158
- "kind": "js",
159
- "name": "addExt",
160
- "declaration": {
161
- "name": "addExt",
162
- "module": "src/component/functions.ts"
163
- }
164
- },
165
- {
166
- "kind": "js",
167
- "name": "aspectRatio",
168
- "declaration": {
169
- "name": "aspectRatio",
170
- "module": "src/component/functions.ts"
171
- }
172
- },
173
- {
174
- "kind": "js",
175
- "name": "base64ToU8",
176
- "declaration": {
177
- "name": "base64ToU8",
178
- "module": "src/component/functions.ts"
179
- }
180
- },
181
- {
182
- "kind": "js",
183
- "name": "createDotLottie",
184
- "declaration": {
185
- "name": "createDotLottie",
186
- "module": "src/component/functions.ts"
187
- }
188
- },
189
- {
190
- "kind": "js",
191
- "name": "download",
192
- "declaration": {
193
- "name": "download",
194
- "module": "src/component/functions.ts"
195
- }
196
- },
197
- {
198
- "kind": "js",
199
- "name": "handleErrors",
200
- "declaration": {
201
- "name": "handleErrors",
202
- "module": "src/component/functions.ts"
203
- }
204
- },
205
- {
206
- "kind": "js",
207
- "name": "frameOutput",
208
- "declaration": {
209
- "name": "frameOutput",
210
- "module": "src/component/functions.ts"
211
- }
212
- },
213
- {
214
- "kind": "js",
215
- "name": "getAnimationData",
216
- "declaration": {
217
- "name": "getAnimationData",
218
- "module": "src/component/functions.ts"
219
- }
220
- },
221
- {
222
- "kind": "js",
223
- "name": "getArrayBuffer",
224
- "declaration": {
225
- "name": "getArrayBuffer",
226
- "module": "src/component/functions.ts"
227
- }
228
- },
229
- {
230
- "kind": "js",
231
- "name": "getExt",
232
- "declaration": {
233
- "name": "getExt",
234
- "module": "src/component/functions.ts"
235
- }
236
- },
237
- {
238
- "kind": "js",
239
- "name": "getExtFromB64",
240
- "declaration": {
241
- "name": "getExtFromB64",
242
- "module": "src/component/functions.ts"
243
- }
244
- },
245
- {
246
- "kind": "js",
247
- "name": "getFilename",
248
- "declaration": {
249
- "name": "getFilename",
250
- "module": "src/component/functions.ts"
251
- }
252
- },
253
- {
254
- "kind": "js",
255
- "name": "getLottieJSON",
256
- "declaration": {
257
- "name": "getLottieJSON",
258
- "module": "src/component/functions.ts"
259
- }
260
- },
261
- {
262
- "kind": "js",
263
- "name": "getManifest",
264
- "declaration": {
265
- "name": "getManifest",
266
- "module": "src/component/functions.ts"
267
- }
268
- },
269
- {
270
- "kind": "js",
271
- "name": "getMimeFromExt",
272
- "declaration": {
273
- "name": "getMimeFromExt",
274
- "module": "src/component/functions.ts"
275
- }
276
- },
277
- {
278
- "kind": "js",
279
- "name": "hasExt",
280
- "declaration": {
281
- "name": "hasExt",
282
- "module": "src/component/functions.ts"
283
- }
284
- },
285
- {
286
- "kind": "js",
287
- "name": "isAudio",
288
- "declaration": {
289
- "name": "isAudio",
290
- "module": "src/component/functions.ts"
291
- }
292
- },
293
- {
294
- "kind": "js",
295
- "name": "isImage",
296
- "declaration": {
297
- "name": "isImage",
298
- "module": "src/component/functions.ts"
299
- }
300
- },
301
- {
302
- "kind": "js",
303
- "name": "isServer",
304
- "declaration": {
305
- "name": "isServer",
306
- "module": "src/component/functions.ts"
307
- }
308
- },
309
- {
310
- "kind": "js",
311
- "name": "strToU8",
312
- "declaration": {
313
- "name": "strToU8",
314
- "module": "src/component/functions.ts"
315
- }
316
- },
317
- {
318
- "kind": "js",
319
- "name": "resolveAssets",
320
- "declaration": {
321
- "name": "resolveAssets",
322
- "module": "src/component/functions.ts"
323
- }
324
- },
325
- {
326
- "kind": "js",
327
- "name": "unzip",
328
- "declaration": {
329
- "name": "unzip",
330
- "module": "src/component/functions.ts"
331
- }
332
- },
333
- {
334
- "kind": "js",
335
- "name": "useId",
336
- "declaration": {
337
- "name": "useId",
338
- "module": "src/component/functions.ts"
339
- }
340
- }
341
- ]
342
- },
343
- {
344
- "kind": "javascript-module",
345
- "path": "src/component/index.ts",
346
- "declarations": [
347
- {
348
- "kind": "class",
349
- "description": "dotLottie Player Web Component",
350
- "name": "DotLottiePlayer",
351
- "members": [
352
- {
353
- "kind": "field",
354
- "name": "autoplay",
355
- "type": {
356
- "text": "Autoplay | undefined"
357
- },
358
- "description": "Autoplay",
359
- "attribute": "autoplay",
360
- "reflects": true
361
- },
362
- {
363
- "kind": "field",
364
- "name": "background",
365
- "type": {
366
- "text": "string | undefined"
367
- },
368
- "default": "'transparent'",
369
- "description": "Background color",
370
- "attribute": "background"
371
- },
372
- {
373
- "kind": "field",
374
- "name": "controls",
375
- "type": {
376
- "text": "Controls | undefined"
377
- },
378
- "default": "false",
379
- "description": "Display controls",
380
- "attribute": "controls",
381
- "reflects": true
382
- },
383
- {
384
- "kind": "field",
385
- "name": "count",
386
- "type": {
387
- "text": "number | undefined"
388
- },
389
- "description": "Number of times to loop",
390
- "attribute": "count"
391
- },
392
- {
393
- "kind": "field",
394
- "name": "currentState",
395
- "type": {
396
- "text": "PlayerState | undefined"
397
- },
398
- "description": "Player state",
399
- "attribute": "currentState"
400
- },
401
- {
402
- "kind": "field",
403
- "name": "description",
404
- "type": {
405
- "text": "string | undefined"
406
- },
407
- "description": "Description for screen readers",
408
- "attribute": "description"
409
- },
410
- {
411
- "kind": "field",
412
- "name": "direction",
413
- "type": {
414
- "text": "AnimationDirection | undefined"
415
- },
416
- "default": "1",
417
- "description": "Direction of animation",
418
- "attribute": "direction"
419
- },
420
- {
421
- "kind": "field",
422
- "name": "hover",
423
- "type": {
424
- "text": "boolean"
425
- },
426
- "default": "false",
427
- "description": "Whether to play on mouseover",
428
- "attribute": "hover"
429
- },
430
- {
431
- "kind": "field",
432
- "name": "intermission",
433
- "type": {
434
- "text": "number"
435
- },
436
- "default": "0",
437
- "description": "Intermission",
438
- "attribute": "intermission"
439
- },
440
- {
441
- "kind": "field",
442
- "name": "loop",
443
- "type": {
444
- "text": "Loop | undefined"
445
- },
446
- "default": "false",
447
- "description": "Whether to loop",
448
- "attribute": "loop",
449
- "reflects": true
450
- },
451
- {
452
- "kind": "field",
453
- "name": "mode",
454
- "type": {
455
- "text": "PlayMode | undefined"
456
- },
457
- "description": "Play mode",
458
- "attribute": "mode"
459
- },
460
- {
461
- "kind": "field",
462
- "name": "objectfit",
463
- "type": {
464
- "text": "ObjectFit | undefined"
465
- },
466
- "default": "'contain'",
467
- "description": "Resizing to container",
468
- "attribute": "objectfit"
469
- },
470
- {
471
- "kind": "field",
472
- "name": "preserveAspectRatio",
473
- "type": {
474
- "text": "PreserveAspectRatio | undefined"
475
- },
476
- "description": "Resizing to container (Deprecated)",
477
- "attribute": "preserveAspectRatio"
478
- },
479
- {
480
- "kind": "field",
481
- "name": "renderer",
482
- "type": {
483
- "text": "RendererType | undefined"
484
- },
485
- "default": "'svg'",
486
- "description": "Renderer to use (svg, canvas or html)",
487
- "attribute": "renderer"
488
- },
489
- {
490
- "kind": "field",
491
- "name": "segment",
492
- "type": {
493
- "text": "AnimationSegment | undefined"
494
- },
495
- "description": "Segment",
496
- "attribute": "segment"
497
- },
498
- {
499
- "kind": "field",
500
- "name": "simple",
501
- "type": {
502
- "text": "boolean | undefined"
503
- },
504
- "default": "false",
505
- "description": "Hide advanced controls",
506
- "attribute": "simple"
507
- },
508
- {
509
- "kind": "field",
510
- "name": "speed",
511
- "type": {
512
- "text": "number | undefined"
513
- },
514
- "default": "1",
515
- "description": "Speed",
516
- "attribute": "speed"
517
- },
518
- {
519
- "kind": "field",
520
- "name": "src",
521
- "type": {
522
- "text": "string"
523
- },
524
- "description": "JSON/dotLottie data or URL",
525
- "attribute": "src"
526
- },
527
- {
528
- "kind": "field",
529
- "name": "subframe",
530
- "type": {
531
- "text": "Subframe | undefined"
532
- },
533
- "default": "true",
534
- "description": "Subframe",
535
- "attribute": "subframe"
536
- },
537
- {
538
- "kind": "field",
539
- "name": "container",
540
- "type": {
541
- "text": "HTMLElement"
542
- },
543
- "privacy": "protected",
544
- "description": "Animaiton Container"
545
- },
546
- {
547
- "kind": "field",
548
- "name": "_isSettingsOpen",
549
- "type": {
550
- "text": "boolean"
551
- },
552
- "privacy": "private",
553
- "default": "false",
554
- "description": "Whether settings toolbar is open"
555
- },
556
- {
557
- "kind": "field",
558
- "name": "_seeker",
559
- "type": {
560
- "text": "number"
561
- },
562
- "privacy": "private",
563
- "default": "0",
564
- "description": "Seeker"
565
- },
566
- {
567
- "kind": "field",
568
- "name": "_currentAnimation",
569
- "type": {
570
- "text": "number"
571
- },
572
- "privacy": "private",
573
- "default": "0",
574
- "description": "Which animation to show, if several"
575
- },
576
- {
577
- "kind": "field",
578
- "name": "_intersectionObserver",
579
- "type": {
580
- "text": "IntersectionObserver | undefined"
581
- },
582
- "privacy": "private"
583
- },
584
- {
585
- "kind": "field",
586
- "name": "_lottieInstance",
587
- "type": {
588
- "text": "AnimationItem | null"
589
- },
590
- "privacy": "private",
591
- "default": "null"
592
- },
593
- {
594
- "kind": "field",
595
- "name": "_identifier",
596
- "privacy": "private"
597
- },
598
- {
599
- "kind": "field",
600
- "name": "_errorMessage",
601
- "type": {
602
- "text": "string"
603
- },
604
- "privacy": "private",
605
- "default": "'Something went wrong'"
606
- },
607
- {
608
- "kind": "field",
609
- "name": "_isDotLottie",
610
- "type": {
611
- "text": "boolean"
612
- },
613
- "privacy": "private",
614
- "default": "false"
615
- },
616
- {
617
- "kind": "field",
618
- "name": "_manifest",
619
- "type": {
620
- "text": "LottieManifest"
621
- },
622
- "privacy": "private"
623
- },
624
- {
625
- "kind": "field",
626
- "name": "_animations",
627
- "type": {
628
- "text": "LottieJSON[]"
629
- },
630
- "privacy": "private"
631
- },
632
- {
633
- "kind": "field",
634
- "name": "_playerState",
635
- "type": {
636
- "text": "object"
637
- },
638
- "privacy": "private",
639
- "default": "{\n prev: PlayerState.Loading,\n count: 0,\n loaded: false,\n }"
640
- },
641
- {
642
- "kind": "method",
643
- "name": "_getOptions",
644
- "privacy": "private",
645
- "description": "Get options from props",
646
- "return": {
647
- "type": {
648
- "text": "AnimationConfig"
649
- }
650
- }
651
- },
652
- {
653
- "kind": "method",
654
- "name": "load",
655
- "privacy": "public",
656
- "parameters": [
657
- {
658
- "name": "src",
659
- "type": {
660
- "text": "string | LottieJSON"
661
- },
662
- "description": "URL to lottie animation, or raw JSON data"
663
- }
664
- ],
665
- "description": "Initialize Lottie Web player"
666
- },
667
- {
668
- "kind": "method",
669
- "name": "_addEventListeners",
670
- "privacy": "private",
671
- "description": "Add event listeners"
672
- },
673
- {
674
- "kind": "method",
675
- "name": "_onVisibilityChange",
676
- "privacy": "private",
677
- "description": "Handle visibility change events"
678
- },
679
- {
680
- "kind": "method",
681
- "name": "_handleSeekChange",
682
- "privacy": "private",
683
- "parameters": [
684
- {
685
- "name": "{ target }",
686
- "type": {
687
- "text": "Event"
688
- }
689
- },
690
- {
691
- "name": "event",
692
- "type": {
693
- "text": "Event & { HTMLInputElement }"
694
- }
695
- }
696
- ],
697
- "description": "Handles click and drag actions on the progress track"
698
- },
699
- {
700
- "kind": "method",
701
- "name": "_isLottie",
702
- "privacy": "private",
703
- "parameters": [
704
- {
705
- "name": "json",
706
- "type": {
707
- "text": "LottieJSON"
708
- }
709
- }
710
- ]
711
- },
712
- {
713
- "kind": "method",
714
- "name": "addAnimation",
715
- "privacy": "public",
716
- "parameters": [
717
- {
718
- "name": "configs",
719
- "type": {
720
- "text": "Config"
721
- }
722
- },
723
- {
724
- "name": "fileName",
725
- "optional": true,
726
- "type": {
727
- "text": "string"
728
- }
729
- },
730
- {
731
- "name": "triggerDownload",
732
- "default": "true",
733
- "description": "Whether to trigger a download in the browser.\nIf set to false the function returns an ArrayBuffer. Defaults to true.",
734
- "type": {
735
- "text": "boolean"
736
- }
737
- }
738
- ],
739
- "description": "Creates a new dotLottie file, by combinig several animations"
740
- },
741
- {
742
- "kind": "method",
743
- "name": "getLottie",
744
- "privacy": "public",
745
- "description": "Returns the lottie-web instance used in the component"
746
- },
747
- {
748
- "kind": "method",
749
- "name": "play",
750
- "privacy": "public",
751
- "description": "Play"
752
- },
753
- {
754
- "kind": "method",
755
- "name": "pause",
756
- "privacy": "public",
757
- "description": "Pause"
758
- },
759
- {
760
- "kind": "method",
761
- "name": "stop",
762
- "privacy": "public",
763
- "description": "Stop"
764
- },
765
- {
766
- "kind": "method",
767
- "name": "destroy",
768
- "privacy": "public",
769
- "description": "Destroy animation and element"
770
- },
771
- {
772
- "kind": "method",
773
- "name": "seek",
774
- "privacy": "public",
775
- "parameters": [
776
- {
777
- "name": "value",
778
- "type": {
779
- "text": "number | string"
780
- },
781
- "description": "Frame to seek to"
782
- }
783
- ],
784
- "description": "Seek to a given frame"
785
- },
786
- {
787
- "kind": "method",
788
- "name": "snapshot",
789
- "privacy": "public",
790
- "description": "Snapshot and download the current frame as SVG"
791
- },
792
- {
793
- "kind": "method",
794
- "name": "setSubframe",
795
- "privacy": "public",
796
- "parameters": [
797
- {
798
- "name": "value",
799
- "type": {
800
- "text": "boolean"
801
- },
802
- "description": "Whether animation uses subframe"
803
- }
804
- ],
805
- "description": "Toggles subframe, for more smooth animations"
806
- },
807
- {
808
- "kind": "method",
809
- "name": "_freeze",
810
- "privacy": "private",
811
- "description": "Freeze animation.\nThis internal state pauses animation and is used to differentiate between\nuser requested pauses and component instigated pauses."
812
- },
813
- {
814
- "kind": "method",
815
- "name": "reload",
816
- "privacy": "public",
817
- "description": "Reload animation"
818
- },
819
- {
820
- "kind": "method",
821
- "name": "setSpeed",
822
- "privacy": "public",
823
- "parameters": [
824
- {
825
- "name": "value",
826
- "default": "1",
827
- "description": "Playback speed",
828
- "type": {
829
- "text": "number"
830
- }
831
- }
832
- ],
833
- "description": "Set animation playback speed"
834
- },
835
- {
836
- "kind": "method",
837
- "name": "setDirection",
838
- "privacy": "public",
839
- "parameters": [
840
- {
841
- "name": "value",
842
- "type": {
843
- "text": "AnimationDirection"
844
- },
845
- "description": "Animation direction"
846
- }
847
- ],
848
- "description": "Animation play direction"
849
- },
850
- {
851
- "kind": "method",
852
- "name": "setLooping",
853
- "privacy": "public",
854
- "parameters": [
855
- {
856
- "name": "value",
857
- "type": {
858
- "text": "boolean"
859
- }
860
- }
861
- ],
862
- "description": "Set loop"
863
- },
864
- {
865
- "kind": "method",
866
- "name": "togglePlay",
867
- "privacy": "public",
868
- "description": "Toggle playing state"
869
- },
870
- {
871
- "kind": "method",
872
- "name": "toggleLooping",
873
- "privacy": "public",
874
- "description": "Toggle loop"
875
- },
876
- {
877
- "kind": "method",
878
- "name": "toggleBoomerang",
879
- "privacy": "public",
880
- "description": "Toggle Boomerang"
881
- },
882
- {
883
- "kind": "method",
884
- "name": "_toggleSettings",
885
- "privacy": "private",
886
- "parameters": [
887
- {
888
- "name": "flag",
889
- "optional": true,
890
- "type": {
891
- "text": "boolean"
892
- }
893
- }
894
- ],
895
- "description": "Toggle show Settings"
896
- },
897
- {
898
- "kind": "method",
899
- "name": "_switchInstance",
900
- "privacy": "private"
901
- },
902
- {
903
- "kind": "method",
904
- "name": "next",
905
- "privacy": "public",
906
- "description": "Skip to next animation"
907
- },
908
- {
909
- "kind": "method",
910
- "name": "prev",
911
- "privacy": "public",
912
- "description": "Skip to previous animation"
913
- },
914
- {
915
- "kind": "method",
916
- "name": "convert",
917
- "privacy": "public",
918
- "parameters": [
919
- {
920
- "name": "typeCheck",
921
- "optional": true,
922
- "type": {
923
- "text": "boolean | undefined"
924
- },
925
- "description": "External type safety"
926
- },
927
- {
928
- "name": "manifest",
929
- "optional": true,
930
- "type": {
931
- "text": "LottieManifest | undefined"
932
- },
933
- "description": "Externally added manifest"
934
- },
935
- {
936
- "name": "animations",
937
- "optional": true,
938
- "type": {
939
- "text": "LottieJSON[] | undefined"
940
- },
941
- "description": "Externally added animations"
942
- },
943
- {
944
- "name": "fileName",
945
- "optional": true,
946
- "type": {
947
- "text": "string"
948
- }
949
- },
950
- {
951
- "name": "download",
952
- "default": "true",
953
- "description": "Whether to trigger a download in the browser",
954
- "type": {
955
- "text": "boolean"
956
- }
957
- }
958
- ],
959
- "description": "Convert JSON Lottie to dotLottie"
960
- },
961
- {
962
- "kind": "method",
963
- "name": "renderControls",
964
- "privacy": "protected"
965
- }
966
- ],
967
- "events": [
968
- {
969
- "type": {
970
- "text": "CustomEvent"
971
- }
972
- }
973
- ],
974
- "attributes": [
975
- {
976
- "name": "autoplay",
977
- "type": {
978
- "text": "Autoplay | undefined"
979
- },
980
- "description": "Autoplay",
981
- "fieldName": "autoplay"
982
- },
983
- {
984
- "name": "background",
985
- "type": {
986
- "text": "string | undefined"
987
- },
988
- "default": "'transparent'",
989
- "description": "Background color",
990
- "fieldName": "background"
991
- },
992
- {
993
- "name": "controls",
994
- "type": {
995
- "text": "Controls | undefined"
996
- },
997
- "default": "false",
998
- "description": "Display controls",
999
- "fieldName": "controls"
1000
- },
1001
- {
1002
- "name": "count",
1003
- "type": {
1004
- "text": "number | undefined"
1005
- },
1006
- "description": "Number of times to loop",
1007
- "fieldName": "count"
1008
- },
1009
- {
1010
- "name": "currentState",
1011
- "type": {
1012
- "text": "PlayerState | undefined"
1013
- },
1014
- "description": "Player state",
1015
- "fieldName": "currentState"
1016
- },
1017
- {
1018
- "name": "description",
1019
- "type": {
1020
- "text": "string | undefined"
1021
- },
1022
- "description": "Description for screen readers",
1023
- "fieldName": "description"
1024
- },
1025
- {
1026
- "name": "direction",
1027
- "type": {
1028
- "text": "AnimationDirection | undefined"
1029
- },
1030
- "default": "1",
1031
- "description": "Direction of animation",
1032
- "fieldName": "direction"
1033
- },
1034
- {
1035
- "name": "hover",
1036
- "type": {
1037
- "text": "boolean"
1038
- },
1039
- "default": "false",
1040
- "description": "Whether to play on mouseover",
1041
- "fieldName": "hover"
1042
- },
1043
- {
1044
- "name": "intermission",
1045
- "type": {
1046
- "text": "number"
1047
- },
1048
- "default": "0",
1049
- "description": "Intermission",
1050
- "fieldName": "intermission"
1051
- },
1052
- {
1053
- "name": "loop",
1054
- "type": {
1055
- "text": "Loop | undefined"
1056
- },
1057
- "default": "false",
1058
- "description": "Whether to loop",
1059
- "fieldName": "loop"
1060
- },
1061
- {
1062
- "name": "mode",
1063
- "type": {
1064
- "text": "PlayMode | undefined"
1065
- },
1066
- "description": "Play mode",
1067
- "fieldName": "mode"
1068
- },
1069
- {
1070
- "name": "objectfit",
1071
- "type": {
1072
- "text": "ObjectFit | undefined"
1073
- },
1074
- "default": "'contain'",
1075
- "description": "Resizing to container",
1076
- "fieldName": "objectfit"
1077
- },
1078
- {
1079
- "name": "preserveAspectRatio",
1080
- "type": {
1081
- "text": "PreserveAspectRatio | undefined"
1082
- },
1083
- "description": "Resizing to container (Deprecated)",
1084
- "fieldName": "preserveAspectRatio"
1085
- },
1086
- {
1087
- "name": "renderer",
1088
- "type": {
1089
- "text": "RendererType | undefined"
1090
- },
1091
- "default": "'svg'",
1092
- "description": "Renderer to use (svg, canvas or html)",
1093
- "fieldName": "renderer"
1094
- },
1095
- {
1096
- "name": "segment",
1097
- "type": {
1098
- "text": "AnimationSegment | undefined"
1099
- },
1100
- "description": "Segment",
1101
- "fieldName": "segment"
1102
- },
1103
- {
1104
- "name": "simple",
1105
- "type": {
1106
- "text": "boolean | undefined"
1107
- },
1108
- "default": "false",
1109
- "description": "Hide advanced controls",
1110
- "fieldName": "simple"
1111
- },
1112
- {
1113
- "name": "speed",
1114
- "type": {
1115
- "text": "number | undefined"
1116
- },
1117
- "default": "1",
1118
- "description": "Speed",
1119
- "fieldName": "speed"
1120
- },
1121
- {
1122
- "name": "src",
1123
- "type": {
1124
- "text": "string"
1125
- },
1126
- "description": "JSON/dotLottie data or URL",
1127
- "fieldName": "src"
1128
- },
1129
- {
1130
- "name": "subframe",
1131
- "type": {
1132
- "text": "Subframe | undefined"
1133
- },
1134
- "default": "true",
1135
- "description": "Subframe",
1136
- "fieldName": "subframe"
1137
- }
1138
- ],
1139
- "superclass": {
1140
- "name": "LitElement",
1141
- "package": "lit"
1142
- },
1143
- "tagName": "dotlottie-player",
1144
- "customElement": true
1145
- }
1146
- ],
1147
- "exports": [
1148
- {
1149
- "kind": "js",
1150
- "name": "DotLottiePlayer",
1151
- "declaration": {
1152
- "name": "DotLottiePlayer",
1153
- "module": "src/component/index.ts"
1154
- }
1155
- },
1156
- {
1157
- "kind": "custom-element-definition",
1158
- "name": "dotlottie-player",
1159
- "declaration": {
1160
- "name": "DotLottiePlayer",
1161
- "module": "src/component/index.ts"
1162
- }
1163
- }
1164
- ]
1165
- },
1166
- {
1167
- "kind": "javascript-module",
1168
- "path": "src/component/styles.ts",
1169
- "declarations": [],
1170
- "exports": [
1171
- {
1172
- "kind": "js",
1173
- "name": "default",
1174
- "declaration": {
1175
- "module": "src/component/styles.ts"
1176
- }
1177
- }
1178
- ]
1179
- },
1180
- {
1181
- "kind": "javascript-module",
1182
- "path": "src/component/types.ts",
1183
- "declarations": [
1184
- {
1185
- "kind": "class",
1186
- "description": "",
1187
- "name": "CustomError",
1188
- "members": [
1189
- {
1190
- "kind": "field",
1191
- "name": "status",
1192
- "type": {
1193
- "text": "number | undefined"
1194
- }
1195
- }
1196
- ],
1197
- "superclass": {
1198
- "name": "Error",
1199
- "module": "src/component/types.ts"
1200
- }
1201
- }
1202
- ],
1203
- "exports": [
1204
- {
1205
- "kind": "js",
1206
- "name": "CustomError",
1207
- "declaration": {
1208
- "name": "CustomError",
1209
- "module": "src/component/types.ts"
1210
- }
1211
- }
1212
- ]
1213
- }
1214
- ]
1215
- }