2 lines
10 KiB
JavaScript
2 lines
10 KiB
JavaScript
|
import{_ as e,c as t,o as r,N as a}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Interface: TreeNodeOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/features/trees/tree.TreeNodeOptions.md","lastUpdated":null}'),o={name:"api/interfaces/features/trees/tree.TreeNodeOptions.md"},n=a('<h1 id="interface-treenodeoptions" tabindex="-1">Interface: TreeNodeOptions <a class="header-anchor" href="#interface-treenodeoptions" aria-label="Permalink to "Interface: TreeNodeOptions""></a></h1><p><a href="./../../../modules/features/trees/tree">features/trees/tree</a>.TreeNodeOptions</p><p>An object that configures a <a href="./../../../modules/features/trees/tree#treenode">TreeNode</a>.</p><h2 id="hierarchy" tabindex="-1">Hierarchy <a class="header-anchor" href="#hierarchy" aria-label="Permalink to "Hierarchy""></a></h2><ul><li><p><strong><code>TreeNodeOptions</code></strong></p><p>↳ <a href="../../data/common.LayerTreeNodeOptions"><code>LayerTreeNodeOptions</code></a></p></li></ul><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to "Properties""></a></h2><h3 id="canclick" tabindex="-1">canClick <a class="header-anchor" href="#canclick" aria-label="Permalink to "canClick""></a></h3><p>• <code>Optional</code> <strong>canClick</strong>: <a href="./../../../modules/util/computed#computable"><code>Computable</code></a><<code>boolean</code>></p><p>Whether or not this tree node can be clicked.</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to "Defined in""></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/trees/tree.ts#L40" target="_blank" rel="noreferrer">profectus/src/features/trees/tree.ts:40</a></p><hr><h3 id="classes" tabindex="-1">classes <a class="header-anchor" href="#classes" aria-label="Permalink to "classes""></a></h3><p>• <code>Optional</code> <strong>classes</strong>: <a href="./../../../modules/util/computed#computable"><code>Computable</code></a><<a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type" target="_blank" rel="noreferrer"><code>Record</code></a><<code>string</code>, <code>boolean</code>>></p><p>Dictionary of CSS classes to apply to this feature.</p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-label="Permalink to "Defined in""></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/trees/tree.ts#L48" target="_blank" rel="noreferrer">profectus/src/features/trees/tree.ts:48</a></p><hr><h3 id="color" tabindex="-1">color <a class="header-anchor" href="#color" aria-label="Permalink to "color""></a></h3><p>• <code>Optional</code> <strong>color</strong>: <a href="./../../../modules/util/computed#computable"><code>Computable</code></a><<code>string</code>></p><p>The background color for this node.</p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-label="Permalink to "Defined in""></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/trees/tree.ts#L42" target="_blank" rel="noreferrer">profectus/src/features/trees/tree.ts:42</a></p><hr><h3 id="display" tabindex="-1">display <a class="header-anchor" href="#display" aria-label="Permalink to "display""></a></h3><p>• <code>Optional</code> <strong>display</strong>: <a href="./../../../modules/util/computed#computable"><code>Computable</code></a><<a href="./../../../modules/features/feature#coercablecomponent"><code>CoercableComponent</code></a>></p><p>The label to display on this tree node.</p><h4 id="defined-in-3" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-3" aria-label="Permalink to "Defined in""></a></h4><p><a href="https:/
|