@mkody/twitch-emoticons 2.9.6 → 3.0.0-beta.2

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 (80) hide show
  1. package/README.md +530 -169
  2. package/dist/TwitchEmoticons.cjs +950 -0
  3. package/dist/TwitchEmoticons.esm.min.js +7 -0
  4. package/dist/TwitchEmoticons.esm.min.js.map +7 -0
  5. package/dist/TwitchEmoticons.min.js +2 -20
  6. package/dist/TwitchEmoticons.min.js.map +4 -4
  7. package/package.json +99 -72
  8. package/src/index.js +38 -12
  9. package/src/struct/BTTVEmote.js +72 -74
  10. package/src/struct/Channel.js +48 -48
  11. package/src/struct/Emote.js +71 -71
  12. package/src/struct/EmoteFetcher.js +358 -322
  13. package/src/struct/EmoteParser.js +95 -84
  14. package/src/struct/EmoteTypeMapper.js +9 -9
  15. package/src/struct/FFZEmote.js +91 -93
  16. package/src/struct/SevenTVEmote.js +88 -90
  17. package/src/struct/TwitchEmote.js +72 -71
  18. package/src/util/Collection.js +69 -55
  19. package/src/util/Constants.js +30 -30
  20. package/typings/index.d.cts +254 -0
  21. package/typings/index.d.ts +216 -99
  22. package/.jsdoc.json +0 -46
  23. package/.nvmrc +0 -1
  24. package/docs/BTTVEmote.html +0 -1532
  25. package/docs/Channel.html +0 -824
  26. package/docs/Collection.html +0 -798
  27. package/docs/Emote.html +0 -832
  28. package/docs/EmoteFetcher.html +0 -3741
  29. package/docs/EmoteParser.html +0 -1187
  30. package/docs/FFZEmote.html +0 -1686
  31. package/docs/SevenTVEmote.html +0 -1596
  32. package/docs/TwitchEmote.html +0 -1528
  33. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  34. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  35. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  36. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  37. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  38. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  39. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  40. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  41. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  42. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -978
  43. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  44. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  45. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  46. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  47. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -1049
  48. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  49. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  50. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  51. package/docs/index.html +0 -233
  52. package/docs/scripts/collapse.js +0 -39
  53. package/docs/scripts/commonNav.js +0 -28
  54. package/docs/scripts/linenumber.js +0 -25
  55. package/docs/scripts/nav.js +0 -12
  56. package/docs/scripts/polyfill.js +0 -4
  57. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
  58. package/docs/scripts/prettify/lang-css.js +0 -2
  59. package/docs/scripts/prettify/prettify.js +0 -28
  60. package/docs/scripts/search.js +0 -99
  61. package/docs/struct_BTTVEmote.js.html +0 -162
  62. package/docs/struct_Channel.js.html +0 -132
  63. package/docs/struct_Emote.js.html +0 -159
  64. package/docs/struct_EmoteFetcher.js.html +0 -429
  65. package/docs/struct_EmoteParser.js.html +0 -172
  66. package/docs/struct_FFZEmote.js.html +0 -185
  67. package/docs/struct_SevenTVEmote.js.html +0 -180
  68. package/docs/struct_TwitchEmote.js.html +0 -159
  69. package/docs/styles/jsdoc.css +0 -776
  70. package/docs/styles/prettify.css +0 -80
  71. package/docs/util_Collection.js.html +0 -151
  72. package/eslint.config.mjs +0 -215
  73. package/jest.config.js +0 -198
  74. package/test/BTTV.test.js +0 -48
  75. package/test/FFZ.test.js +0 -71
  76. package/test/SevenTV.test.js +0 -71
  77. package/test/ToFromObject.test.js +0 -156
  78. package/test/Twitch.test.js +0 -64
  79. package/test/__snapshots__/ToFromObject.test.js.snap +0 -121
  80. package/test/other.test.js +0 -72
@@ -1,1686 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
-
5
- <meta charset="utf-8">
6
- <title>FFZEmote - Documentation</title>
7
-
8
-
9
- <script src="scripts/prettify/prettify.js"></script>
10
- <script src="scripts/prettify/lang-css.js"></script>
11
- <!--[if lt IE 9]>
12
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
- <![endif]-->
14
- <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
- <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
- <script src="scripts/nav.js" defer></script>
17
-
18
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
19
- </head>
20
- <body>
21
-
22
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
23
- <label for="nav-trigger" class="navicon-button x">
24
- <div class="navicon"></div>
25
- </label>
26
-
27
- <label for="nav-trigger" class="overlay"></label>
28
-
29
- <nav >
30
-
31
-
32
- <h2><a href="index.html">Home</a></h2><h2><a href="https://github.com/mkody/twitch-emoticons" target="_blank" class="menu-item" id="github_link" >GitHub</a></h2><h3>Classes</h3><ul><li><a href="BTTVEmote.html">BTTVEmote</a><ul class='methods'><li data-type='method'><a href="BTTVEmote.html#toLink">toLink</a></li><li data-type='method'><a href="BTTVEmote.html#toObject">toObject</a></li><li data-type='method'><a href="BTTVEmote.html#.fromObject">fromObject</a></li></ul></li><li><a href="Channel.html">Channel</a><ul class='methods'><li data-type='method'><a href="Channel.html#fetchBTTVEmotes">fetchBTTVEmotes</a></li><li data-type='method'><a href="Channel.html#fetchFFZEmotes">fetchFFZEmotes</a></li><li data-type='method'><a href="Channel.html#fetchSevenTVEmotes">fetchSevenTVEmotes</a></li></ul></li><li><a href="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#toObject">toObject</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#fetchTwitchEmotes">fetchTwitchEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#fetchBTTVEmotes">fetchBTTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#fetchFFZEmotes">fetchFFZEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#fetchSevenTVEmotes">fetchSevenTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#fromObject">fromObject</a></li></ul></li><li><a href="EmoteParser.html">EmoteParser</a><ul class='methods'><li data-type='method'><a href="EmoteParser.html#parse">parse</a></li></ul></li><li><a href="FFZEmote.html">FFZEmote</a><ul class='methods'><li data-type='method'><a href="FFZEmote.html#toLink">toLink</a></li><li data-type='method'><a href="FFZEmote.html#toObject">toObject</a></li><li data-type='method'><a href="FFZEmote.html#.fromObject">fromObject</a></li></ul></li><li><a href="SevenTVEmote.html">SevenTVEmote</a><ul class='methods'><li data-type='method'><a href="SevenTVEmote.html#toLink">toLink</a></li><li data-type='method'><a href="SevenTVEmote.html#toObject">toObject</a></li><li data-type='method'><a href="SevenTVEmote.html#.fromObject">fromObject</a></li></ul></li><li><a href="TwitchEmote.html">TwitchEmote</a><ul class='methods'><li data-type='method'><a href="TwitchEmote.html#toLink">toLink</a></li><li data-type='method'><a href="TwitchEmote.html#toObject">toObject</a></li><li data-type='method'><a href="TwitchEmote.html#.fromObject">fromObject</a></li></ul></li><li><a href="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#find">find</a></li><li data-type='method'><a href="Collection.html#filter">filter</a></li><li data-type='method'><a href="Collection.html#map">map</a></li></ul></li></ul>
33
-
34
- </nav>
35
-
36
- <div id="main">
37
-
38
- <h1 class="page-title">FFZEmote</h1>
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
- <section>
47
-
48
- <header>
49
-
50
- <h2>
51
-
52
- FFZEmote
53
-
54
- </h2>
55
-
56
-
57
- </header>
58
-
59
- <article>
60
-
61
- <div class="container-overview">
62
-
63
-
64
-
65
-
66
-
67
- <h4 class="name" id="FFZEmote"><span class="type-signature"></span>new FFZEmote<span class="signature">(channel, id, data)</span><span class="type-signature"></span></h4>
68
-
69
-
70
-
71
-
72
-
73
-
74
- <dl class="details">
75
-
76
- <dt class="tag-description">Description:</dt>
77
- <dd class="tag-description"><ul class="dummy"><li><p>An FFZ emote.</p></li></ul></dd>
78
-
79
-
80
-
81
- <dt class="tag-source">Source:</dt>
82
- <dd class="tag-source"><ul class="dummy"><li>
83
- <a href="struct_FFZEmote.js.html">struct/FFZEmote.js</a>, <a href="struct_FFZEmote.js.html#line5">line 5</a>
84
- </li></ul></dd>
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
- </dl>
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
- <h5 class="h5-parameters">Parameters:</h5>
131
-
132
-
133
- <table class="params">
134
- <thead>
135
- <tr>
136
-
137
- <th>Name</th>
138
-
139
-
140
- <th>Type</th>
141
-
142
-
143
-
144
-
145
-
146
- <th class="last">Description</th>
147
- </tr>
148
- </thead>
149
-
150
- <tbody>
151
-
152
-
153
- <tr>
154
-
155
- <td class="name"><code>channel</code></td>
156
-
157
-
158
- <td class="type">
159
-
160
-
161
- <span class="param-type"><a href="Channel.html">Channel</a></span>
162
-
163
-
164
-
165
-
166
- </td>
167
-
168
-
169
-
170
-
171
-
172
- <td class="description last"><p>Channel this emote belongs to.</p></td>
173
- </tr>
174
-
175
-
176
-
177
- <tr>
178
-
179
- <td class="name"><code>id</code></td>
180
-
181
-
182
- <td class="type">
183
-
184
-
185
- <span class="param-type">string</span>
186
-
187
-
188
-
189
-
190
- </td>
191
-
192
-
193
-
194
-
195
-
196
- <td class="description last"><p>ID of the emote.</p></td>
197
- </tr>
198
-
199
-
200
-
201
- <tr>
202
-
203
- <td class="name"><code>data</code></td>
204
-
205
-
206
- <td class="type">
207
-
208
-
209
- <span class="param-type">data</span>
210
-
211
-
212
-
213
-
214
- </td>
215
-
216
-
217
-
218
-
219
-
220
- <td class="description last"><p>The raw emote data.</p></td>
221
- </tr>
222
-
223
-
224
- </tbody>
225
- </table>
226
-
227
-
228
-
229
-
230
-
231
-
232
-
233
-
234
-
235
-
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
-
245
-
246
- </div>
247
-
248
-
249
-
250
- <h3 class="subsection-title">Extends</h3>
251
-
252
-
253
-
254
-
255
- <ul>
256
- <li><a href="Emote.html">Emote</a></li>
257
- </ul>
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
-
272
-
273
- <h3 class="subsection-title">Members</h3>
274
-
275
-
276
-
277
- <h4 class="name" id="owner"><span class="type-signature type-signature-readonly, nullable">(readonly, nullable) </span>owner<span class="type-signature"> :<a href="Channel.html">Channel</a></span></h4>
278
-
279
-
280
-
281
-
282
-
283
- <dl class="details">
284
-
285
- <dt class="tag-description">Description:</dt>
286
- <dd class="tag-description"><ul class="dummy"><li><p>The channel of this emote's creator.<br>
287
- Not guaranteed to contain the emote, or be cached.</p></li></ul></dd>
288
-
289
-
290
-
291
- <dt class="tag-source">Source:</dt>
292
- <dd class="tag-source"><ul class="dummy"><li>
293
- <a href="struct_FFZEmote.js.html">struct/FFZEmote.js</a>, <a href="struct_FFZEmote.js.html#line23">line 23</a>
294
- </li></ul></dd>
295
-
296
-
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
-
325
-
326
- </dl>
327
-
328
-
329
-
330
-
331
-
332
- <div class="description usertext">
333
- <p>The channel of this emote's creator.<br>
334
- Not guaranteed to contain the emote, or be cached.</p>
335
- </div>
336
-
337
-
338
-
339
- <h5 class="h5-types">Type:</h5>
340
- <ul>
341
- <li>
342
-
343
- <span class="param-type"><a href="Channel.html">Channel</a></span>
344
-
345
-
346
-
347
- </li>
348
- </ul>
349
-
350
-
351
-
352
-
353
-
354
-
355
-
356
-
357
- <h4 class="name" id="ownerName"><span class="type-signature type-signature-nullable">(nullable) </span>ownerName<span class="type-signature"> :string</span></h4>
358
-
359
-
360
-
361
-
362
-
363
- <dl class="details">
364
-
365
- <dt class="tag-description">Description:</dt>
366
- <dd class="tag-description"><ul class="dummy"><li><p>The name of the emote creator's channel.</p></li></ul></dd>
367
-
368
-
369
-
370
- <dt class="tag-source">Source:</dt>
371
- <dd class="tag-source"><ul class="dummy"><li>
372
- <a href="struct_FFZEmote.js.html">struct/FFZEmote.js</a>, <a href="struct_FFZEmote.js.html#line35">line 35</a>
373
- </li></ul></dd>
374
-
375
-
376
-
377
-
378
-
379
-
380
-
381
-
382
-
383
-
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
-
404
-
405
- </dl>
406
-
407
-
408
-
409
-
410
-
411
- <div class="description usertext">
412
- <p>The name of the emote creator's channel.</p>
413
- </div>
414
-
415
-
416
-
417
- <h5 class="h5-types">Type:</h5>
418
- <ul>
419
- <li>
420
-
421
- <span class="param-type">string</span>
422
-
423
-
424
-
425
- </li>
426
- </ul>
427
-
428
-
429
-
430
-
431
-
432
-
433
-
434
-
435
- <h4 class="name" id="sizes"><span class="type-signature"></span>sizes<span class="type-signature"> :Array.&lt;string></span></h4>
436
-
437
-
438
-
439
-
440
-
441
- <dl class="details">
442
-
443
- <dt class="tag-description">Description:</dt>
444
- <dd class="tag-description"><ul class="dummy"><li><p>Available image sizes.</p></li></ul></dd>
445
-
446
-
447
-
448
- <dt class="tag-source">Source:</dt>
449
- <dd class="tag-source"><ul class="dummy"><li>
450
- <a href="struct_FFZEmote.js.html">struct/FFZEmote.js</a>, <a href="struct_FFZEmote.js.html#line41">line 41</a>
451
- </li></ul></dd>
452
-
453
-
454
-
455
-
456
-
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
-
466
-
467
-
468
-
469
-
470
-
471
-
472
-
473
-
474
-
475
-
476
-
477
-
478
-
479
-
480
-
481
-
482
-
483
- </dl>
484
-
485
-
486
-
487
-
488
-
489
- <div class="description usertext">
490
- <p>Available image sizes.</p>
491
- </div>
492
-
493
-
494
-
495
- <h5 class="h5-types">Type:</h5>
496
- <ul>
497
- <li>
498
-
499
- <span class="param-type">Array.&lt;string></span>
500
-
501
-
502
-
503
- </li>
504
- </ul>
505
-
506
-
507
-
508
-
509
-
510
-
511
-
512
-
513
- <h4 class="name" id="animated"><span class="type-signature"></span>animated<span class="type-signature"> :boolean</span></h4>
514
-
515
-
516
-
517
-
518
-
519
- <dl class="details">
520
-
521
- <dt class="tag-description">Description:</dt>
522
- <dd class="tag-description"><ul class="dummy"><li><p>If emote is animated.</p></li></ul></dd>
523
-
524
-
525
-
526
- <dt class="tag-source">Source:</dt>
527
- <dd class="tag-source"><ul class="dummy"><li>
528
- <a href="struct_FFZEmote.js.html">struct/FFZEmote.js</a>, <a href="struct_FFZEmote.js.html#line47">line 47</a>
529
- </li></ul></dd>
530
-
531
-
532
-
533
-
534
-
535
-
536
-
537
-
538
-
539
-
540
-
541
-
542
-
543
-
544
-
545
-
546
-
547
-
548
-
549
-
550
-
551
-
552
-
553
-
554
-
555
-
556
-
557
-
558
-
559
-
560
-
561
- </dl>
562
-
563
-
564
-
565
-
566
-
567
- <div class="description usertext">
568
- <p>If emote is animated.</p>
569
- </div>
570
-
571
-
572
-
573
- <h5 class="h5-types">Type:</h5>
574
- <ul>
575
- <li>
576
-
577
- <span class="param-type">boolean</span>
578
-
579
-
580
-
581
- </li>
582
- </ul>
583
-
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
- <h4 class="name" id="imageType"><span class="type-signature"></span>imageType<span class="type-signature"> :string</span></h4>
592
-
593
-
594
-
595
-
596
-
597
- <dl class="details">
598
-
599
- <dt class="tag-description">Description:</dt>
600
- <dd class="tag-description"><ul class="dummy"><li><p>The image type of the emote.</p></li></ul></dd>
601
-
602
-
603
-
604
- <dt class="tag-source">Source:</dt>
605
- <dd class="tag-source"><ul class="dummy"><li>
606
- <a href="struct_FFZEmote.js.html">struct/FFZEmote.js</a>, <a href="struct_FFZEmote.js.html#line53">line 53</a>
607
- </li></ul></dd>
608
-
609
-
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
-
625
-
626
-
627
-
628
-
629
-
630
-
631
-
632
-
633
-
634
-
635
-
636
-
637
-
638
-
639
- </dl>
640
-
641
-
642
-
643
-
644
-
645
- <div class="description usertext">
646
- <p>The image type of the emote.</p>
647
- </div>
648
-
649
-
650
-
651
- <h5 class="h5-types">Type:</h5>
652
- <ul>
653
- <li>
654
-
655
- <span class="param-type">string</span>
656
-
657
-
658
-
659
- </li>
660
- </ul>
661
-
662
-
663
-
664
-
665
-
666
-
667
-
668
-
669
- <h4 class="name" id="modifier"><span class="type-signature"></span>modifier<span class="type-signature"> :boolean</span></h4>
670
-
671
-
672
-
673
-
674
-
675
- <dl class="details">
676
-
677
- <dt class="tag-description">Description:</dt>
678
- <dd class="tag-description"><ul class="dummy"><li><p>If the emote is a modifier and should be hidden.</p></li></ul></dd>
679
-
680
-
681
-
682
- <dt class="tag-source">Source:</dt>
683
- <dd class="tag-source"><ul class="dummy"><li>
684
- <a href="struct_FFZEmote.js.html">struct/FFZEmote.js</a>, <a href="struct_FFZEmote.js.html#line59">line 59</a>
685
- </li></ul></dd>
686
-
687
-
688
-
689
-
690
-
691
-
692
-
693
-
694
-
695
-
696
-
697
-
698
-
699
-
700
-
701
-
702
-
703
-
704
-
705
-
706
-
707
-
708
-
709
-
710
-
711
-
712
-
713
-
714
-
715
-
716
-
717
- </dl>
718
-
719
-
720
-
721
-
722
-
723
- <div class="description usertext">
724
- <p>If the emote is a modifier and should be hidden.</p>
725
- </div>
726
-
727
-
728
-
729
- <h5 class="h5-types">Type:</h5>
730
- <ul>
731
- <li>
732
-
733
- <span class="param-type">boolean</span>
734
-
735
-
736
-
737
- </li>
738
- </ul>
739
-
740
-
741
-
742
-
743
-
744
-
745
-
746
-
747
- <h4 class="name" id="fetcher"><span class="type-signature"></span>fetcher<span class="type-signature"> :<a href="EmoteFetcher.html">EmoteFetcher</a></span></h4>
748
-
749
-
750
-
751
-
752
-
753
- <dl class="details">
754
-
755
- <dt class="tag-description">Description:</dt>
756
- <dd class="tag-description"><ul class="dummy"><li><p>The emote fetcher.</p></li></ul></dd>
757
-
758
-
759
-
760
- <dt class="tag-source">Source:</dt>
761
- <dd class="tag-source"><ul class="dummy"><li>
762
- <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line19">line 19</a>
763
- </li></ul></dd>
764
-
765
-
766
-
767
-
768
-
769
-
770
-
771
-
772
-
773
- <dt class="tag-overrides">Overrides:</dt>
774
- <dd class="tag-overrides"><ul class="dummy"><li>
775
- <a href="Emote.html#fetcher">Emote#fetcher</a>
776
- </li></ul></dd>
777
-
778
-
779
-
780
-
781
-
782
-
783
-
784
-
785
-
786
-
787
-
788
-
789
-
790
-
791
-
792
-
793
-
794
-
795
-
796
-
797
-
798
-
799
-
800
- </dl>
801
-
802
-
803
-
804
-
805
-
806
- <div class="description usertext">
807
- <p>The emote fetcher.</p>
808
- </div>
809
-
810
-
811
-
812
- <h5 class="h5-types">Type:</h5>
813
- <ul>
814
- <li>
815
-
816
- <span class="param-type"><a href="EmoteFetcher.html">EmoteFetcher</a></span>
817
-
818
-
819
-
820
- </li>
821
- </ul>
822
-
823
-
824
-
825
-
826
-
827
-
828
-
829
-
830
- <h4 class="name" id="channel"><span class="type-signature"></span>channel<span class="type-signature"> :<a href="Channel.html">Channel</a></span></h4>
831
-
832
-
833
-
834
-
835
-
836
- <dl class="details">
837
-
838
- <dt class="tag-description">Description:</dt>
839
- <dd class="tag-description"><ul class="dummy"><li><p>The channel this emote belongs to.<br>
840
- Only accurate and constant on Twitch emotes.<br>
841
- For other types of emotes, use the <code>owner</code> or <code>ownerName</code> property.</p></li></ul></dd>
842
-
843
-
844
-
845
- <dt class="tag-source">Source:</dt>
846
- <dd class="tag-source"><ul class="dummy"><li>
847
- <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line27">line 27</a>
848
- </li></ul></dd>
849
-
850
-
851
-
852
-
853
-
854
-
855
-
856
-
857
-
858
- <dt class="tag-overrides">Overrides:</dt>
859
- <dd class="tag-overrides"><ul class="dummy"><li>
860
- <a href="Emote.html#channel">Emote#channel</a>
861
- </li></ul></dd>
862
-
863
-
864
-
865
-
866
-
867
-
868
-
869
-
870
-
871
-
872
-
873
-
874
-
875
-
876
-
877
-
878
-
879
-
880
-
881
-
882
-
883
-
884
-
885
- </dl>
886
-
887
-
888
-
889
-
890
-
891
- <div class="description usertext">
892
- <p>The channel this emote belongs to.<br>
893
- Only accurate and constant on Twitch emotes.<br>
894
- For other types of emotes, use the <code>owner</code> or <code>ownerName</code> property.</p>
895
- </div>
896
-
897
-
898
-
899
- <h5 class="h5-types">Type:</h5>
900
- <ul>
901
- <li>
902
-
903
- <span class="param-type"><a href="Channel.html">Channel</a></span>
904
-
905
-
906
-
907
- </li>
908
- </ul>
909
-
910
-
911
-
912
-
913
-
914
-
915
-
916
-
917
- <h4 class="name" id="id"><span class="type-signature"></span>id<span class="type-signature"> :string</span></h4>
918
-
919
-
920
-
921
-
922
-
923
- <dl class="details">
924
-
925
- <dt class="tag-description">Description:</dt>
926
- <dd class="tag-description"><ul class="dummy"><li><p>The ID of this emote.</p></li></ul></dd>
927
-
928
-
929
-
930
- <dt class="tag-source">Source:</dt>
931
- <dd class="tag-source"><ul class="dummy"><li>
932
- <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line33">line 33</a>
933
- </li></ul></dd>
934
-
935
-
936
-
937
-
938
-
939
-
940
-
941
-
942
-
943
- <dt class="tag-overrides">Overrides:</dt>
944
- <dd class="tag-overrides"><ul class="dummy"><li>
945
- <a href="Emote.html#id">Emote#id</a>
946
- </li></ul></dd>
947
-
948
-
949
-
950
-
951
-
952
-
953
-
954
-
955
-
956
-
957
-
958
-
959
-
960
-
961
-
962
-
963
-
964
-
965
-
966
-
967
-
968
-
969
-
970
- </dl>
971
-
972
-
973
-
974
-
975
-
976
- <div class="description usertext">
977
- <p>The ID of this emote.</p>
978
- </div>
979
-
980
-
981
-
982
- <h5 class="h5-types">Type:</h5>
983
- <ul>
984
- <li>
985
-
986
- <span class="param-type">string</span>
987
-
988
-
989
-
990
- </li>
991
- </ul>
992
-
993
-
994
-
995
-
996
-
997
-
998
-
999
-
1000
- <h4 class="name" id="type"><span class="type-signature"></span>type<span class="type-signature"> :string</span></h4>
1001
-
1002
-
1003
-
1004
-
1005
-
1006
- <dl class="details">
1007
-
1008
- <dt class="tag-description">Description:</dt>
1009
- <dd class="tag-description"><ul class="dummy"><li><p>The type of this emote.<br>
1010
- Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p></li></ul></dd>
1011
-
1012
-
1013
-
1014
- <dt class="tag-source">Source:</dt>
1015
- <dd class="tag-source"><ul class="dummy"><li>
1016
- <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line40">line 40</a>
1017
- </li></ul></dd>
1018
-
1019
-
1020
-
1021
-
1022
-
1023
-
1024
-
1025
-
1026
-
1027
- <dt class="tag-overrides">Overrides:</dt>
1028
- <dd class="tag-overrides"><ul class="dummy"><li>
1029
- <a href="Emote.html#type">Emote#type</a>
1030
- </li></ul></dd>
1031
-
1032
-
1033
-
1034
-
1035
-
1036
-
1037
-
1038
-
1039
-
1040
-
1041
-
1042
-
1043
-
1044
-
1045
-
1046
-
1047
-
1048
-
1049
-
1050
-
1051
-
1052
-
1053
-
1054
- </dl>
1055
-
1056
-
1057
-
1058
-
1059
-
1060
- <div class="description usertext">
1061
- <p>The type of this emote.<br>
1062
- Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p>
1063
- </div>
1064
-
1065
-
1066
-
1067
- <h5 class="h5-types">Type:</h5>
1068
- <ul>
1069
- <li>
1070
-
1071
- <span class="param-type">string</span>
1072
-
1073
-
1074
-
1075
- </li>
1076
- </ul>
1077
-
1078
-
1079
-
1080
-
1081
-
1082
-
1083
-
1084
-
1085
- <h4 class="name" id="code"><span class="type-signature"></span>code<span class="type-signature"> :string</span></h4>
1086
-
1087
-
1088
-
1089
-
1090
-
1091
- <dl class="details">
1092
-
1093
- <dt class="tag-description">Description:</dt>
1094
- <dd class="tag-description"><ul class="dummy"><li><p>The code or name of the emote.</p></li></ul></dd>
1095
-
1096
-
1097
-
1098
- <dt class="tag-source">Source:</dt>
1099
- <dd class="tag-source"><ul class="dummy"><li>
1100
- <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line50">line 50</a>
1101
- </li></ul></dd>
1102
-
1103
-
1104
-
1105
-
1106
-
1107
-
1108
-
1109
-
1110
-
1111
- <dt class="tag-overrides">Overrides:</dt>
1112
- <dd class="tag-overrides"><ul class="dummy"><li>
1113
- <a href="Emote.html#code">Emote#code</a>
1114
- </li></ul></dd>
1115
-
1116
-
1117
-
1118
-
1119
-
1120
-
1121
-
1122
-
1123
-
1124
-
1125
-
1126
-
1127
-
1128
-
1129
-
1130
-
1131
-
1132
-
1133
-
1134
-
1135
-
1136
-
1137
-
1138
- </dl>
1139
-
1140
-
1141
-
1142
-
1143
-
1144
- <div class="description usertext">
1145
- <p>The code or name of the emote.</p>
1146
- </div>
1147
-
1148
-
1149
-
1150
- <h5 class="h5-types">Type:</h5>
1151
- <ul>
1152
- <li>
1153
-
1154
- <span class="param-type">string</span>
1155
-
1156
-
1157
-
1158
- </li>
1159
- </ul>
1160
-
1161
-
1162
-
1163
-
1164
-
1165
-
1166
-
1167
-
1168
-
1169
-
1170
- <h3 class="subsection-title">Methods</h3>
1171
-
1172
-
1173
-
1174
-
1175
-
1176
-
1177
- <h4 class="name" id="toLink"><span class="type-signature"></span>toLink<span class="signature">(size)</span><span class="type-signature"> &rarr; {string}</span></h4>
1178
-
1179
-
1180
-
1181
-
1182
-
1183
-
1184
- <dl class="details">
1185
-
1186
- <dt class="tag-description">Description:</dt>
1187
- <dd class="tag-description"><ul class="dummy"><li><p>Gets the image link of the emote.</p></li></ul></dd>
1188
-
1189
-
1190
-
1191
- <dt class="tag-source">Source:</dt>
1192
- <dd class="tag-source"><ul class="dummy"><li>
1193
- <a href="struct_FFZEmote.js.html">struct/FFZEmote.js</a>, <a href="struct_FFZEmote.js.html#line67">line 67</a>
1194
- </li></ul></dd>
1195
-
1196
-
1197
-
1198
-
1199
-
1200
-
1201
-
1202
-
1203
-
1204
-
1205
-
1206
-
1207
-
1208
-
1209
-
1210
-
1211
-
1212
-
1213
-
1214
-
1215
-
1216
-
1217
-
1218
-
1219
-
1220
-
1221
-
1222
-
1223
-
1224
-
1225
-
1226
- </dl>
1227
-
1228
-
1229
-
1230
-
1231
-
1232
-
1233
-
1234
-
1235
-
1236
-
1237
-
1238
-
1239
-
1240
- <h5 class="h5-parameters">Parameters:</h5>
1241
-
1242
-
1243
- <table class="params">
1244
- <thead>
1245
- <tr>
1246
-
1247
- <th>Name</th>
1248
-
1249
-
1250
- <th>Type</th>
1251
-
1252
-
1253
-
1254
-
1255
- <th>Default</th>
1256
-
1257
-
1258
- <th class="last">Description</th>
1259
- </tr>
1260
- </thead>
1261
-
1262
- <tbody>
1263
-
1264
-
1265
- <tr>
1266
-
1267
- <td class="name"><code>size</code></td>
1268
-
1269
-
1270
- <td class="type">
1271
-
1272
-
1273
- <span class="param-type">number</span>
1274
-
1275
-
1276
-
1277
-
1278
- </td>
1279
-
1280
-
1281
-
1282
-
1283
- <td class="default">
1284
-
1285
- <code>0</code>
1286
-
1287
- </td>
1288
-
1289
-
1290
- <td class="description last"><p>The size of the image.</p></td>
1291
- </tr>
1292
-
1293
-
1294
- </tbody>
1295
- </table>
1296
-
1297
-
1298
-
1299
-
1300
-
1301
-
1302
-
1303
-
1304
-
1305
-
1306
-
1307
-
1308
-
1309
-
1310
-
1311
-
1312
- <h5 class="h5-returns">Returns:</h5>
1313
-
1314
-
1315
-
1316
-
1317
- <dl class="param-type">
1318
- <dt>
1319
- Type
1320
- </dt>
1321
- <dd>
1322
-
1323
- <span class="param-type">string</span>
1324
-
1325
-
1326
-
1327
- </dd>
1328
- </dl>
1329
-
1330
-
1331
-
1332
-
1333
-
1334
-
1335
-
1336
-
1337
-
1338
-
1339
- <h4 class="name" id="toObject"><span class="type-signature"></span>toObject<span class="signature">()</span><span class="type-signature"> &rarr; {object}</span></h4>
1340
-
1341
-
1342
-
1343
-
1344
-
1345
-
1346
- <dl class="details">
1347
-
1348
- <dt class="tag-description">Description:</dt>
1349
- <dd class="tag-description"><ul class="dummy"><li><p>Override for <code>toObject</code>.<br>
1350
- Will result in an Object representation of a FFZEmote</p></li></ul></dd>
1351
-
1352
-
1353
-
1354
- <dt class="tag-source">Source:</dt>
1355
- <dd class="tag-source"><ul class="dummy"><li>
1356
- <a href="struct_FFZEmote.js.html">struct/FFZEmote.js</a>, <a href="struct_FFZEmote.js.html#line78">line 78</a>
1357
- </li></ul></dd>
1358
-
1359
-
1360
-
1361
-
1362
-
1363
-
1364
-
1365
-
1366
-
1367
- <dt class="tag-overrides">Overrides:</dt>
1368
- <dd class="tag-overrides"><ul class="dummy"><li>
1369
- <a href="Emote.html#toObject">Emote#toObject</a>
1370
- </li></ul></dd>
1371
-
1372
-
1373
-
1374
-
1375
-
1376
-
1377
-
1378
-
1379
-
1380
-
1381
-
1382
-
1383
-
1384
-
1385
-
1386
-
1387
-
1388
-
1389
-
1390
-
1391
-
1392
-
1393
-
1394
- </dl>
1395
-
1396
-
1397
-
1398
-
1399
-
1400
-
1401
-
1402
-
1403
-
1404
-
1405
-
1406
-
1407
-
1408
-
1409
-
1410
-
1411
-
1412
-
1413
-
1414
-
1415
-
1416
-
1417
-
1418
-
1419
-
1420
-
1421
-
1422
- <h5 class="h5-returns">Returns:</h5>
1423
-
1424
-
1425
-
1426
-
1427
- <dl class="param-type">
1428
- <dt>
1429
- Type
1430
- </dt>
1431
- <dd>
1432
-
1433
- <span class="param-type">object</span>
1434
-
1435
-
1436
-
1437
- </dd>
1438
- </dl>
1439
-
1440
-
1441
-
1442
-
1443
-
1444
-
1445
-
1446
-
1447
-
1448
-
1449
- <h4 class="name" id=".fromObject"><span class="type-signature type-signature-static">(static) </span>fromObject<span class="signature">(emoteObject<span class="signature-attributes">opt</span>, channel<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {<a href="FFZEmote.html">FFZEmote</a>}</span></h4>
1450
-
1451
-
1452
-
1453
-
1454
-
1455
-
1456
- <dl class="details">
1457
-
1458
- <dt class="tag-description">Description:</dt>
1459
- <dd class="tag-description"><ul class="dummy"><li><p>Converts an emote Object into a FFZEmote</p></li></ul></dd>
1460
-
1461
-
1462
-
1463
- <dt class="tag-source">Source:</dt>
1464
- <dd class="tag-source"><ul class="dummy"><li>
1465
- <a href="struct_FFZEmote.js.html">struct/FFZEmote.js</a>, <a href="struct_FFZEmote.js.html#line94">line 94</a>
1466
- </li></ul></dd>
1467
-
1468
-
1469
-
1470
-
1471
-
1472
-
1473
-
1474
-
1475
-
1476
-
1477
-
1478
-
1479
-
1480
-
1481
-
1482
-
1483
-
1484
-
1485
-
1486
-
1487
-
1488
-
1489
-
1490
-
1491
-
1492
-
1493
-
1494
-
1495
-
1496
-
1497
-
1498
- </dl>
1499
-
1500
-
1501
-
1502
-
1503
-
1504
-
1505
-
1506
-
1507
-
1508
-
1509
-
1510
-
1511
-
1512
- <h5 class="h5-parameters">Parameters:</h5>
1513
-
1514
-
1515
- <table class="params">
1516
- <thead>
1517
- <tr>
1518
-
1519
- <th>Name</th>
1520
-
1521
-
1522
- <th>Type</th>
1523
-
1524
-
1525
- <th>Attributes</th>
1526
-
1527
-
1528
-
1529
- <th>Default</th>
1530
-
1531
-
1532
- <th class="last">Description</th>
1533
- </tr>
1534
- </thead>
1535
-
1536
- <tbody>
1537
-
1538
-
1539
- <tr>
1540
-
1541
- <td class="name"><code>emoteObject</code></td>
1542
-
1543
-
1544
- <td class="type">
1545
-
1546
-
1547
- <span class="param-type">object</span>
1548
-
1549
-
1550
-
1551
-
1552
- </td>
1553
-
1554
-
1555
- <td class="attributes">
1556
-
1557
- &lt;optional><br>
1558
-
1559
-
1560
-
1561
-
1562
-
1563
- </td>
1564
-
1565
-
1566
-
1567
- <td class="default">
1568
-
1569
- </td>
1570
-
1571
-
1572
- <td class="description last"><p>Object representation of this emote</p></td>
1573
- </tr>
1574
-
1575
-
1576
-
1577
- <tr>
1578
-
1579
- <td class="name"><code>channel</code></td>
1580
-
1581
-
1582
- <td class="type">
1583
-
1584
-
1585
- <span class="param-type"><a href="Channel.html">Channel</a></span>
1586
-
1587
-
1588
-
1589
-
1590
- </td>
1591
-
1592
-
1593
- <td class="attributes">
1594
-
1595
- &lt;optional><br>
1596
-
1597
-
1598
-
1599
-
1600
-
1601
- </td>
1602
-
1603
-
1604
-
1605
- <td class="default">
1606
-
1607
- <code>null</code>
1608
-
1609
- </td>
1610
-
1611
-
1612
- <td class="description last"><p>Channel this emote belongs to.</p></td>
1613
- </tr>
1614
-
1615
-
1616
- </tbody>
1617
- </table>
1618
-
1619
-
1620
-
1621
-
1622
-
1623
-
1624
-
1625
-
1626
-
1627
-
1628
-
1629
-
1630
-
1631
-
1632
-
1633
-
1634
- <h5 class="h5-returns">Returns:</h5>
1635
-
1636
-
1637
-
1638
-
1639
- <dl class="param-type">
1640
- <dt>
1641
- Type
1642
- </dt>
1643
- <dd>
1644
-
1645
- <span class="param-type"><a href="FFZEmote.html">FFZEmote</a></span>
1646
-
1647
-
1648
-
1649
- </dd>
1650
- </dl>
1651
-
1652
-
1653
-
1654
-
1655
-
1656
-
1657
-
1658
-
1659
-
1660
-
1661
-
1662
- </article>
1663
-
1664
- </section>
1665
-
1666
-
1667
-
1668
-
1669
-
1670
-
1671
- </div>
1672
-
1673
- <br class="clear">
1674
-
1675
- <footer>
1676
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1677
- </footer>
1678
-
1679
- <script>prettyPrint();</script>
1680
- <script src="scripts/polyfill.js"></script>
1681
- <script src="scripts/linenumber.js"></script>
1682
-
1683
-
1684
-
1685
- </body>
1686
- </html>