<spanclass="line"><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>Microtabs are defined similarly, and use the same features, but are defined in the "microtabs" feature. Each entry is a group of tabs which will appear in a microtabs component. The first set, "stuff", has 2 tabs, and the second, "otherStuff", has none.</p><divclass="language-js vp-adaptive-theme"><buttontitle="Copy Code"class="copy"></button><spanclass="lang">js</span><preclass="shiki shiki-themes github-light github-dark vp-code"tabindex="0"><code><spanclass="line"><spanstyle="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">microtabs</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: {</span></span>
<spanclass="line"><spanstyle="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> content</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: [tab format things],</span></span>
<spanclass="line"><spanstyle="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> content</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: [tab format things],</span></span>
<spanclass="line"><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>Normal subtabs and microtab subtabs both use the same features:</p><h1id="features"tabindex="-1">Features: <aclass="header-anchor"href="#features"aria-label="Permalink to "Features:""></a></h1><ul><li><p>content: The tab layout code for the subtab, in <ahref="./custom-tab-layouts">the tab layout format</a>.</p></li><li><p>style: <strong>optional</strong>. Applies CSS to the whole subtab when switched to, in the form of an "CSS Object", where the keys are CSS attributes, and the values are the values for those attributes (both as strings).</p></li><li><p>buttonStyle: <strong>optional</strong>. A CSS object, which affects the appearance of the button for that subtab.</p></li><li><p>unlocked(): <strong>optional</strong>. a function to determine if the button for this subtab should be visible. By default, a subtab is always unlocked. You can't use the "this" keyword in this function.</p></li><li><p>shouldNotify(): <strong>optional</strong>, if true, the tab button will be highlighted to notify the player that there is something there.</p></li><li><p>embedLayer: <strong>SIGNIFICANT</strong>, the id of another layer. If you have this, it will override "content", "style" and "shouldNotify", instead displaying the entire layer in the subtab.</p></li></ul></div></div></main><footerclass="VPDocFooter"data-v-39a288b8data-v-d4a0bba5><!--[--><!--]--><!----><navclass="prev-next"aria-labelledby="doc-footer-aria-label"data-v-d4a0bba5><spanclass="visually-hidden"id="doc-footer-aria-label"data-v-d4a0bba5>Pager</span><divclass="pager"data-v-d4a0bba5><!----></div><divclass="pager"data-v-d4a0bba5><aclass="VPLink link pager-link next"href="/garden/my-personal-website"data-v-d4a0bba5><!--[--><spanclass="desc"data-v-d4a0bba5>Next page</span><spanclass="title"data-v-d4a0bba5>My Personal Website</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><footerclass="vp-doc"data-v-90dd949c><divdata-v-90dd949c>CC 2024 The Paper Pilot. <arel="license"href="https://creativecommons.org/licenses/by-nc-sa/4.0/"data-v-90dd949c>CC BY-NC-SA 4.0</a>.</div><divdata-v-90dd949c>Any and all opinions listed here are my own and not representative of my employers; future, past and present.</div><divdata-v-90dd949c><ahref="https://resume.incremental.social/thepaperpilot/thepaperpilot"data-v-90dd949c>Resume</a> (not actively seeking new opportunities).</div><divdata-v-90dd949c>Site built from <ahref="https://code.incremental.social/thepaperpilot/pages/commit/57902cec6229f5e4956b47ad9c1dd90649fc96ac"data-v-90dd949c>this commit</a> on <timedata-v-90dd949c>Saturday, June 15, 2024 at 11:18:20</time>.</div></footer><!--]--></div></div>