index.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DJS-Button-Pages</title><meta name="description" content="Documentation for DJS-Button-Pages"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script async src="assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
  2. <div class="tsd-toolbar-contents container">
  3. <div class="table-cell" id="tsd-search" data-base=".">
  4. <div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
  5. <ul class="results">
  6. <li class="state loading">Preparing search index...</li>
  7. <li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">DJS-Button-Pages</a></div>
  8. <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
  9. <div class="container container-main">
  10. <div class="col-8 col-content">
  11. <div class="tsd-page-title">
  12. <h2>DJS-Button-Pages</h2></div>
  13. <div class="tsd-panel tsd-typography"><div align = "center">
  14. <br />
  15. <p>
  16. <a href = "https://i-moony.github.io/djs-button-pages/"><img src = "https://user-images.githubusercontent.com/80977522/174433134-54e6e9f6-b618-4d94-8552-5b5ba3c22a88.png" alt = "logo" /></a>
  17. </p>
  18. <p>
  19. <a href = "https://www.npmjs.com/package/djs-button-pages"><img src = "https://img.shields.io/npm/v/djs-button-pages?color=FF4433&style=flat-square" alt = "npm-version" /></a>
  20. <a href = "https://www.npmjs.com/package/djs-button-pages"><img src = "https://img.shields.io/npm/dt/djs-button-pages?color=FF4433&style=flat-square" alt = "npm-downloads" /></a>
  21. <a href = "https://github.com/i-Moony/djs-button-pages"><img src = "https://img.shields.io/github/issues/i-Moony/djs-button-pages?color=FF4433&style=flat-square" alt = "github-issues" /></a>
  22. </p>
  23. </div>
  24. <a href="#📚-about-package" id="📚-about-package" style="color: inherit; text-decoration: none;">
  25. <h1>📚 About package:</h1>
  26. </a>
  27. <a href="#simple-yet-powerful-and-extensible-module-to-create-fully-customizable-embed-pages-with-buttons" id="simple-yet-powerful-and-extensible-module-to-create-fully-customizable-embed-pages-with-buttons" style="color: inherit; text-decoration: none;">
  28. <h3><strong>Simple yet powerful and extensible module to create fully-customizable embed pages with buttons.</strong></h3>
  29. </a>
  30. <p>▶️ Works with <a href="https://www.npmjs.com/package/discord.js">Discord.JS</a>. Supports v14. <em>Legacy versions support v13 and v14.</em></p>
  31. <p><strong>▶️ This packages supports creation of custom buttons with your own scripts through a simple API.</strong></p>
  32. <p>▶️ If you want some pre-built buttons consider using <a href="https://www.npmjs.com/package/@djs-button-pages/presets">@djs-button-pages/presets</a>. They contain basic ones. But you can contribute some of your own to this package if you want and they may be used in other projects.</p>
  33. <a href="#📥-installation" id="📥-installation" style="color: inherit; text-decoration: none;">
  34. <h1>📥 Installation:</h1>
  35. </a>
  36. <a href="#requires-node-169-because-of-discordjs" id="requires-node-169-because-of-discordjs" style="color: inherit; text-decoration: none;">
  37. <h3>Requires Node <strong>16.9</strong> <em>(because of Discord.JS)</em>.</h3>
  38. </a>
  39. <pre><code class="language-bash"><span class="hl-0">npm install djs-button-pages</span>
  40. </code></pre>
  41. <pre><code class="language-bash"><span class="hl-0">yarn add djs-button-pages</span>
  42. </code></pre>
  43. <pre><code class="language-bash"><span class="hl-0">pnpm install djs-button-pages</span>
  44. </code></pre>
  45. <a href="#there-are-several-other-branches" id="there-are-several-other-branches" style="color: inherit; text-decoration: none;">
  46. <h3>There are several other branches:</h3>
  47. </a>
  48. <ul>
  49. <li><strong>djs14-legacy</strong></li>
  50. <li><strong>djs13</strong></li>
  51. <li><strong>djs13-legacy</strong></li>
  52. </ul>
  53. <a href="#📃-examples" id="📃-examples" style="color: inherit; text-decoration: none;">
  54. <h1>📃 Examples:</h1>
  55. </a>
  56. <a href="#basic-example" id="basic-example" style="color: inherit; text-decoration: none;">
  57. <h2>Basic example:</h2>
  58. </a>
  59. <pre><code class="language-js"><span class="hl-1">//Imports.</span><br/><span class="hl-2">const</span><span class="hl-0"> { </span><span class="hl-3">Client</span><span class="hl-0">, </span><span class="hl-3">EmbedBuilder</span><span class="hl-0">, </span><span class="hl-3">ButtonStyle</span><span class="hl-0"> } = </span><span class="hl-4">require</span><span class="hl-0">(</span><span class="hl-5">&quot;discord.js&quot;</span><span class="hl-0">);</span><br/><span class="hl-2">const</span><span class="hl-0"> { </span><span class="hl-3">PaginationWrapper</span><span class="hl-0"> } = </span><span class="hl-4">require</span><span class="hl-0">(</span><span class="hl-5">&quot;djs-button-pages&quot;</span><span class="hl-0">);</span><br/><span class="hl-1">//Pre-made buttons.</span><br/><span class="hl-2">const</span><span class="hl-0"> { </span><span class="hl-3">NextPageButton</span><span class="hl-0">, </span><span class="hl-3">PreviousPageButton</span><span class="hl-0"> } = </span><span class="hl-4">require</span><span class="hl-0">(</span><span class="hl-5">&#39;@djs-button-pages/presets&#39;</span><span class="hl-0">);</span><br/><br/><span class="hl-1">//Array of embeds for pagination.</span><br/><span class="hl-2">const</span><span class="hl-0"> </span><span class="hl-3">embeds</span><span class="hl-0"> =</span><br/><span class="hl-0">[</span><br/><span class="hl-0"> </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-4">EmbedBuilder</span><span class="hl-0">().</span><span class="hl-4">setColor</span><span class="hl-0">(</span><span class="hl-5">&quot;Aqua&quot;</span><span class="hl-0">).</span><span class="hl-4">setTitle</span><span class="hl-0">(</span><span class="hl-5">&quot;Test!&quot;</span><span class="hl-0">).</span><span class="hl-4">setDescription</span><span class="hl-0">(</span><span class="hl-5">&quot;Whoosh! Your first page!&quot;</span><span class="hl-0">),</span><br/><span class="hl-0"> </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-4">EmbedBuilder</span><span class="hl-0">().</span><span class="hl-4">setColor</span><span class="hl-0">(</span><span class="hl-5">&quot;Blurple&quot;</span><span class="hl-0">).</span><span class="hl-4">setTitle</span><span class="hl-0">(</span><span class="hl-5">&quot;Test!&quot;</span><span class="hl-0">).</span><span class="hl-4">setDescription</span><span class="hl-0">(</span><span class="hl-5">&quot;Wow! It&#39;s a second one!&quot;</span><span class="hl-0">),</span><br/><span class="hl-0"> </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-4">EmbedBuilder</span><span class="hl-0">().</span><span class="hl-4">setColor</span><span class="hl-0">(</span><span class="hl-5">&quot;DarkAqua&quot;</span><span class="hl-0">).</span><span class="hl-4">setTitle</span><span class="hl-0">(</span><span class="hl-5">&quot;Test!&quot;</span><span class="hl-0">).</span><span class="hl-4">setDescription</span><span class="hl-0">(</span><span class="hl-5">&quot;Unbelivable! Third page is available to be bought for 20$!&quot;</span><span class="hl-0">),</span><br/><span class="hl-0"> </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-4">EmbedBuilder</span><span class="hl-0">().</span><span class="hl-4">setColor</span><span class="hl-0">(</span><span class="hl-5">&quot;DarkGold&quot;</span><span class="hl-0">).</span><span class="hl-4">setTitle</span><span class="hl-0">(</span><span class="hl-5">&quot;Test!&quot;</span><span class="hl-0">).</span><span class="hl-4">setDescription</span><span class="hl-0">(</span><span class="hl-5">&quot;Not possible! This is my fourth page!&quot;</span><span class="hl-0">),</span><br/><span class="hl-0"> </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-4">EmbedBuilder</span><span class="hl-0">().</span><span class="hl-4">setColor</span><span class="hl-0">(</span><span class="hl-5">&quot;Gold&quot;</span><span class="hl-0">).</span><span class="hl-4">setTitle</span><span class="hl-0">(</span><span class="hl-5">&quot;Test!&quot;</span><span class="hl-0">).</span><span class="hl-4">setDescription</span><span class="hl-0">(</span><span class="hl-5">&quot;Not probable! Special fifth page!&quot;</span><span class="hl-0">),</span><br/><span class="hl-0"> </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-4">EmbedBuilder</span><span class="hl-0">().</span><span class="hl-4">setColor</span><span class="hl-0">(</span><span class="hl-5">&quot;DarkButNotBlack&quot;</span><span class="hl-0">).</span><span class="hl-4">setTitle</span><span class="hl-0">(</span><span class="hl-5">&quot;Test!&quot;</span><span class="hl-0">).</span><span class="hl-4">setDescription</span><span class="hl-0">(</span><span class="hl-5">&quot;Wow! Another page...&quot;</span><span class="hl-0">),</span><br/><span class="hl-0"> </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-4">EmbedBuilder</span><span class="hl-0">().</span><span class="hl-4">setColor</span><span class="hl-0">(</span><span class="hl-5">&quot;White&quot;</span><span class="hl-0">).</span><span class="hl-4">setTitle</span><span class="hl-0">(</span><span class="hl-5">&quot;Test!&quot;</span><span class="hl-0">).</span><span class="hl-4">setDescription</span><span class="hl-0">(</span><span class="hl-5">&quot;Don&#39;t tell me that it is page number seven!&quot;</span><span class="hl-0">),</span><br/><span class="hl-0"> </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-4">EmbedBuilder</span><span class="hl-0">().</span><span class="hl-4">setColor</span><span class="hl-0">(</span><span class="hl-5">&quot;Red&quot;</span><span class="hl-0">).</span><span class="hl-4">setTitle</span><span class="hl-0">(</span><span class="hl-5">&quot;Oh, wow!&quot;</span><span class="hl-0">).</span><span class="hl-4">setDescription</span><span class="hl-0">(</span><span class="hl-5">&quot;Looks like it is the last page(&quot;</span><span class="hl-0">),</span><br/><span class="hl-0">];</span><br/><br/><span class="hl-1">//Array of buttons for pagination.</span><br/><span class="hl-2">const</span><span class="hl-0"> </span><span class="hl-3">buttons</span><span class="hl-0"> =</span><br/><span class="hl-0">[</span><br/><span class="hl-0"> </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-4">PreviousPageButton</span><span class="hl-0">({</span><span class="hl-6">custom_id:</span><span class="hl-0"> </span><span class="hl-5">&quot;prev_page&quot;</span><span class="hl-0">, </span><span class="hl-6">emoji:</span><span class="hl-0"> </span><span class="hl-5">&quot;◀&quot;</span><span class="hl-0">, </span><span class="hl-6">style:</span><span class="hl-0"> </span><span class="hl-6">ButtonStyle</span><span class="hl-0">.</span><span class="hl-6">Secondary</span><span class="hl-0">}),</span><br/><span class="hl-0"> </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-4">NextPageButton</span><span class="hl-0">({</span><span class="hl-6">custom_id:</span><span class="hl-0"> </span><span class="hl-5">&quot;next_page&quot;</span><span class="hl-0">, </span><span class="hl-6">emoji:</span><span class="hl-0"> </span><span class="hl-5">&quot;▶&quot;</span><span class="hl-0">, </span><span class="hl-6">style:</span><span class="hl-0"> </span><span class="hl-6">ButtonStyle</span><span class="hl-0">.</span><span class="hl-6">Secondary</span><span class="hl-0">}),</span><br/><span class="hl-0">];</span><br/><br/><span class="hl-1">//No intents needed.</span><br/><span class="hl-2">const</span><span class="hl-0"> </span><span class="hl-3">client</span><span class="hl-0"> = </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-4">Client</span><span class="hl-0">({</span><span class="hl-6">intents:</span><span class="hl-0"> []});</span><br/><br/><span class="hl-1">//Ready!</span><br/><span class="hl-6">client</span><span class="hl-0">.</span><span class="hl-4">once</span><span class="hl-0">(</span><span class="hl-5">&quot;ready&quot;</span><span class="hl-0">, </span><span class="hl-2">async</span><span class="hl-0"> () </span><span class="hl-2">=&gt;</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-6">console</span><span class="hl-0">.</span><span class="hl-4">log</span><span class="hl-0">(</span><span class="hl-5">&quot;Ready!&quot;</span><span class="hl-0">);</span><br/><br/><span class="hl-0"> </span><span class="hl-1">//Fetch guild that is needed.</span><br/><span class="hl-0"> </span><span class="hl-2">const</span><span class="hl-0"> </span><span class="hl-3">guild</span><span class="hl-0"> = </span><span class="hl-7">await</span><span class="hl-0"> </span><span class="hl-6">client</span><span class="hl-0">.</span><span class="hl-6">guilds</span><span class="hl-0">.</span><span class="hl-4">fetch</span><span class="hl-0">(</span><span class="hl-5">&quot;yourGuildId&quot;</span><span class="hl-0">);</span><br/><br/><span class="hl-0"> </span><span class="hl-1">//Add command.</span><br/><span class="hl-0"> </span><span class="hl-6">guild</span><span class="hl-0">.</span><span class="hl-6">commands</span><span class="hl-0">.</span><span class="hl-4">create</span><span class="hl-0">({</span><span class="hl-6">name:</span><span class="hl-0"> </span><span class="hl-5">&quot;pages&quot;</span><span class="hl-0">, </span><span class="hl-6">description:</span><span class="hl-0"> </span><span class="hl-5">&quot;Testing DJS-Button-Pages!&quot;</span><span class="hl-0">});</span><br/><span class="hl-0">});</span><br/><br/><span class="hl-1">//Catch command.</span><br/><span class="hl-6">client</span><span class="hl-0">.</span><span class="hl-4">on</span><span class="hl-0">(</span><span class="hl-5">&quot;interactionCreate&quot;</span><span class="hl-0">, </span><span class="hl-2">async</span><span class="hl-0"> (</span><span class="hl-6">interaction</span><span class="hl-0">) </span><span class="hl-2">=&gt;</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-7">if</span><span class="hl-0"> (</span><span class="hl-6">interaction</span><span class="hl-0">.</span><span class="hl-4">isCommand</span><span class="hl-0">() &amp;&amp; </span><span class="hl-6">interaction</span><span class="hl-0">.</span><span class="hl-6">commandName</span><span class="hl-0"> === </span><span class="hl-5">&quot;pages&quot;</span><span class="hl-0">)</span><br/><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">//Setup pagination.</span><br/><span class="hl-0"> </span><span class="hl-2">const</span><span class="hl-0"> </span><span class="hl-3">pagination</span><span class="hl-0"> = </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-4">PaginationWrapper</span><span class="hl-0">()</span><br/><span class="hl-0"> .</span><span class="hl-4">setButtons</span><span class="hl-0">(</span><span class="hl-6">buttons</span><span class="hl-0">)</span><br/><span class="hl-0"> .</span><span class="hl-4">setEmbeds</span><span class="hl-0">(</span><span class="hl-6">embeds</span><span class="hl-0">)</span><br/><span class="hl-0"> .</span><span class="hl-4">setTime</span><span class="hl-0">(</span><span class="hl-8">60000</span><span class="hl-0">);</span><br/><br/><span class="hl-0"> </span><span class="hl-1">//Send it as a reply to interaction.</span><br/><span class="hl-0"> </span><span class="hl-7">await</span><span class="hl-0"> </span><span class="hl-6">pagination</span><span class="hl-0">.</span><span class="hl-4">interactionReply</span><span class="hl-0">(</span><span class="hl-6">interaction</span><span class="hl-0">);</span><br/><span class="hl-0"> };</span><br/><span class="hl-0">});</span><br/><br/><span class="hl-1">//Login.</span><br/><span class="hl-6">client</span><span class="hl-0">.</span><span class="hl-4">login</span><span class="hl-0">(</span><span class="hl-5">&quot;yourToken&quot;</span><span class="hl-0">);</span>
  60. </code></pre>
  61. <a href="#more-complicated-examples-with-commentary-can-be-found-at-github-page" id="more-complicated-examples-with-commentary-can-be-found-at-github-page" style="color: inherit; text-decoration: none;">
  62. <h3>More complicated examples with commentary can be found at <a href="https://github.com/i-Moony/djs-button-pages">GitHub</a> page.</h3>
  63. </a>
  64. <a href="#❔-links" id="❔-links" style="color: inherit; text-decoration: none;">
  65. <h1>❔ Links:</h1>
  66. </a>
  67. <ul>
  68. <li><a href="https://github.com/i-Moony/djs-button-pages">GitHub</a></li>
  69. <li><a href="https://i-moony.github.io/djs-button-pages/">Documentation</a></li>
  70. <li><a href="https://www.npmjs.com/package/djs-button-pages">NPM</a></li>
  71. <li><a href="https://notabug.org/m00ny/djs-button-pages">NotABug</a></li>
  72. <li><a href="https://discord.js.org/">Discord.JS</a></li>
  73. <li><a href="https://discord.js.org/#/docs/">Discord.JS Documenation</a></li>
  74. <li><a href="https://discordjs.guide/">Discord.JS Guide</a></li>
  75. </ul>
  76. <a href="#🐛-bug-reporting" id="🐛-bug-reporting" style="color: inherit; text-decoration: none;">
  77. <h1>🐛 Bug Reporting:</h1>
  78. </a>
  79. <p>For bug reporting look for <a href="https://github.com/i-Moony/djs-button-pages/issues">GitHub Issues</a>.</p>
  80. <p>Or you can DM me in Discord: <code>moony#6815</code>.</p>
  81. <a href="#©-license" id="©-license" style="color: inherit; text-decoration: none;">
  82. <h1>© License:</h1>
  83. </a>
  84. <p>Copyright © 2022 Danila Kononov (nickname: moony). All rights reserved.</p>
  85. <p>Licensed under the Apache License, Version 2.0.</p>
  86. </div></div>
  87. <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
  88. <div class="tsd-navigation settings">
  89. <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
  90. <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
  91. <div class="tsd-accordion-details">
  92. <div class="tsd-filter-visibility">
  93. <h4 class="uppercase">Member Visibility</h4><form>
  94. <ul id="tsd-filter-options">
  95. <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
  96. <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
  97. <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
  98. <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
  99. <div class="tsd-theme-toggle">
  100. <h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
  101. <nav class="tsd-navigation primary">
  102. <details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
  103. <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
  104. <div class="tsd-accordion-details">
  105. <ul>
  106. <li class="current selected"><a href="modules.html">DJS-<wbr/>Button-<wbr/>Pages</a>
  107. <ul>
  108. <li class="tsd-kind-module"><a href="modules/djs13.html">djs13 -<wbr/> v3.0.0</a></li>
  109. <li class="tsd-kind-module"><a href="modules/djs13_legacy.html">djs13-<wbr/>legacy -<wbr/> v2.0.4</a></li>
  110. <li class="tsd-kind-module"><a href="modules/djs14.html">djs14 -<wbr/> v4.0.0</a></li>
  111. <li class="tsd-kind-module"><a href="modules/djs14_legacy.html">djs14-<wbr/>legacy -<wbr/> v2.1.3</a></li>
  112. <li class="tsd-kind-module"><a href="modules/presets_djs13.html">presets-<wbr/>djs13 -<wbr/> v0.1.0</a></li>
  113. <li class="tsd-kind-module"><a href="modules/presets_djs14.html">presets-<wbr/>djs14 -<wbr/> v1.0.0</a></li></ul></li></ul></div></details></nav></div></div>
  114. <div class="container tsd-generator">
  115. <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
  116. <div class="overlay"></div><script src="assets/main.js"></script></body></html>