profectus-docs/assets/api_features_trees_tree_functions_createTreeNode.md.QGYB5NmY.js

1 line
2.2 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as t,c as a,a0 as r,o}from"./chunks/framework.P9qPzDnn.js";const f=JSON.parse('{"title":"Function: createTreeNode()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/trees/tree/functions/createTreeNode.md","filePath":"api/features/trees/tree/functions/createTreeNode.md","lastUpdated":null}'),n={name:"api/features/trees/tree/functions/createTreeNode.md"};function s(c,e,i,d,p,u){return o(),a("div",null,e[0]||(e[0]=[r('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/trees/tree</a> / createTreeNode</p><h1 id="function-createtreenode" tabindex="-1">Function: createTreeNode() <a class="header-anchor" href="#function-createtreenode" aria-label="Permalink to &quot;Function: createTreeNode()&quot;"></a></h1><blockquote><p><strong>createTreeNode</strong>&lt;<code>T</code>&gt;(<code>optionsFunc</code>?): <code>any</code></p></blockquote><p>Lazily creates a tree node with the given options.</p><h2 id="type-parameters" tabindex="-1">Type Parameters <a class="header-anchor" href="#type-parameters" aria-label="Permalink to &quot;Type Parameters&quot;"></a></h2><p>• <strong>T</strong> <em>extends</em> <a href="./../interfaces/TreeNodeOptions"><code>TreeNodeOptions</code></a></p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h2><h3 id="optionsfunc" tabindex="-1">optionsFunc? <a class="header-anchor" href="#optionsfunc" aria-label="Permalink to &quot;optionsFunc?&quot;"></a></h3><p>() =&gt; <code>T</code></p><p>Tree Node options.</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><code>any</code></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/trees/tree.tsx#L67" target="_blank" rel="noreferrer">profectus/src/features/trees/tree.tsx:67</a></p>',14)]))}const h=t(n,[["render",s]]);export{f as __pageData,h as default};