@bartificer/linkify 2.3.4 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/index.js +1 -1
  2. package/docs/LinkData.class.mjs.html +93 -5
  3. package/docs/LinkTemplate.class.mjs.html +93 -5
  4. package/docs/Linkifier.class.mjs.html +99 -11
  5. package/docs/PageData.class.mjs.html +93 -5
  6. package/docs/defaults.mjs.html +121 -12
  7. package/docs/docdash-overrides.css +5 -0
  8. package/docs/externals.jsdoc.html +91 -4
  9. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  10. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  11. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  12. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  13. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  14. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  15. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  16. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  17. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  18. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +978 -0
  19. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  20. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  21. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  22. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  23. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +1049 -0
  24. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  25. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  26. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  27. package/docs/index.html +930 -7
  28. package/docs/index.js.html +139 -17
  29. package/docs/module-cheerio.html +189 -3
  30. package/docs/module-defaults.html +585 -3
  31. package/docs/module-link-data.LinkData.html +944 -0
  32. package/docs/module-link-data.html +222 -0
  33. package/docs/module-link-template.LinkTemplate.html +817 -0
  34. package/docs/module-link-template.html +222 -0
  35. package/docs/module-linkifier.Linkifier.html +2323 -0
  36. package/docs/module-linkifier.html +232 -0
  37. package/docs/module-linkify.html +806 -3
  38. package/docs/module-mustache.html +189 -3
  39. package/docs/module-node-fetch.html +189 -3
  40. package/docs/module-page-data.PageData.html +1788 -0
  41. package/docs/module-page-data.html +222 -0
  42. package/docs/module-title-case.html +189 -3
  43. package/docs/module-urijs.html +189 -3
  44. package/docs/module-url-slug.html +189 -3
  45. package/docs/module-utilities.html +1468 -3
  46. package/docs/scripts/collapse.js +39 -0
  47. package/docs/scripts/commonNav.js +28 -0
  48. package/docs/scripts/linenumber.js +25 -0
  49. package/docs/scripts/nav.js +12 -0
  50. package/docs/scripts/polyfill.js +4 -0
  51. package/docs/scripts/{third-party → prettify}/Apache-License-2.0.txt +202 -202
  52. package/docs/scripts/prettify/lang-css.js +2 -0
  53. package/docs/scripts/prettify/prettify.js +28 -0
  54. package/docs/scripts/search.js +99 -265
  55. package/docs/styles/jsdoc.css +776 -0
  56. package/docs/styles/prettify.css +80 -0
  57. package/docs/utilities.mjs.html +124 -5
  58. package/examples/clipboardURLToMarkdown.mjs +130 -29
  59. package/package.json +3 -2
  60. package/src/LinkData.class.mjs +2 -1
  61. package/src/LinkTemplate.class.mjs +2 -1
  62. package/src/Linkifier.class.mjs +8 -7
  63. package/src/PageData.class.mjs +2 -1
  64. package/src/defaults.mjs +31 -8
  65. package/src/index.js +48 -13
  66. package/src/utilities.mjs +33 -1
  67. package/docs/data/search.json +0 -1
  68. package/docs/fonts/Inconsolata-Regular.ttf +0 -0
  69. package/docs/fonts/OpenSans-Regular.ttf +0 -0
  70. package/docs/fonts/WorkSans-Bold.ttf +0 -0
  71. package/docs/module-LinkData.LinkData.html +0 -13
  72. package/docs/module-LinkData.html +0 -3
  73. package/docs/module-LinkTemplate.LinkTemplate.html +0 -3
  74. package/docs/module-LinkTemplate.html +0 -3
  75. package/docs/module-Linkifier.Linkifier.html +0 -3
  76. package/docs/module-Linkifier.html +0 -3
  77. package/docs/module-PageData.PageData.html +0 -15
  78. package/docs/module-PageData.html +0 -3
  79. package/docs/scripts/core.js +0 -726
  80. package/docs/scripts/core.min.js +0 -23
  81. package/docs/scripts/resize.js +0 -90
  82. package/docs/scripts/search.min.js +0 -6
  83. package/docs/scripts/third-party/fuse.js +0 -9
  84. package/docs/scripts/third-party/hljs-line-num-original.js +0 -369
  85. package/docs/scripts/third-party/hljs-line-num.js +0 -1
  86. package/docs/scripts/third-party/hljs-original.js +0 -5171
  87. package/docs/scripts/third-party/hljs.js +0 -1
  88. package/docs/scripts/third-party/popper.js +0 -5
  89. package/docs/scripts/third-party/tippy.js +0 -1
  90. package/docs/scripts/third-party/tocbot.js +0 -672
  91. package/docs/scripts/third-party/tocbot.min.js +0 -1
  92. package/docs/styles/clean-jsdoc-theme-base.css +0 -1159
  93. package/docs/styles/clean-jsdoc-theme-dark.css +0 -412
  94. package/docs/styles/clean-jsdoc-theme-light.css +0 -482
  95. package/docs/styles/clean-jsdoc-theme-scrollbar.css +0 -30
  96. package/docs/styles/clean-jsdoc-theme-without-scrollbar.min.css +0 -1
  97. package/docs/styles/clean-jsdoc-theme.min.css +0 -1
@@ -0,0 +1,817 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>LinkTemplate - @bartificer/linkify Documentation</title>
7
+
8
+ <meta name="description" content="Documentation for the @bartificer/linkify package" />
9
+
10
+ <meta name="keywords" content="documentation, linkify, link, template, javascript, generator, npm, module, package" />
11
+ <meta name="keyword" content="documentation, linkify, link, template, javascript, generator, npm, module, package" />
12
+
13
+
14
+
15
+ <meta property="og:title" content="@bartificer/linkify"/>
16
+ <meta property="og:type" content="website"/>
17
+ <meta property="og:image" content=""/>
18
+ <meta property="og:site_name" content="@bartificer/linkify Documentation"/>
19
+ <meta property="og:url" content="https://bartificer.github.io/linkify/"/>
20
+
21
+ <script src="scripts/prettify/prettify.js"></script>
22
+ <script src="scripts/prettify/lang-css.js"></script>
23
+ <!--[if lt IE 9]>
24
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
25
+ <![endif]-->
26
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
27
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
28
+ <script src="scripts/nav.js" defer></script>
29
+
30
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
31
+ </head>
32
+ <body>
33
+
34
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
35
+ <label for="nav-trigger" class="navicon-button x">
36
+ <div class="navicon"></div>
37
+ </label>
38
+
39
+ <label for="nav-trigger" class="overlay"></label>
40
+
41
+ <nav class="wrap">
42
+
43
+ <input type="text" id="nav-search" placeholder="Search" />
44
+
45
+
46
+ <h2><a href="index.html">Home</a></h2><h2><a href="https://github.com/bartificer/linkify" target="_blank" >On GitHub</a></h2><h2><a href="https://bartificer.net/" target="_blank" >Bartificer Creations</a></h2><h3>Modules</h3><ul><li><a href="module-defaults.html">defaults</a><ul class='members'><li data-type='member'><a href="module-defaults.html#.linkTemplates">linkTemplates</a></li><li data-type='member'><a href="module-defaults.html#.smallWords">smallWords</a></li><li data-type='member'><a href="module-defaults.html#.speciallyCapitalisedWords">speciallyCapitalisedWords</a></li></ul></li><li><a href="module-link-data.html">link-data</a></li><li><a href="module-link-template.html">link-template</a></li><li><a href="module-linkifier.html">linkifier</a></li><li><a href="module-linkify.html">linkify</a><ul class='members'><li data-type='member'><a href="module-linkify.html#.LinkData">LinkData</a></li><li data-type='member'><a href="module-linkify.html#.LinkTemplate">LinkTemplate</a></li><li data-type='member'><a href="module-linkify.html#.Linkifier">Linkifier</a></li><li data-type='member'><a href="module-linkify.html#.PageData">PageData</a></li><li data-type='member'><a href="module-linkify.html#.VERSION">VERSION</a></li><li data-type='member'><a href="module-linkify.html#.default">default</a></li><li data-type='member'><a href="module-linkify.html#.linkify">linkify</a></li></ul></li><li><a href="module-page-data.html">page-data</a></li><li><a href="module-utilities.html">utilities</a><ul class='methods'><li data-type='method'><a href="module-utilities.html#.batchFixCustomWordCases">batchFixCustomWordCases</a></li><li data-type='method'><a href="module-utilities.html#.escapeRegex">escapeRegex</a></li><li data-type='method'><a href="module-utilities.html#.extractSlug">extractSlug</a></li><li data-type='method'><a href="module-utilities.html#.regulariseWhitespace">regulariseWhitespace</a></li><li data-type='method'><a href="module-utilities.html#.stripQueryString">stripQueryString</a></li><li data-type='method'><a href="module-utilities.html#.stripUTMParameters">stripUTMParameters</a></li><li data-type='method'><a href="module-utilities.html#.toTitleCase">toTitleCase</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="module-link-data.LinkData.html">LinkData</a><ul class='methods'><li data-type='method'><a href="module-link-data.LinkData.html#asPlainObject">asPlainObject</a></li></ul></li><li><a href="module-link-template.LinkTemplate.html">LinkTemplate</a><ul class='methods'><li data-type='method'><a href="module-link-template.LinkTemplate.html#addFilter">addFilter</a></li><li data-type='method'><a href="module-link-template.LinkTemplate.html#filtersFor">filtersFor</a></li></ul></li><li><a href="module-linkifier.Linkifier.html">Linkifier</a><ul class='methods'><li data-type='method'><a href="module-linkifier.Linkifier.html#fetchPageData">fetchPageData</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#generateLink">generateLink</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#getTemplate">getTemplate</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#getTemplateNameForDomain">getTemplateNameForDomain</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#getTransformerForDomain">getTransformerForDomain</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#registerDefaultTemplateMapping">registerDefaultTemplateMapping</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#registerTemplate">registerTemplate</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#registerTransformer">registerTransformer</a></li></ul></li><li><a href="module-page-data.PageData.html">PageData</a><ul class='methods'><li data-type='method'><a href="module-page-data.PageData.html#addSecondaryHeading">addSecondaryHeading</a></li><li data-type='method'><a href="module-page-data.PageData.html#addTopLevelHeading">addTopLevelHeading</a></li><li data-type='method'><a href="module-page-data.PageData.html#asPlainObject">asPlainObject</a></li><li data-type='method'><a href="module-page-data.PageData.html#h1">h1</a></li><li data-type='method'><a href="module-page-data.PageData.html#h2">h2</a></li></ul></li></ul><h3>Externals</h3><ul><li><a href="module-cheerio.html">cheerio</a></li><li><a href="module-mustache.html">mustache</a></li><li><a href="module-node-fetch.html">node-fetch</a></li><li><a href="module-title-case.html">title-case</a></li><li><a href="module-urijs.html">urijs</a></li><li><a href="module-url-slug.html">url-slug</a></li></ul>
47
+
48
+ </nav>
49
+
50
+ <div id="main">
51
+
52
+ <h1 class="page-title">LinkTemplate</h1>
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+ <section>
61
+
62
+ <header>
63
+
64
+ <h2>
65
+ <span class="ancestors"><a href="module-link-template.html">link-template</a>.</span>
66
+
67
+
68
+ LinkTemplate
69
+
70
+ </h2>
71
+
72
+ <div class="class-description usertext"><p>A class representing the a template that can be used to render links.</p></div>
73
+
74
+
75
+ </header>
76
+
77
+ <article>
78
+
79
+ <div class="container-overview">
80
+
81
+
82
+
83
+
84
+ <h2>Constructor</h2>
85
+
86
+
87
+ <h4 class="name" id="LinkTemplate"><span class="type-signature"></span>new LinkTemplate<span class="signature">(templateString, filters<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
88
+
89
+
90
+
91
+
92
+
93
+
94
+ <dl class="details">
95
+
96
+
97
+
98
+ <dt class="tag-source">Source:</dt>
99
+ <dd class="tag-source"><ul class="dummy"><li>
100
+ <a href="LinkTemplate.class.mjs.html">LinkTemplate.class.mjs</a>, <a href="LinkTemplate.class.mjs.html#line16">line 16</a>
101
+ </li></ul></dd>
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+ </dl>
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+ <h5 class="h5-parameters">Parameters:</h5>
148
+
149
+
150
+ <table class="params">
151
+ <thead>
152
+ <tr>
153
+
154
+ <th>Name</th>
155
+
156
+
157
+ <th>Type</th>
158
+
159
+
160
+ <th>Attributes</th>
161
+
162
+
163
+
164
+ <th>Default</th>
165
+
166
+
167
+ <th class="last">Description</th>
168
+ </tr>
169
+ </thead>
170
+
171
+ <tbody>
172
+
173
+
174
+ <tr>
175
+
176
+ <td class="name"><code>templateString</code></td>
177
+
178
+
179
+ <td class="type">
180
+
181
+
182
+ <span class="param-type">string</span>
183
+
184
+
185
+
186
+
187
+ </td>
188
+
189
+
190
+ <td class="attributes">
191
+
192
+
193
+
194
+
195
+
196
+ </td>
197
+
198
+
199
+
200
+ <td class="default">
201
+
202
+ </td>
203
+
204
+
205
+ <td class="description last"><p>A Moustache template string.</p></td>
206
+ </tr>
207
+
208
+
209
+
210
+ <tr>
211
+
212
+ <td class="name"><code>filters</code></td>
213
+
214
+
215
+ <td class="type">
216
+
217
+
218
+ <span class="param-type">Array</span>
219
+
220
+
221
+
222
+
223
+ </td>
224
+
225
+
226
+ <td class="attributes">
227
+
228
+ &lt;optional><br>
229
+
230
+
231
+
232
+
233
+
234
+ </td>
235
+
236
+
237
+
238
+ <td class="default">
239
+
240
+ <code>[]</code>
241
+
242
+ </td>
243
+
244
+
245
+ <td class="description last"><p>An optional array of filter functions.
246
+ Each element in the array should itself be an array where the first
247
+ element is a string specifying which fields the filter should be applied
248
+ to (one of <code>'all'</code>, <code>'url'</code>, <code>'text'</code>, or <code>'description'</code>), and the
249
+ second the filter function itself which should be a function that takes
250
+ a single string as an argument and returns a filtered version of that
251
+ string.</p></td>
252
+ </tr>
253
+
254
+
255
+ </tbody>
256
+ </table>
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+ </div>
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+ <h3 class="subsection-title">Members</h3>
294
+
295
+
296
+
297
+ <h4 class="name" id="templateString"><span class="type-signature"></span>templateString<span class="type-signature"></span></h4>
298
+
299
+
300
+
301
+
302
+
303
+ <dl class="details">
304
+
305
+ <dt class="tag-description">Description:</dt>
306
+ <dd class="tag-description"><ul class="dummy"><li><p>Get the template string.</p></li></ul></dd>
307
+
308
+
309
+
310
+ <dt class="tag-source">Source:</dt>
311
+ <dd class="tag-source"><ul class="dummy"><li>
312
+ <a href="LinkTemplate.class.mjs.html">LinkTemplate.class.mjs</a>, <a href="LinkTemplate.class.mjs.html#line70">line 70</a>
313
+ </li></ul></dd>
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+ </dl>
346
+
347
+
348
+
349
+
350
+
351
+ <div class="description usertext">
352
+ <p>Get the template string.</p>
353
+ </div>
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+ <h4 class="name" id="templateString"><span class="type-signature"></span>templateString<span class="type-signature"></span></h4>
365
+
366
+
367
+
368
+
369
+
370
+ <dl class="details">
371
+
372
+ <dt class="tag-description">Description:</dt>
373
+ <dd class="tag-description"><ul class="dummy"><li><p>Set the template string. Should be in Mustache format. All values passed
374
+ will be coerced to strings.</p></li></ul></dd>
375
+
376
+
377
+
378
+ <dt class="tag-source">Source:</dt>
379
+ <dd class="tag-source"><ul class="dummy"><li>
380
+ <a href="LinkTemplate.class.mjs.html">LinkTemplate.class.mjs</a>, <a href="LinkTemplate.class.mjs.html#line80">line 80</a>
381
+ </li></ul></dd>
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+ </dl>
414
+
415
+
416
+
417
+
418
+
419
+ <div class="description usertext">
420
+ <p>Set the template string. Should be in Mustache format. All values passed
421
+ will be coerced to strings.</p>
422
+ </div>
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+ <h3 class="subsection-title">Methods</h3>
436
+
437
+
438
+
439
+
440
+
441
+
442
+ <h4 class="name" id="addFilter"><span class="type-signature"></span>addFilter<span class="signature">(fieldName, filterFn)</span><span class="type-signature"> &rarr; {LinkTemplate}</span></h4>
443
+
444
+
445
+
446
+
447
+
448
+
449
+ <dl class="details">
450
+
451
+ <dt class="tag-description">Description:</dt>
452
+ <dd class="tag-description"><ul class="dummy"><li><p>Add a filter to be applied to one or all fields.</p>
453
+ <p>If an invalid args are passed, the function does not save the filter or
454
+ throw an error, but it does log a warning.</p></li></ul></dd>
455
+
456
+
457
+
458
+ <dt class="tag-source">Source:</dt>
459
+ <dd class="tag-source"><ul class="dummy"><li>
460
+ <a href="LinkTemplate.class.mjs.html">LinkTemplate.class.mjs</a>, <a href="LinkTemplate.class.mjs.html#line95">line 95</a>
461
+ </li></ul></dd>
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+
486
+
487
+
488
+
489
+
490
+
491
+
492
+
493
+ </dl>
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+ <h5 class="h5-parameters">Parameters:</h5>
508
+
509
+
510
+ <table class="params">
511
+ <thead>
512
+ <tr>
513
+
514
+ <th>Name</th>
515
+
516
+
517
+ <th>Type</th>
518
+
519
+
520
+
521
+
522
+
523
+ <th class="last">Description</th>
524
+ </tr>
525
+ </thead>
526
+
527
+ <tbody>
528
+
529
+
530
+ <tr>
531
+
532
+ <td class="name"><code>fieldName</code></td>
533
+
534
+
535
+ <td class="type">
536
+
537
+
538
+ <span class="param-type">string</span>
539
+
540
+
541
+
542
+
543
+ </td>
544
+
545
+
546
+
547
+
548
+
549
+ <td class="description last"><p>One of <code>'all'</code>, <code>'url'</code>, <code>'text'</code>, or
550
+ <code>'description'</code>.</p></td>
551
+ </tr>
552
+
553
+
554
+
555
+ <tr>
556
+
557
+ <td class="name"><code>filterFn</code></td>
558
+
559
+
560
+ <td class="type">
561
+
562
+
563
+ <span class="param-type">function</span>
564
+
565
+
566
+
567
+
568
+ </td>
569
+
570
+
571
+
572
+
573
+
574
+ <td class="description last"><p>the filter function.</p></td>
575
+ </tr>
576
+
577
+
578
+ </tbody>
579
+ </table>
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+
591
+
592
+
593
+
594
+
595
+
596
+ <h5 class="h5-returns">Returns:</h5>
597
+
598
+
599
+ <div class="param-desc">
600
+ <p>Returns a reference to self to facilitate function chaining.</p>
601
+ </div>
602
+
603
+
604
+
605
+ <dl class="param-type">
606
+ <dt>
607
+ Type
608
+ </dt>
609
+ <dd>
610
+
611
+ <span class="param-type">LinkTemplate</span>
612
+
613
+
614
+
615
+ </dd>
616
+ </dl>
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+ <h4 class="name" id="filtersFor"><span class="type-signature"></span>filtersFor<span class="signature">(fieldName)</span><span class="type-signature"> &rarr; {Array.&lt;function()>}</span></h4>
628
+
629
+
630
+
631
+
632
+
633
+
634
+ <dl class="details">
635
+
636
+ <dt class="tag-description">Description:</dt>
637
+ <dd class="tag-description"><ul class="dummy"><li><p>A function get the filter functions that should be applied to any given
638
+ field.</p></li></ul></dd>
639
+
640
+
641
+
642
+ <dt class="tag-source">Source:</dt>
643
+ <dd class="tag-source"><ul class="dummy"><li>
644
+ <a href="LinkTemplate.class.mjs.html">LinkTemplate.class.mjs</a>, <a href="LinkTemplate.class.mjs.html#line124">line 124</a>
645
+ </li></ul></dd>
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+
654
+
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+
674
+
675
+
676
+
677
+ </dl>
678
+
679
+
680
+
681
+
682
+
683
+
684
+
685
+
686
+
687
+
688
+
689
+
690
+
691
+ <h5 class="h5-parameters">Parameters:</h5>
692
+
693
+
694
+ <table class="params">
695
+ <thead>
696
+ <tr>
697
+
698
+ <th>Name</th>
699
+
700
+
701
+ <th>Type</th>
702
+
703
+
704
+
705
+
706
+
707
+ <th class="last">Description</th>
708
+ </tr>
709
+ </thead>
710
+
711
+ <tbody>
712
+
713
+
714
+ <tr>
715
+
716
+ <td class="name"><code>fieldName</code></td>
717
+
718
+
719
+ <td class="type">
720
+
721
+
722
+ <span class="param-type">string</span>
723
+
724
+
725
+
726
+
727
+ </td>
728
+
729
+
730
+
731
+
732
+
733
+ <td class="description last"><p>one of <code>'url'</code>, <code>'text'</code>, or
734
+ <code>'description'</code>.</p></td>
735
+ </tr>
736
+
737
+
738
+ </tbody>
739
+ </table>
740
+
741
+
742
+
743
+
744
+
745
+
746
+
747
+
748
+
749
+
750
+
751
+
752
+
753
+
754
+
755
+
756
+ <h5 class="h5-returns">Returns:</h5>
757
+
758
+
759
+ <div class="param-desc">
760
+ <p>returns an array of callbacks, which may be
761
+ empty. An empty array is returned if an invalid field name is passed.</p>
762
+ </div>
763
+
764
+
765
+
766
+ <dl class="param-type">
767
+ <dt>
768
+ Type
769
+ </dt>
770
+ <dd>
771
+
772
+ <span class="param-type">Array.&lt;function()></span>
773
+
774
+
775
+
776
+ </dd>
777
+ </dl>
778
+
779
+
780
+
781
+
782
+
783
+
784
+
785
+
786
+
787
+
788
+
789
+ </article>
790
+
791
+ </section>
792
+
793
+
794
+
795
+
796
+
797
+
798
+ </div>
799
+
800
+ <br class="clear">
801
+
802
+ <footer>
803
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Mon Apr 13 2026 16:45:07 GMT+0100 (Irish Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
804
+ </footer>
805
+
806
+ <script>prettyPrint();</script>
807
+ <script src="scripts/polyfill.js"></script>
808
+ <script src="scripts/linenumber.js"></script>
809
+
810
+ <script src="scripts/search.js" defer></script>
811
+
812
+
813
+
814
+ <link type="text/css" rel="stylesheet" href="./docdash-overrides.css">
815
+
816
+ </body>
817
+ </html>