1 line
2.4 KiB
JavaScript
1 line
2.4 KiB
JavaScript
import{_ as a,c as o,a0 as r,o as t}from"./chunks/framework.P9qPzDnn.js";const b=JSON.parse('{"title":"Function: setupDraggableNode()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/boards/board/functions/setupDraggableNode.md","filePath":"api/game/boards/board/functions/setupDraggableNode.md","lastUpdated":null}'),d={name:"api/game/boards/board/functions/setupDraggableNode.md"};function n(s,e,i,l,p,c){return t(),o("div",null,e[0]||(e[0]=[r('<p><a href="./../../../../">Profectus</a> / <a href="./../">game/boards/board</a> / setupDraggableNode</p><h1 id="function-setupdraggablenode" tabindex="-1">Function: setupDraggableNode() <a class="header-anchor" href="#function-setupdraggablenode" aria-label="Permalink to "Function: setupDraggableNode()""></a></h1><blockquote><p><strong>setupDraggableNode</strong><<code>T</code>>(<code>options</code>): <a href="./../interfaces/DraggableNode"><code>DraggableNode</code></a><<code>T</code>></p></blockquote><p>Sets up a system to allow nodes to be moved within a board by dragging and dropping. Also allows for dropping nodes on other nodes to trigger code.</p><h2 id="type-parameters" tabindex="-1">Type Parameters <a class="header-anchor" href="#type-parameters" aria-label="Permalink to "Type Parameters""></a></h2><p>• <strong>T</strong></p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="options" tabindex="-1">options <a class="header-anchor" href="#options" aria-label="Permalink to "options""></a></h3><p><a href="./../interfaces/DraggableNodeOptions"><code>DraggableNodeOptions</code></a><<code>T</code>></p><p>Draggable node options.</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h2><p><a href="./../interfaces/DraggableNode"><code>DraggableNode</code></a><<code>T</code>></p><p>A DraggableNode object.</p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to "Defined in""></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/boards/board.tsx#L94" target="_blank" rel="noreferrer">profectus/src/game/boards/board.tsx:94</a></p>',15)]))}const u=a(d,[["render",n]]);export{b as __pageData,u as default};
|