@gcorevideo/player 2.24.2 → 2.24.3

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.
Files changed (61) hide show
  1. package/assets/big-mute-button/big-mute-button.ejs +2 -2
  2. package/dist/core.js +1 -1
  3. package/dist/index.css +1382 -1382
  4. package/dist/index.js +121 -109
  5. package/dist/player.d.ts +72 -21
  6. package/docs/api/player.bigmutebutton.md +13 -1
  7. package/docs/api/player.clapprstatssettings.md +51 -4
  8. package/docs/api/player.clapprstatssettings.runeach.md +16 -0
  9. package/docs/api/player.clipspluginsettings.md +1 -1
  10. package/docs/api/player.clipspluginsettings.text.md +1 -1
  11. package/docs/api/player.cmcdconfig.exportids.md +4 -0
  12. package/docs/api/player.cmcdconfig.md +19 -105
  13. package/docs/api/{player.cmcdconfig.version.md → player.cmcdconfigoptions.contentid.md} +5 -3
  14. package/docs/api/player.cmcdconfigoptions.md +79 -0
  15. package/docs/api/{player.cmcdconfigpluginsettings.md → player.cmcdconfigoptions.sessionid.md} +4 -6
  16. package/docs/api/player.extendedevents.md +9 -0
  17. package/docs/api/player.md +37 -31
  18. package/docs/api/player.mediacontrol.getavailableheight.md +24 -0
  19. package/docs/api/player.mediacontrol.md +14 -0
  20. package/docs/api/{player.cmcdconfig.name.md → player.posterpluginsettings.custom.md} +4 -3
  21. package/docs/api/player.posterpluginsettings.md +108 -7
  22. package/docs/api/player.posterpluginsettings.showfornoop.md +16 -0
  23. package/docs/api/player.posterpluginsettings.showonvideoend.md +16 -0
  24. package/docs/api/{player.cmcdconfig.bindevents.md → player.posterpluginsettings.url.md} +4 -7
  25. package/lib/plugins/big-mute-button/BigMuteButton.d.ts +15 -13
  26. package/lib/plugins/big-mute-button/BigMuteButton.d.ts.map +1 -1
  27. package/lib/plugins/big-mute-button/BigMuteButton.js +68 -83
  28. package/lib/plugins/clappr-stats/ClapprStats.d.ts +6 -2
  29. package/lib/plugins/clappr-stats/ClapprStats.d.ts.map +1 -1
  30. package/lib/plugins/clips/Clips.d.ts +1 -1
  31. package/lib/plugins/clips/Clips.d.ts.map +1 -1
  32. package/lib/plugins/clips/Clips.js +2 -1
  33. package/lib/plugins/cmcd-config/CmcdConfig.d.ts +34 -11
  34. package/lib/plugins/cmcd-config/CmcdConfig.d.ts.map +1 -1
  35. package/lib/plugins/cmcd-config/CmcdConfig.js +28 -18
  36. package/lib/plugins/media-control/MediaControl.d.ts +4 -0
  37. package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
  38. package/lib/plugins/media-control/MediaControl.js +5 -0
  39. package/lib/plugins/poster/Poster.d.ts +7 -3
  40. package/lib/plugins/poster/Poster.d.ts.map +1 -1
  41. package/lib/plugins/source-controller/SourceController.d.ts +1 -0
  42. package/lib/plugins/source-controller/SourceController.d.ts.map +1 -1
  43. package/lib/plugins/source-controller/SourceController.js +20 -9
  44. package/lib/testUtils.d.ts +1 -0
  45. package/lib/testUtils.d.ts.map +1 -1
  46. package/lib/testUtils.js +1 -0
  47. package/package.json +1 -1
  48. package/src/plugins/big-mute-button/BigMuteButton.ts +75 -110
  49. package/src/plugins/big-mute-button/__tests__/BigMuteButton.test.ts +38 -0
  50. package/src/plugins/big-mute-button/__tests__/__snapshots__/BigMuteButton.test.ts.snap +8 -0
  51. package/src/plugins/clappr-stats/ClapprStats.ts +5 -1
  52. package/src/plugins/clips/Clips.ts +3 -2
  53. package/src/plugins/cmcd-config/CmcdConfig.ts +33 -27
  54. package/src/plugins/media-control/MediaControl.ts +5 -0
  55. package/src/plugins/poster/Poster.ts +6 -2
  56. package/src/plugins/source-controller/SourceController.ts +25 -9
  57. package/src/plugins/source-controller/__tests__/SourceController.test.ts +28 -8
  58. package/src/testUtils.ts +1 -0
  59. package/temp/player.api.json +229 -154
  60. package/tsconfig.tsbuildinfo +1 -1
  61. package/docs/api/player.cmcdconfig.supportedversion.md +0 -14
@@ -2,12 +2,59 @@
2
2
 
3
3
  [Home](./index.md) > [@gcorevideo/player](./player.md) > [ClapprStatsSettings](./player.clapprstatssettings.md)
4
4
 
5
- ## ClapprStatsSettings type
5
+ ## ClapprStatsSettings interface
6
+
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Config options for the [ClapprStats](./player.clapprstats.md) plugin
6
11
 
7
12
  **Signature:**
8
13
 
9
14
  ```typescript
10
- export type ClapprStatsSettings = {
11
- runEach?: number;
12
- };
15
+ export interface ClapprStatsSettings
13
16
  ```
17
+
18
+ ## Properties
19
+
20
+ <table><thead><tr><th>
21
+
22
+ Property
23
+
24
+
25
+ </th><th>
26
+
27
+ Modifiers
28
+
29
+
30
+ </th><th>
31
+
32
+ Type
33
+
34
+
35
+ </th><th>
36
+
37
+ Description
38
+
39
+
40
+ </th></tr></thead>
41
+ <tbody><tr><td>
42
+
43
+ [runEach?](./player.clapprstatssettings.runeach.md)
44
+
45
+
46
+ </td><td>
47
+
48
+
49
+ </td><td>
50
+
51
+ number
52
+
53
+
54
+ </td><td>
55
+
56
+ **_(BETA)_** _(Optional)_ The interval in milliseconds of periodic measurements. The plugin will emit a [ClapprStatsEvents.REPORT](./player.clapprstatsevents.md) event with the collected metrics at the specified interval.
57
+
58
+
59
+ </td></tr>
60
+ </tbody></table>
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [ClapprStatsSettings](./player.clapprstatssettings.md) &gt; [runEach](./player.clapprstatssettings.runeach.md)
4
+
5
+ ## ClapprStatsSettings.runEach property
6
+
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ The interval in milliseconds of periodic measurements. The plugin will emit a [ClapprStatsEvents.REPORT](./player.clapprstatsevents.md) event with the collected metrics at the specified interval.
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ runEach?: number;
16
+ ```
@@ -53,7 +53,7 @@ string
53
53
 
54
54
  </td><td>
55
55
 
56
- **_(BETA)_** The compiled text of the clips description, one clip per line in format : `HH:MM:SS text` or `MM:SS text` or `SS text`
56
+ **_(BETA)_** The compiled text of the clips description, one clip per line in format: `HH:MM:SS text` or `MM:SS text` or `SS text`
57
57
 
58
58
 
59
59
  </td></tr>
@@ -7,7 +7,7 @@
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
- The compiled text of the clips description, one clip per line in format : `HH:MM:SS text` or `MM:SS text` or `SS text`
10
+ The compiled text of the clips description, one clip per line in format: `HH:MM:SS text` or `MM:SS text` or `SS text`
11
11
 
12
12
  **Signature:**
13
13
 
@@ -7,6 +7,8 @@
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
+ Returns the current `sid` and `cid` values. Useful when the auto-generated values need to be known.
11
+
10
12
  **Signature:**
11
13
 
12
14
  ```typescript
@@ -19,3 +21,5 @@ exportIds(): {
19
21
 
20
22
  { sid: string; cid: string; }
21
23
 
24
+ `sid` and `cid` values
25
+
@@ -7,7 +7,7 @@
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
- A `PLUGIN` that configures CMCD for playback
10
+ A `PLUGIN` that configures [CMCD](https://cdn.cta.tech/cta/media/media/resources/standards/pdfs/cta-5004-final.pdf) for playback
11
11
 
12
12
  **Signature:**
13
13
 
@@ -18,47 +18,29 @@ export declare class CmcdConfig extends CorePlugin
18
18
 
19
19
  ## Remarks
20
20
 
21
- Configuration options `cmcd`<!-- -->: [CmcdConfigPluginSettings](./player.cmcdconfigpluginsettings.md)
22
-
23
- ## Constructors
24
-
25
- <table><thead><tr><th>
26
-
27
- Constructor
28
-
29
-
30
- </th><th>
31
-
32
- Modifiers
33
-
34
-
35
- </th><th>
36
-
37
- Description
38
-
39
-
40
- </th></tr></thead>
41
- <tbody><tr><td>
42
-
43
- [(constructor)(core)](./player.cmcdconfig._constructor_.md)
21
+ Configuration options - [CmcdConfigOptions](./player.cmcdconfigoptions.md)<!-- -->.
44
22
 
23
+ ## Example
45
24
 
46
- </td><td>
47
-
48
-
49
- </td><td>
50
-
51
- **_(BETA)_** Constructs a new instance of the `CmcdConfig` class
52
25
 
26
+ ```ts
27
+ import { CmcdConfig } from '@gcorevideo/player'
28
+ Player.registerPlugin(CmcdConfig)
53
29
 
54
- </td></tr>
55
- </tbody></table>
30
+ const player = new Player({
31
+ source: 'https://example.com/video.mp4',
32
+ cmcd: {
33
+ sessionId: '1234567890',
34
+ contentId: 'f572d396fae9206628714fb2ce00f72e94f2258f',
35
+ },
36
+ })
37
+ ```
56
38
 
57
- ## Properties
39
+ ## Constructors
58
40
 
59
41
  <table><thead><tr><th>
60
42
 
61
- Property
43
+ Constructor
62
44
 
63
45
 
64
46
  </th><th>
@@ -66,11 +48,6 @@ Property
66
48
  Modifiers
67
49
 
68
50
 
69
- </th><th>
70
-
71
- Type
72
-
73
-
74
51
  </th><th>
75
52
 
76
53
  Description
@@ -79,64 +56,15 @@ Description
79
56
  </th></tr></thead>
80
57
  <tbody><tr><td>
81
58
 
82
- [name](./player.cmcdconfig.name.md)
83
-
84
-
85
- </td><td>
86
-
87
- `readonly`
88
-
89
-
90
- </td><td>
91
-
92
- string
93
-
94
-
95
- </td><td>
96
-
97
- **_(BETA)_**
98
-
99
-
100
- </td></tr>
101
- <tr><td>
102
-
103
- [supportedVersion](./player.cmcdconfig.supportedversion.md)
104
-
105
-
106
- </td><td>
107
-
108
- `readonly`
109
-
110
-
111
- </td><td>
112
-
113
- string
114
-
115
-
116
- </td><td>
117
-
118
- **_(BETA)_**
119
-
120
-
121
- </td></tr>
122
- <tr><td>
123
-
124
- [version](./player.cmcdconfig.version.md)
125
-
126
-
127
- </td><td>
128
-
129
- `readonly`
59
+ [(constructor)(core)](./player.cmcdconfig._constructor_.md)
130
60
 
131
61
 
132
62
  </td><td>
133
63
 
134
- string
135
-
136
64
 
137
65
  </td><td>
138
66
 
139
- **_(BETA)_**
67
+ **_(BETA)_** Constructs a new instance of the `CmcdConfig` class
140
68
 
141
69
 
142
70
  </td></tr>
@@ -162,20 +90,6 @@ Description
162
90
  </th></tr></thead>
163
91
  <tbody><tr><td>
164
92
 
165
- [bindEvents()](./player.cmcdconfig.bindevents.md)
166
-
167
-
168
- </td><td>
169
-
170
-
171
- </td><td>
172
-
173
- **_(BETA)_**
174
-
175
-
176
- </td></tr>
177
- <tr><td>
178
-
179
93
  [exportIds()](./player.cmcdconfig.exportids.md)
180
94
 
181
95
 
@@ -184,7 +98,7 @@ Description
184
98
 
185
99
  </td><td>
186
100
 
187
- **_(BETA)_**
101
+ **_(BETA)_** Returns the current `sid` and `cid` values. Useful when the auto-generated values need to be known.
188
102
 
189
103
 
190
104
  </td></tr>
@@ -1,14 +1,16 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [CmcdConfig](./player.cmcdconfig.md) &gt; [version](./player.cmcdconfig.version.md)
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [CmcdConfigOptions](./player.cmcdconfigoptions.md) &gt; [contentId](./player.cmcdconfigoptions.contentid.md)
4
4
 
5
- ## CmcdConfig.version property
5
+ ## CmcdConfigOptions.contentId property
6
6
 
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
+ `cid` value. If ommitted, the pathname part of the first source URL will be used
11
+
10
12
  **Signature:**
11
13
 
12
14
  ```typescript
13
- get version(): string;
15
+ contentId?: string;
14
16
  ```
@@ -0,0 +1,79 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [CmcdConfigOptions](./player.cmcdconfigoptions.md)
4
+
5
+ ## CmcdConfigOptions interface
6
+
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Config options for the [CmcdConfig](./player.cmcdconfig.md) plugin
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ export interface CmcdConfigOptions
16
+ ```
17
+
18
+ ## Properties
19
+
20
+ <table><thead><tr><th>
21
+
22
+ Property
23
+
24
+
25
+ </th><th>
26
+
27
+ Modifiers
28
+
29
+
30
+ </th><th>
31
+
32
+ Type
33
+
34
+
35
+ </th><th>
36
+
37
+ Description
38
+
39
+
40
+ </th></tr></thead>
41
+ <tbody><tr><td>
42
+
43
+ [contentId?](./player.cmcdconfigoptions.contentid.md)
44
+
45
+
46
+ </td><td>
47
+
48
+
49
+ </td><td>
50
+
51
+ string
52
+
53
+
54
+ </td><td>
55
+
56
+ **_(BETA)_** _(Optional)_ `cid` value. If ommitted, the pathname part of the first source URL will be used
57
+
58
+
59
+ </td></tr>
60
+ <tr><td>
61
+
62
+ [sessionId?](./player.cmcdconfigoptions.sessionid.md)
63
+
64
+
65
+ </td><td>
66
+
67
+
68
+ </td><td>
69
+
70
+ string
71
+
72
+
73
+ </td><td>
74
+
75
+ **_(BETA)_** _(Optional)_ `sid` value. If ommitted, a random UUID will be generated
76
+
77
+
78
+ </td></tr>
79
+ </tbody></table>
@@ -1,18 +1,16 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [CmcdConfigPluginSettings](./player.cmcdconfigpluginsettings.md)
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [CmcdConfigOptions](./player.cmcdconfigoptions.md) &gt; [sessionId](./player.cmcdconfigoptions.sessionid.md)
4
4
 
5
- ## CmcdConfigPluginSettings type
5
+ ## CmcdConfigOptions.sessionId property
6
6
 
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
+ `sid` value. If ommitted, a random UUID will be generated
10
11
 
11
12
  **Signature:**
12
13
 
13
14
  ```typescript
14
- export type CmcdConfigPluginSettings = {
15
- sessionId: string;
16
- contentId?: string;
17
- };
15
+ sessionId?: string;
18
16
  ```
@@ -4,6 +4,11 @@
4
4
 
5
5
  ## ExtendedEvents enum
6
6
 
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Extended events for the [MediaControl](./player.mediacontrol.md) plugin
11
+
7
12
  **Signature:**
8
13
 
9
14
  ```typescript
@@ -40,6 +45,8 @@ MEDIACONTROL\_MENU\_COLLAPSE
40
45
 
41
46
  </td><td>
42
47
 
48
+ **_(BETA)_**
49
+
43
50
 
44
51
  </td></tr>
45
52
  <tr><td>
@@ -54,6 +61,8 @@ MEDIACONTROL\_VOLUME
54
61
 
55
62
  </td><td>
56
63
 
64
+ **_(BETA)_**
65
+
57
66
 
58
67
  </td></tr>
59
68
  </tbody></table>
@@ -61,7 +61,7 @@ Description
61
61
 
62
62
  </td><td>
63
63
 
64
- **_(BETA)_** `PLUGIN` that displays a big mute button over the video when it's muted. Once pressed, it unmutes the video.
64
+ **_(BETA)_** `PLUGIN` that displays a big mute button over the video when it's being played muted.
65
65
 
66
66
 
67
67
  </td></tr>
@@ -127,7 +127,7 @@ Description
127
127
 
128
128
  </td><td>
129
129
 
130
- **_(BETA)_** A `PLUGIN` that configures CMCD for playback
130
+ **_(BETA)_** A `PLUGIN` that configures [CMCD](https://cdn.cta.tech/cta/media/media/resources/standards/pdfs/cta-5004-final.pdf) for playback
131
131
 
132
132
 
133
133
  </td></tr>
@@ -428,6 +428,8 @@ Description
428
428
 
429
429
  </td><td>
430
430
 
431
+ **_(BETA)_** Extended events for the [MediaControl](./player.mediacontrol.md) plugin
432
+
431
433
 
432
434
  </td></tr>
433
435
  <tr><td>
@@ -539,6 +541,17 @@ Description
539
541
  </th></tr></thead>
540
542
  <tbody><tr><td>
541
543
 
544
+ [ClapprStatsSettings](./player.clapprstatssettings.md)
545
+
546
+
547
+ </td><td>
548
+
549
+ **_(BETA)_** Config options for the [ClapprStats](./player.clapprstats.md) plugin
550
+
551
+
552
+ </td></tr>
553
+ <tr><td>
554
+
542
555
  [ClipsPluginSettings](./player.clipspluginsettings.md)
543
556
 
544
557
 
@@ -547,6 +560,17 @@ Description
547
560
  **_(BETA)_** Configuration options for the [Clips](./player.clips.md) plugin.
548
561
 
549
562
 
563
+ </td></tr>
564
+ <tr><td>
565
+
566
+ [CmcdConfigOptions](./player.cmcdconfigoptions.md)
567
+
568
+
569
+ </td><td>
570
+
571
+ **_(BETA)_** Config options for the [CmcdConfig](./player.cmcdconfig.md) plugin
572
+
573
+
550
574
  </td></tr>
551
575
  <tr><td>
552
576
 
@@ -613,6 +637,17 @@ Configuration options for the player
613
637
  Describes a media source with its MIME type and URL.
614
638
 
615
639
 
640
+ </td></tr>
641
+ <tr><td>
642
+
643
+ [PosterPluginSettings](./player.posterpluginsettings.md)
644
+
645
+
646
+ </td><td>
647
+
648
+ **_(BETA)_** Config options for the [Poster](./player.poster.md) plugin
649
+
650
+
616
651
  </td></tr>
617
652
  <tr><td>
618
653
 
@@ -727,15 +762,6 @@ Description
727
762
  **_(BETA)_**
728
763
 
729
764
 
730
- </td></tr>
731
- <tr><td>
732
-
733
- [ClapprStatsSettings](./player.clapprstatssettings.md)
734
-
735
-
736
- </td><td>
737
-
738
-
739
765
  </td></tr>
740
766
  <tr><td>
741
767
 
@@ -747,17 +773,6 @@ Description
747
773
  **_(BETA)_** Configuration options for the [ClosedCaptions](./player.closedcaptions.md) plugin.
748
774
 
749
775
 
750
- </td></tr>
751
- <tr><td>
752
-
753
- [CmcdConfigPluginSettings](./player.cmcdconfigpluginsettings.md)
754
-
755
-
756
- </td><td>
757
-
758
- **_(BETA)_**
759
-
760
-
761
776
  </td></tr>
762
777
  <tr><td>
763
778
 
@@ -1038,15 +1053,6 @@ A media source to fetch the media data from
1038
1053
 
1039
1054
 
1040
1055
 
1041
- </td></tr>
1042
- <tr><td>
1043
-
1044
- [PosterPluginSettings](./player.posterpluginsettings.md)
1045
-
1046
-
1047
- </td><td>
1048
-
1049
-
1050
1056
  </td></tr>
1051
1057
  <tr><td>
1052
1058
 
@@ -0,0 +1,24 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [MediaControl](./player.mediacontrol.md) &gt; [getAvailableHeight](./player.mediacontrol.getavailableheight.md)
4
+
5
+ ## MediaControl.getAvailableHeight() method
6
+
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ **Signature:**
11
+
12
+ ```typescript
13
+ getAvailableHeight(): number;
14
+ ```
15
+ **Returns:**
16
+
17
+ number
18
+
19
+ Vertical space available to render something on top of the container.
20
+
21
+ ## Remarks
22
+
23
+ This takes into account the container height and excludes the height of the controls bar
24
+
@@ -223,6 +223,20 @@ Description
223
223
  **_(BETA)_** Enable the user interaction disabled earlier
224
224
 
225
225
 
226
+ </td></tr>
227
+ <tr><td>
228
+
229
+ [getAvailableHeight()](./player.mediacontrol.getavailableheight.md)
230
+
231
+
232
+ </td><td>
233
+
234
+
235
+ </td><td>
236
+
237
+ **_(BETA)_**
238
+
239
+
226
240
  </td></tr>
227
241
  <tr><td>
228
242
 
@@ -1,15 +1,16 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [CmcdConfig](./player.cmcdconfig.md) &gt; [name](./player.cmcdconfig.name.md)
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [PosterPluginSettings](./player.posterpluginsettings.md) &gt; [custom](./player.posterpluginsettings.custom.md)
4
4
 
5
- ## CmcdConfig.name property
5
+ ## PosterPluginSettings.custom property
6
6
 
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
+ Custom CSS background
10
11
 
11
12
  **Signature:**
12
13
 
13
14
  ```typescript
14
- get name(): string;
15
+ custom?: string;
15
16
  ```