@mkody/twitch-emoticons 2.6.2 → 2.7.1

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 (44) hide show
  1. package/.eslintrc.json +143 -143
  2. package/.github/codeql/codeql-config.yml +4 -4
  3. package/.github/workflows/codeql.yml +50 -50
  4. package/.github/workflows/eslint.yml +50 -50
  5. package/.github/workflows/release.yml +22 -0
  6. package/.github/workflows/yarn-test.yml +17 -17
  7. package/.jsdoc.json +39 -39
  8. package/.nvmrc +1 -0
  9. package/LICENSE +22 -22
  10. package/README.md +13 -8
  11. package/docs/BTTVEmote.html +83 -5
  12. package/docs/Channel.html +1 -1
  13. package/docs/Collection.html +1 -1
  14. package/docs/Emote.html +3 -3
  15. package/docs/EmoteFetcher.html +271 -19
  16. package/docs/EmoteParser.html +1 -1
  17. package/docs/FFZEmote.html +162 -6
  18. package/docs/SevenTV.html +1190 -1190
  19. package/docs/SevenTVEmote.html +84 -6
  20. package/docs/TwitchEmote.html +83 -5
  21. package/docs/index.html +15 -10
  22. package/docs/struct_BTTVEmote.js.html +61 -55
  23. package/docs/struct_Channel.js.html +56 -56
  24. package/docs/struct_Emote.js.html +67 -66
  25. package/docs/struct_EmoteFetcher.js.html +324 -284
  26. package/docs/struct_EmoteParser.js.html +82 -81
  27. package/docs/struct_FFZEmote.js.html +75 -62
  28. package/docs/struct_SevenTVEmote.js.html +70 -64
  29. package/docs/struct_TwitchEmote.js.html +59 -53
  30. package/docs/util_Collection.js.html +79 -79
  31. package/package.json +57 -57
  32. package/src/index.js +12 -12
  33. package/src/struct/BTTVEmote.js +60 -54
  34. package/src/struct/Channel.js +55 -55
  35. package/src/struct/Emote.js +66 -65
  36. package/src/struct/EmoteFetcher.js +323 -283
  37. package/src/struct/EmoteParser.js +81 -80
  38. package/src/struct/FFZEmote.js +74 -61
  39. package/src/struct/SevenTVEmote.js +69 -63
  40. package/src/struct/TwitchEmote.js +58 -52
  41. package/src/util/Collection.js +78 -78
  42. package/src/util/Constants.js +31 -25
  43. package/test/index.js +174 -166
  44. package/typings/index.d.ts +98 -93
package/docs/SevenTV.html CHANGED
@@ -1,1191 +1,1191 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
-
5
- <meta charset="utf-8">
6
- <title>SevenTV - 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
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
18
- </head>
19
- <body>
20
-
21
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
22
- <label for="nav-trigger" class="navicon-button x">
23
- <div class="navicon"></div>
24
- </label>
25
-
26
- <label for="nav-trigger" class="overlay"></label>
27
-
28
- <nav >
29
-
30
- <h2><a href="index.html">Home</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#toString">toString</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="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#filter">filter</a></li><li data-type='method'><a href="Collection.html#find">find</a></li><li data-type='method'><a href="Collection.html#map">map</a></li></ul></li><li><a href="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#toString">toString</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#_cacheBTTVEmote">_cacheBTTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheFFZEmote">_cacheFFZEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheSevenTVEmote">_cacheSevenTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheTwitchEmote">_cacheTwitchEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawBTTVEmotes">_getRawBTTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawFFZEmotes">_getRawFFZEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawSevenTVEmotes">_getRawSevenTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawTwitchEmotes">_getRawTwitchEmotes</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#fetchTwitchEmotes">fetchTwitchEmotes</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#toString">toString</a></li></ul></li><li><a href="SevenTV.html">SevenTV</a><ul class='methods'><li data-type='method'><a href="SevenTV.html#toLink">toLink</a></li><li data-type='method'><a href="SevenTV.html#toString">toString</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#toString">toString</a></li></ul></li></ul>
31
- </nav>
32
-
33
- <div id="main">
34
-
35
- <h1 class="page-title">SevenTV</h1>
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
- <section>
44
-
45
- <header>
46
-
47
- <h2>
48
- SevenTV
49
- </h2>
50
-
51
-
52
- </header>
53
-
54
- <article>
55
-
56
- <div class="container-overview">
57
-
58
-
59
-
60
-
61
-
62
- <h4 class="name" id="SevenTV"><span class="type-signature"></span>new SevenTV<span class="signature">(channel, id, data)</span><span class="type-signature"></span></h4>
63
-
64
-
65
-
66
-
67
-
68
-
69
- <dl class="details">
70
-
71
-
72
- <dt class="tag-source">Source:</dt>
73
- <dd class="tag-source"><ul class="dummy"><li>
74
- <a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line5">line 5</a>
75
- </li></ul></dd>
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
- </dl>
108
-
109
-
110
-
111
-
112
-
113
- <div class="description usertext">
114
- <p>A 7TV emote.</p>
115
- </div>
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
- <h5>Parameters:</h5>
128
-
129
-
130
- <table class="params">
131
- <thead>
132
- <tr>
133
-
134
- <th>Name</th>
135
-
136
-
137
- <th>Type</th>
138
-
139
-
140
-
141
-
142
-
143
- <th class="last">Description</th>
144
- </tr>
145
- </thead>
146
-
147
- <tbody>
148
-
149
-
150
- <tr>
151
-
152
- <td class="name"><code>channel</code></td>
153
-
154
-
155
- <td class="type">
156
-
157
-
158
- <span class="param-type"><a href="Channel.html">Channel</a></span>
159
-
160
-
161
-
162
- </td>
163
-
164
-
165
-
166
-
167
-
168
- <td class="description last"><p>Channel this emote belongs to.</p></td>
169
- </tr>
170
-
171
-
172
-
173
- <tr>
174
-
175
- <td class="name"><code>id</code></td>
176
-
177
-
178
- <td class="type">
179
-
180
-
181
- <span class="param-type">string</span>
182
-
183
-
184
-
185
- </td>
186
-
187
-
188
-
189
-
190
-
191
- <td class="description last"><p>ID of the emote.</p></td>
192
- </tr>
193
-
194
-
195
-
196
- <tr>
197
-
198
- <td class="name"><code>data</code></td>
199
-
200
-
201
- <td class="type">
202
-
203
-
204
- <span class="param-type">data</span>
205
-
206
-
207
-
208
- </td>
209
-
210
-
211
-
212
-
213
-
214
- <td class="description last"><p>The raw emote data.</p></td>
215
- </tr>
216
-
217
-
218
- </tbody>
219
- </table>
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
-
230
-
231
-
232
-
233
-
234
-
235
-
236
-
237
-
238
-
239
-
240
- </div>
241
-
242
-
243
-
244
- <h3 class="subsection-title">Extends</h3>
245
-
246
-
247
-
248
-
249
- <ul>
250
- <li><a href="Emote.html">Emote</a></li>
251
- </ul>
252
-
253
-
254
-
255
-
256
-
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
- <h3 class="subsection-title">Members</h3>
268
-
269
-
270
-
271
- <h4 class="name" id="channel"><span class="type-signature"></span>channel<span class="type-signature"> :<a href="Channel.html">Channel</a></span></h4>
272
-
273
-
274
-
275
-
276
-
277
- <dl class="details">
278
-
279
-
280
- <dt class="tag-source">Source:</dt>
281
- <dd class="tag-source"><ul class="dummy"><li>
282
- <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line26">line 26</a>
283
- </li></ul></dd>
284
-
285
-
286
-
287
-
288
-
289
-
290
-
291
-
292
-
293
- <dt class="tag-overrides">Overrides:</dt>
294
- <dd class="tag-overrides"><ul class="dummy"><li>
295
- <a href="Emote.html#channel">Emote#channel</a>
296
- </li></ul></dd>
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
-
318
-
319
-
320
- </dl>
321
-
322
-
323
-
324
-
325
-
326
- <div class="description usertext">
327
- <p>The channel this emote belongs to.<br>
328
- Only accurate and constant on Twitch emotes.<br>
329
- For other types of emotes, use the <code>owner</code> or <code>ownerName</code> property.</p>
330
- </div>
331
-
332
-
333
-
334
- <h5>Type:</h5>
335
- <ul>
336
- <li>
337
-
338
- <span class="param-type"><a href="Channel.html">Channel</a></span>
339
-
340
-
341
- </li>
342
- </ul>
343
-
344
-
345
-
346
-
347
-
348
-
349
-
350
-
351
- <h4 class="name" id="code"><span class="type-signature"></span>code<span class="type-signature"> :string</span></h4>
352
-
353
-
354
-
355
-
356
-
357
- <dl class="details">
358
-
359
-
360
- <dt class="tag-source">Source:</dt>
361
- <dd class="tag-source"><ul class="dummy"><li>
362
- <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line48">line 48</a>
363
- </li></ul></dd>
364
-
365
-
366
-
367
-
368
-
369
-
370
-
371
-
372
-
373
- <dt class="tag-overrides">Overrides:</dt>
374
- <dd class="tag-overrides"><ul class="dummy"><li>
375
- <a href="Emote.html#code">Emote#code</a>
376
- </li></ul></dd>
377
-
378
-
379
-
380
-
381
-
382
-
383
-
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
- </dl>
401
-
402
-
403
-
404
-
405
-
406
- <div class="description usertext">
407
- <p>The code or name of the emote.</p>
408
- </div>
409
-
410
-
411
-
412
- <h5>Type:</h5>
413
- <ul>
414
- <li>
415
-
416
- <span class="param-type">string</span>
417
-
418
-
419
- </li>
420
- </ul>
421
-
422
-
423
-
424
-
425
-
426
-
427
-
428
-
429
- <h4 class="name" id="fetcher"><span class="type-signature"></span>fetcher<span class="type-signature"> :<a href="EmoteFetcher.html">EmoteFetcher</a></span></h4>
430
-
431
-
432
-
433
-
434
-
435
- <dl class="details">
436
-
437
-
438
- <dt class="tag-source">Source:</dt>
439
- <dd class="tag-source"><ul class="dummy"><li>
440
- <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line18">line 18</a>
441
- </li></ul></dd>
442
-
443
-
444
-
445
-
446
-
447
-
448
-
449
-
450
-
451
- <dt class="tag-overrides">Overrides:</dt>
452
- <dd class="tag-overrides"><ul class="dummy"><li>
453
- <a href="Emote.html#fetcher">Emote#fetcher</a>
454
- </li></ul></dd>
455
-
456
-
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
-
466
-
467
-
468
-
469
-
470
-
471
-
472
-
473
-
474
-
475
-
476
-
477
-
478
- </dl>
479
-
480
-
481
-
482
-
483
-
484
- <div class="description usertext">
485
- <p>The emote fetcher.</p>
486
- </div>
487
-
488
-
489
-
490
- <h5>Type:</h5>
491
- <ul>
492
- <li>
493
-
494
- <span class="param-type"><a href="EmoteFetcher.html">EmoteFetcher</a></span>
495
-
496
-
497
- </li>
498
- </ul>
499
-
500
-
501
-
502
-
503
-
504
-
505
-
506
-
507
- <h4 class="name" id="id"><span class="type-signature"></span>id<span class="type-signature"> :string</span></h4>
508
-
509
-
510
-
511
-
512
-
513
- <dl class="details">
514
-
515
-
516
- <dt class="tag-source">Source:</dt>
517
- <dd class="tag-source"><ul class="dummy"><li>
518
- <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line32">line 32</a>
519
- </li></ul></dd>
520
-
521
-
522
-
523
-
524
-
525
-
526
-
527
-
528
-
529
- <dt class="tag-overrides">Overrides:</dt>
530
- <dd class="tag-overrides"><ul class="dummy"><li>
531
- <a href="Emote.html#id">Emote#id</a>
532
- </li></ul></dd>
533
-
534
-
535
-
536
-
537
-
538
-
539
-
540
-
541
-
542
-
543
-
544
-
545
-
546
-
547
-
548
-
549
-
550
-
551
-
552
-
553
-
554
-
555
-
556
- </dl>
557
-
558
-
559
-
560
-
561
-
562
- <div class="description usertext">
563
- <p>The ID of this emote.</p>
564
- </div>
565
-
566
-
567
-
568
- <h5>Type:</h5>
569
- <ul>
570
- <li>
571
-
572
- <span class="param-type">string</span>
573
-
574
-
575
- </li>
576
- </ul>
577
-
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
- <h4 class="name" id="owner"><span class="type-signature">(readonly, nullable) </span>owner<span class="type-signature"> :<a href="Channel.html">Channel</a></span></h4>
586
-
587
-
588
-
589
-
590
-
591
- <dl class="details">
592
-
593
-
594
- <dt class="tag-source">Source:</dt>
595
- <dd class="tag-source"><ul class="dummy"><li>
596
- <a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line23">line 23</a>
597
- </li></ul></dd>
598
-
599
-
600
-
601
-
602
-
603
-
604
-
605
-
606
-
607
-
608
-
609
-
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
-
625
-
626
-
627
-
628
-
629
- </dl>
630
-
631
-
632
-
633
-
634
-
635
- <div class="description usertext">
636
- <p>The channel of this emote's creator.<br>
637
- Not guaranteed to contain the emote, or be cached.</p>
638
- </div>
639
-
640
-
641
-
642
- <h5>Type:</h5>
643
- <ul>
644
- <li>
645
-
646
- <span class="param-type"><a href="Channel.html">Channel</a></span>
647
-
648
-
649
- </li>
650
- </ul>
651
-
652
-
653
-
654
-
655
-
656
-
657
-
658
-
659
- <h4 class="name" id="ownerName"><span class="type-signature"></span>ownerName<span class="type-signature"> :string</span></h4>
660
-
661
-
662
-
663
-
664
-
665
- <dl class="details">
666
-
667
-
668
- <dt class="tag-source">Source:</dt>
669
- <dd class="tag-source"><ul class="dummy"><li>
670
- <a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line35">line 35</a>
671
- </li></ul></dd>
672
-
673
-
674
-
675
-
676
-
677
-
678
-
679
-
680
-
681
-
682
-
683
-
684
-
685
-
686
-
687
-
688
-
689
-
690
-
691
-
692
-
693
-
694
-
695
-
696
-
697
-
698
-
699
-
700
-
701
-
702
-
703
- </dl>
704
-
705
-
706
-
707
-
708
-
709
- <div class="description usertext">
710
- <p>The name of the emote creator's channel.</p>
711
- </div>
712
-
713
-
714
-
715
- <h5>Type:</h5>
716
- <ul>
717
- <li>
718
-
719
- <span class="param-type">string</span>
720
-
721
-
722
- </li>
723
- </ul>
724
-
725
-
726
-
727
-
728
-
729
-
730
-
731
-
732
- <h4 class="name" id="sizes"><span class="type-signature"></span>sizes<span class="type-signature"> :Array.&lt;string></span></h4>
733
-
734
-
735
-
736
-
737
-
738
- <dl class="details">
739
-
740
-
741
- <dt class="tag-source">Source:</dt>
742
- <dd class="tag-source"><ul class="dummy"><li>
743
- <a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line41">line 41</a>
744
- </li></ul></dd>
745
-
746
-
747
-
748
-
749
-
750
-
751
-
752
-
753
-
754
-
755
-
756
-
757
-
758
-
759
-
760
-
761
-
762
-
763
-
764
-
765
-
766
-
767
-
768
-
769
-
770
-
771
-
772
-
773
-
774
-
775
-
776
- </dl>
777
-
778
-
779
-
780
-
781
-
782
- <div class="description usertext">
783
- <p>Available image sizes.</p>
784
- </div>
785
-
786
-
787
-
788
- <h5>Type:</h5>
789
- <ul>
790
- <li>
791
-
792
- <span class="param-type">Array.&lt;string></span>
793
-
794
-
795
- </li>
796
- </ul>
797
-
798
-
799
-
800
-
801
-
802
-
803
-
804
-
805
- <h4 class="name" id="type"><span class="type-signature"></span>type<span class="type-signature"> :string</span></h4>
806
-
807
-
808
-
809
-
810
-
811
- <dl class="details">
812
-
813
-
814
- <dt class="tag-source">Source:</dt>
815
- <dd class="tag-source"><ul class="dummy"><li>
816
- <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line39">line 39</a>
817
- </li></ul></dd>
818
-
819
-
820
-
821
-
822
-
823
-
824
-
825
-
826
-
827
- <dt class="tag-overrides">Overrides:</dt>
828
- <dd class="tag-overrides"><ul class="dummy"><li>
829
- <a href="Emote.html#type">Emote#type</a>
830
- </li></ul></dd>
831
-
832
-
833
-
834
-
835
-
836
-
837
-
838
-
839
-
840
-
841
-
842
-
843
-
844
-
845
-
846
-
847
-
848
-
849
-
850
-
851
-
852
-
853
-
854
- </dl>
855
-
856
-
857
-
858
-
859
-
860
- <div class="description usertext">
861
- <p>The type of this emote.<br>
862
- Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p>
863
- </div>
864
-
865
-
866
-
867
- <h5>Type:</h5>
868
- <ul>
869
- <li>
870
-
871
- <span class="param-type">string</span>
872
-
873
-
874
- </li>
875
- </ul>
876
-
877
-
878
-
879
-
880
-
881
-
882
-
883
-
884
-
885
-
886
- <h3 class="subsection-title">Methods</h3>
887
-
888
-
889
-
890
-
891
-
892
-
893
- <h4 class="name" id="toLink"><span class="type-signature"></span>toLink<span class="signature">(size)</span><span class="type-signature"> &rarr; {string}</span></h4>
894
-
895
-
896
-
897
-
898
-
899
-
900
- <dl class="details">
901
-
902
-
903
- <dt class="tag-source">Source:</dt>
904
- <dd class="tag-source"><ul class="dummy"><li>
905
- <a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line59">line 59</a>
906
- </li></ul></dd>
907
-
908
-
909
-
910
-
911
-
912
-
913
-
914
-
915
-
916
-
917
-
918
-
919
-
920
-
921
-
922
-
923
-
924
-
925
-
926
-
927
-
928
-
929
-
930
-
931
-
932
-
933
-
934
-
935
-
936
-
937
-
938
- </dl>
939
-
940
-
941
-
942
-
943
-
944
- <div class="description usertext">
945
- <p>Gets the image link of the emote.</p>
946
- </div>
947
-
948
-
949
-
950
-
951
-
952
-
953
-
954
-
955
-
956
-
957
-
958
- <h5>Parameters:</h5>
959
-
960
-
961
- <table class="params">
962
- <thead>
963
- <tr>
964
-
965
- <th>Name</th>
966
-
967
-
968
- <th>Type</th>
969
-
970
-
971
-
972
-
973
- <th>Default</th>
974
-
975
-
976
- <th class="last">Description</th>
977
- </tr>
978
- </thead>
979
-
980
- <tbody>
981
-
982
-
983
- <tr>
984
-
985
- <td class="name"><code>size</code></td>
986
-
987
-
988
- <td class="type">
989
-
990
-
991
- <span class="param-type">number</span>
992
-
993
-
994
-
995
- </td>
996
-
997
-
998
-
999
-
1000
- <td class="default">
1001
-
1002
- <code>0</code>
1003
-
1004
- </td>
1005
-
1006
-
1007
- <td class="description last"><p>The size of the image.</p></td>
1008
- </tr>
1009
-
1010
-
1011
- </tbody>
1012
- </table>
1013
-
1014
-
1015
-
1016
-
1017
-
1018
-
1019
-
1020
-
1021
-
1022
-
1023
-
1024
-
1025
-
1026
-
1027
-
1028
-
1029
- <h5>Returns:</h5>
1030
-
1031
-
1032
-
1033
-
1034
- <dl class="param-type">
1035
- <dt>
1036
- Type
1037
- </dt>
1038
- <dd>
1039
-
1040
- <span class="param-type">string</span>
1041
-
1042
-
1043
- </dd>
1044
- </dl>
1045
-
1046
-
1047
-
1048
-
1049
-
1050
-
1051
-
1052
-
1053
-
1054
-
1055
- <h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span></h4>
1056
-
1057
-
1058
-
1059
-
1060
-
1061
-
1062
- <dl class="details">
1063
-
1064
-
1065
- <dt class="tag-source">Source:</dt>
1066
- <dd class="tag-source"><ul class="dummy"><li>
1067
- <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line60">line 60</a>
1068
- </li></ul></dd>
1069
-
1070
-
1071
-
1072
-
1073
-
1074
-
1075
-
1076
-
1077
-
1078
- <dt class="tag-overrides">Overrides:</dt>
1079
- <dd class="tag-overrides"><ul class="dummy"><li>
1080
- <a href="Emote.html#toString">Emote#toString</a>
1081
- </li></ul></dd>
1082
-
1083
-
1084
-
1085
-
1086
-
1087
-
1088
-
1089
-
1090
-
1091
-
1092
-
1093
-
1094
-
1095
-
1096
-
1097
-
1098
-
1099
-
1100
-
1101
-
1102
-
1103
-
1104
-
1105
- </dl>
1106
-
1107
-
1108
-
1109
-
1110
-
1111
- <div class="description usertext">
1112
- <p>Override for <code>toString</code>.<br>
1113
- Will give the emote's name.</p>
1114
- </div>
1115
-
1116
-
1117
-
1118
-
1119
-
1120
-
1121
-
1122
-
1123
-
1124
-
1125
-
1126
-
1127
-
1128
-
1129
-
1130
-
1131
-
1132
-
1133
-
1134
-
1135
-
1136
-
1137
-
1138
-
1139
-
1140
- <h5>Returns:</h5>
1141
-
1142
-
1143
-
1144
-
1145
- <dl class="param-type">
1146
- <dt>
1147
- Type
1148
- </dt>
1149
- <dd>
1150
-
1151
- <span class="param-type">string</span>
1152
-
1153
-
1154
- </dd>
1155
- </dl>
1156
-
1157
-
1158
-
1159
-
1160
-
1161
-
1162
-
1163
-
1164
-
1165
-
1166
-
1167
- </article>
1168
-
1169
- </section>
1170
-
1171
-
1172
-
1173
-
1174
-
1175
-
1176
- </div>
1177
-
1178
- <br class="clear">
1179
-
1180
- <footer>
1181
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1182
- </footer>
1183
-
1184
- <script>prettyPrint();</script>
1185
- <script src="scripts/polyfill.js"></script>
1186
- <script src="scripts/linenumber.js"></script>
1187
-
1188
-
1189
-
1190
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>SevenTV - 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
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
18
+ </head>
19
+ <body>
20
+
21
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
22
+ <label for="nav-trigger" class="navicon-button x">
23
+ <div class="navicon"></div>
24
+ </label>
25
+
26
+ <label for="nav-trigger" class="overlay"></label>
27
+
28
+ <nav >
29
+
30
+ <h2><a href="index.html">Home</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#toString">toString</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="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#filter">filter</a></li><li data-type='method'><a href="Collection.html#find">find</a></li><li data-type='method'><a href="Collection.html#map">map</a></li></ul></li><li><a href="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#toString">toString</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#_cacheBTTVEmote">_cacheBTTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheFFZEmote">_cacheFFZEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheSevenTVEmote">_cacheSevenTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheTwitchEmote">_cacheTwitchEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawBTTVEmotes">_getRawBTTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawFFZEmotes">_getRawFFZEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawSevenTVEmotes">_getRawSevenTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawTwitchEmotes">_getRawTwitchEmotes</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#fetchTwitchEmotes">fetchTwitchEmotes</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#toString">toString</a></li></ul></li><li><a href="SevenTV.html">SevenTV</a><ul class='methods'><li data-type='method'><a href="SevenTV.html#toLink">toLink</a></li><li data-type='method'><a href="SevenTV.html#toString">toString</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#toString">toString</a></li></ul></li></ul>
31
+ </nav>
32
+
33
+ <div id="main">
34
+
35
+ <h1 class="page-title">SevenTV</h1>
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+ <section>
44
+
45
+ <header>
46
+
47
+ <h2>
48
+ SevenTV
49
+ </h2>
50
+
51
+
52
+ </header>
53
+
54
+ <article>
55
+
56
+ <div class="container-overview">
57
+
58
+
59
+
60
+
61
+
62
+ <h4 class="name" id="SevenTV"><span class="type-signature"></span>new SevenTV<span class="signature">(channel, id, data)</span><span class="type-signature"></span></h4>
63
+
64
+
65
+
66
+
67
+
68
+
69
+ <dl class="details">
70
+
71
+
72
+ <dt class="tag-source">Source:</dt>
73
+ <dd class="tag-source"><ul class="dummy"><li>
74
+ <a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line5">line 5</a>
75
+ </li></ul></dd>
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ </dl>
108
+
109
+
110
+
111
+
112
+
113
+ <div class="description usertext">
114
+ <p>A 7TV emote.</p>
115
+ </div>
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+ <h5>Parameters:</h5>
128
+
129
+
130
+ <table class="params">
131
+ <thead>
132
+ <tr>
133
+
134
+ <th>Name</th>
135
+
136
+
137
+ <th>Type</th>
138
+
139
+
140
+
141
+
142
+
143
+ <th class="last">Description</th>
144
+ </tr>
145
+ </thead>
146
+
147
+ <tbody>
148
+
149
+
150
+ <tr>
151
+
152
+ <td class="name"><code>channel</code></td>
153
+
154
+
155
+ <td class="type">
156
+
157
+
158
+ <span class="param-type"><a href="Channel.html">Channel</a></span>
159
+
160
+
161
+
162
+ </td>
163
+
164
+
165
+
166
+
167
+
168
+ <td class="description last"><p>Channel this emote belongs to.</p></td>
169
+ </tr>
170
+
171
+
172
+
173
+ <tr>
174
+
175
+ <td class="name"><code>id</code></td>
176
+
177
+
178
+ <td class="type">
179
+
180
+
181
+ <span class="param-type">string</span>
182
+
183
+
184
+
185
+ </td>
186
+
187
+
188
+
189
+
190
+
191
+ <td class="description last"><p>ID of the emote.</p></td>
192
+ </tr>
193
+
194
+
195
+
196
+ <tr>
197
+
198
+ <td class="name"><code>data</code></td>
199
+
200
+
201
+ <td class="type">
202
+
203
+
204
+ <span class="param-type">data</span>
205
+
206
+
207
+
208
+ </td>
209
+
210
+
211
+
212
+
213
+
214
+ <td class="description last"><p>The raw emote data.</p></td>
215
+ </tr>
216
+
217
+
218
+ </tbody>
219
+ </table>
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+ </div>
241
+
242
+
243
+
244
+ <h3 class="subsection-title">Extends</h3>
245
+
246
+
247
+
248
+
249
+ <ul>
250
+ <li><a href="Emote.html">Emote</a></li>
251
+ </ul>
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+ <h3 class="subsection-title">Members</h3>
268
+
269
+
270
+
271
+ <h4 class="name" id="channel"><span class="type-signature"></span>channel<span class="type-signature"> :<a href="Channel.html">Channel</a></span></h4>
272
+
273
+
274
+
275
+
276
+
277
+ <dl class="details">
278
+
279
+
280
+ <dt class="tag-source">Source:</dt>
281
+ <dd class="tag-source"><ul class="dummy"><li>
282
+ <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line26">line 26</a>
283
+ </li></ul></dd>
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+ <dt class="tag-overrides">Overrides:</dt>
294
+ <dd class="tag-overrides"><ul class="dummy"><li>
295
+ <a href="Emote.html#channel">Emote#channel</a>
296
+ </li></ul></dd>
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+ </dl>
321
+
322
+
323
+
324
+
325
+
326
+ <div class="description usertext">
327
+ <p>The channel this emote belongs to.<br>
328
+ Only accurate and constant on Twitch emotes.<br>
329
+ For other types of emotes, use the <code>owner</code> or <code>ownerName</code> property.</p>
330
+ </div>
331
+
332
+
333
+
334
+ <h5>Type:</h5>
335
+ <ul>
336
+ <li>
337
+
338
+ <span class="param-type"><a href="Channel.html">Channel</a></span>
339
+
340
+
341
+ </li>
342
+ </ul>
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+ <h4 class="name" id="code"><span class="type-signature"></span>code<span class="type-signature"> :string</span></h4>
352
+
353
+
354
+
355
+
356
+
357
+ <dl class="details">
358
+
359
+
360
+ <dt class="tag-source">Source:</dt>
361
+ <dd class="tag-source"><ul class="dummy"><li>
362
+ <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line48">line 48</a>
363
+ </li></ul></dd>
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+ <dt class="tag-overrides">Overrides:</dt>
374
+ <dd class="tag-overrides"><ul class="dummy"><li>
375
+ <a href="Emote.html#code">Emote#code</a>
376
+ </li></ul></dd>
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+ </dl>
401
+
402
+
403
+
404
+
405
+
406
+ <div class="description usertext">
407
+ <p>The code or name of the emote.</p>
408
+ </div>
409
+
410
+
411
+
412
+ <h5>Type:</h5>
413
+ <ul>
414
+ <li>
415
+
416
+ <span class="param-type">string</span>
417
+
418
+
419
+ </li>
420
+ </ul>
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+ <h4 class="name" id="fetcher"><span class="type-signature"></span>fetcher<span class="type-signature"> :<a href="EmoteFetcher.html">EmoteFetcher</a></span></h4>
430
+
431
+
432
+
433
+
434
+
435
+ <dl class="details">
436
+
437
+
438
+ <dt class="tag-source">Source:</dt>
439
+ <dd class="tag-source"><ul class="dummy"><li>
440
+ <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line18">line 18</a>
441
+ </li></ul></dd>
442
+
443
+
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+ <dt class="tag-overrides">Overrides:</dt>
452
+ <dd class="tag-overrides"><ul class="dummy"><li>
453
+ <a href="Emote.html#fetcher">Emote#fetcher</a>
454
+ </li></ul></dd>
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+ </dl>
479
+
480
+
481
+
482
+
483
+
484
+ <div class="description usertext">
485
+ <p>The emote fetcher.</p>
486
+ </div>
487
+
488
+
489
+
490
+ <h5>Type:</h5>
491
+ <ul>
492
+ <li>
493
+
494
+ <span class="param-type"><a href="EmoteFetcher.html">EmoteFetcher</a></span>
495
+
496
+
497
+ </li>
498
+ </ul>
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+ <h4 class="name" id="id"><span class="type-signature"></span>id<span class="type-signature"> :string</span></h4>
508
+
509
+
510
+
511
+
512
+
513
+ <dl class="details">
514
+
515
+
516
+ <dt class="tag-source">Source:</dt>
517
+ <dd class="tag-source"><ul class="dummy"><li>
518
+ <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line32">line 32</a>
519
+ </li></ul></dd>
520
+
521
+
522
+
523
+
524
+
525
+
526
+
527
+
528
+
529
+ <dt class="tag-overrides">Overrides:</dt>
530
+ <dd class="tag-overrides"><ul class="dummy"><li>
531
+ <a href="Emote.html#id">Emote#id</a>
532
+ </li></ul></dd>
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+
556
+ </dl>
557
+
558
+
559
+
560
+
561
+
562
+ <div class="description usertext">
563
+ <p>The ID of this emote.</p>
564
+ </div>
565
+
566
+
567
+
568
+ <h5>Type:</h5>
569
+ <ul>
570
+ <li>
571
+
572
+ <span class="param-type">string</span>
573
+
574
+
575
+ </li>
576
+ </ul>
577
+
578
+
579
+
580
+
581
+
582
+
583
+
584
+
585
+ <h4 class="name" id="owner"><span class="type-signature">(readonly, nullable) </span>owner<span class="type-signature"> :<a href="Channel.html">Channel</a></span></h4>
586
+
587
+
588
+
589
+
590
+
591
+ <dl class="details">
592
+
593
+
594
+ <dt class="tag-source">Source:</dt>
595
+ <dd class="tag-source"><ul class="dummy"><li>
596
+ <a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line23">line 23</a>
597
+ </li></ul></dd>
598
+
599
+
600
+
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+ </dl>
630
+
631
+
632
+
633
+
634
+
635
+ <div class="description usertext">
636
+ <p>The channel of this emote's creator.<br>
637
+ Not guaranteed to contain the emote, or be cached.</p>
638
+ </div>
639
+
640
+
641
+
642
+ <h5>Type:</h5>
643
+ <ul>
644
+ <li>
645
+
646
+ <span class="param-type"><a href="Channel.html">Channel</a></span>
647
+
648
+
649
+ </li>
650
+ </ul>
651
+
652
+
653
+
654
+
655
+
656
+
657
+
658
+
659
+ <h4 class="name" id="ownerName"><span class="type-signature"></span>ownerName<span class="type-signature"> :string</span></h4>
660
+
661
+
662
+
663
+
664
+
665
+ <dl class="details">
666
+
667
+
668
+ <dt class="tag-source">Source:</dt>
669
+ <dd class="tag-source"><ul class="dummy"><li>
670
+ <a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line35">line 35</a>
671
+ </li></ul></dd>
672
+
673
+
674
+
675
+
676
+
677
+
678
+
679
+
680
+
681
+
682
+
683
+
684
+
685
+
686
+
687
+
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+
698
+
699
+
700
+
701
+
702
+
703
+ </dl>
704
+
705
+
706
+
707
+
708
+
709
+ <div class="description usertext">
710
+ <p>The name of the emote creator's channel.</p>
711
+ </div>
712
+
713
+
714
+
715
+ <h5>Type:</h5>
716
+ <ul>
717
+ <li>
718
+
719
+ <span class="param-type">string</span>
720
+
721
+
722
+ </li>
723
+ </ul>
724
+
725
+
726
+
727
+
728
+
729
+
730
+
731
+
732
+ <h4 class="name" id="sizes"><span class="type-signature"></span>sizes<span class="type-signature"> :Array.&lt;string></span></h4>
733
+
734
+
735
+
736
+
737
+
738
+ <dl class="details">
739
+
740
+
741
+ <dt class="tag-source">Source:</dt>
742
+ <dd class="tag-source"><ul class="dummy"><li>
743
+ <a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line41">line 41</a>
744
+ </li></ul></dd>
745
+
746
+
747
+
748
+
749
+
750
+
751
+
752
+
753
+
754
+
755
+
756
+
757
+
758
+
759
+
760
+
761
+
762
+
763
+
764
+
765
+
766
+
767
+
768
+
769
+
770
+
771
+
772
+
773
+
774
+
775
+
776
+ </dl>
777
+
778
+
779
+
780
+
781
+
782
+ <div class="description usertext">
783
+ <p>Available image sizes.</p>
784
+ </div>
785
+
786
+
787
+
788
+ <h5>Type:</h5>
789
+ <ul>
790
+ <li>
791
+
792
+ <span class="param-type">Array.&lt;string></span>
793
+
794
+
795
+ </li>
796
+ </ul>
797
+
798
+
799
+
800
+
801
+
802
+
803
+
804
+
805
+ <h4 class="name" id="type"><span class="type-signature"></span>type<span class="type-signature"> :string</span></h4>
806
+
807
+
808
+
809
+
810
+
811
+ <dl class="details">
812
+
813
+
814
+ <dt class="tag-source">Source:</dt>
815
+ <dd class="tag-source"><ul class="dummy"><li>
816
+ <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line39">line 39</a>
817
+ </li></ul></dd>
818
+
819
+
820
+
821
+
822
+
823
+
824
+
825
+
826
+
827
+ <dt class="tag-overrides">Overrides:</dt>
828
+ <dd class="tag-overrides"><ul class="dummy"><li>
829
+ <a href="Emote.html#type">Emote#type</a>
830
+ </li></ul></dd>
831
+
832
+
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+
842
+
843
+
844
+
845
+
846
+
847
+
848
+
849
+
850
+
851
+
852
+
853
+
854
+ </dl>
855
+
856
+
857
+
858
+
859
+
860
+ <div class="description usertext">
861
+ <p>The type of this emote.<br>
862
+ Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p>
863
+ </div>
864
+
865
+
866
+
867
+ <h5>Type:</h5>
868
+ <ul>
869
+ <li>
870
+
871
+ <span class="param-type">string</span>
872
+
873
+
874
+ </li>
875
+ </ul>
876
+
877
+
878
+
879
+
880
+
881
+
882
+
883
+
884
+
885
+
886
+ <h3 class="subsection-title">Methods</h3>
887
+
888
+
889
+
890
+
891
+
892
+
893
+ <h4 class="name" id="toLink"><span class="type-signature"></span>toLink<span class="signature">(size)</span><span class="type-signature"> &rarr; {string}</span></h4>
894
+
895
+
896
+
897
+
898
+
899
+
900
+ <dl class="details">
901
+
902
+
903
+ <dt class="tag-source">Source:</dt>
904
+ <dd class="tag-source"><ul class="dummy"><li>
905
+ <a href="struct_SevenTVEmote.js.html">struct/SevenTVEmote.js</a>, <a href="struct_SevenTVEmote.js.html#line59">line 59</a>
906
+ </li></ul></dd>
907
+
908
+
909
+
910
+
911
+
912
+
913
+
914
+
915
+
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+
930
+
931
+
932
+
933
+
934
+
935
+
936
+
937
+
938
+ </dl>
939
+
940
+
941
+
942
+
943
+
944
+ <div class="description usertext">
945
+ <p>Gets the image link of the emote.</p>
946
+ </div>
947
+
948
+
949
+
950
+
951
+
952
+
953
+
954
+
955
+
956
+
957
+
958
+ <h5>Parameters:</h5>
959
+
960
+
961
+ <table class="params">
962
+ <thead>
963
+ <tr>
964
+
965
+ <th>Name</th>
966
+
967
+
968
+ <th>Type</th>
969
+
970
+
971
+
972
+
973
+ <th>Default</th>
974
+
975
+
976
+ <th class="last">Description</th>
977
+ </tr>
978
+ </thead>
979
+
980
+ <tbody>
981
+
982
+
983
+ <tr>
984
+
985
+ <td class="name"><code>size</code></td>
986
+
987
+
988
+ <td class="type">
989
+
990
+
991
+ <span class="param-type">number</span>
992
+
993
+
994
+
995
+ </td>
996
+
997
+
998
+
999
+
1000
+ <td class="default">
1001
+
1002
+ <code>0</code>
1003
+
1004
+ </td>
1005
+
1006
+
1007
+ <td class="description last"><p>The size of the image.</p></td>
1008
+ </tr>
1009
+
1010
+
1011
+ </tbody>
1012
+ </table>
1013
+
1014
+
1015
+
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+ <h5>Returns:</h5>
1030
+
1031
+
1032
+
1033
+
1034
+ <dl class="param-type">
1035
+ <dt>
1036
+ Type
1037
+ </dt>
1038
+ <dd>
1039
+
1040
+ <span class="param-type">string</span>
1041
+
1042
+
1043
+ </dd>
1044
+ </dl>
1045
+
1046
+
1047
+
1048
+
1049
+
1050
+
1051
+
1052
+
1053
+
1054
+
1055
+ <h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span></h4>
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+
1062
+ <dl class="details">
1063
+
1064
+
1065
+ <dt class="tag-source">Source:</dt>
1066
+ <dd class="tag-source"><ul class="dummy"><li>
1067
+ <a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line60">line 60</a>
1068
+ </li></ul></dd>
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+
1078
+ <dt class="tag-overrides">Overrides:</dt>
1079
+ <dd class="tag-overrides"><ul class="dummy"><li>
1080
+ <a href="Emote.html#toString">Emote#toString</a>
1081
+ </li></ul></dd>
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+
1102
+
1103
+
1104
+
1105
+ </dl>
1106
+
1107
+
1108
+
1109
+
1110
+
1111
+ <div class="description usertext">
1112
+ <p>Override for <code>toString</code>.<br>
1113
+ Will give the emote's name.</p>
1114
+ </div>
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+
1122
+
1123
+
1124
+
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+
1140
+ <h5>Returns:</h5>
1141
+
1142
+
1143
+
1144
+
1145
+ <dl class="param-type">
1146
+ <dt>
1147
+ Type
1148
+ </dt>
1149
+ <dd>
1150
+
1151
+ <span class="param-type">string</span>
1152
+
1153
+
1154
+ </dd>
1155
+ </dl>
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+ </article>
1168
+
1169
+ </section>
1170
+
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+ </div>
1177
+
1178
+ <br class="clear">
1179
+
1180
+ <footer>
1181
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1182
+ </footer>
1183
+
1184
+ <script>prettyPrint();</script>
1185
+ <script src="scripts/polyfill.js"></script>
1186
+ <script src="scripts/linenumber.js"></script>
1187
+
1188
+
1189
+
1190
+ </body>
1191
1191
  </html>