1 line
2.6 KiB
JavaScript
1 line
2.6 KiB
JavaScript
import{_ as a,c as r,a0 as t,o}from"./chunks/framework.P9qPzDnn.js";const u=JSON.parse('{"title":"Function: makeDraggable()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/boards/board/functions/makeDraggable.md","filePath":"api/game/boards/board/functions/makeDraggable.md","lastUpdated":null}'),n={name:"api/game/boards/board/functions/makeDraggable.md"};function s(d,e,i,l,c,g){return o(),r("div",null,e[0]||(e[0]=[t('<p><a href="./../../../../">Profectus</a> / <a href="./../">game/boards/board</a> / makeDraggable</p><h1 id="function-makedraggable" tabindex="-1">Function: makeDraggable() <a class="header-anchor" href="#function-makedraggable" aria-label="Permalink to "Function: makeDraggable()""></a></h1><blockquote><p><strong>makeDraggable</strong><<code>T</code>, <code>S</code>>(<code>element</code>, <code>optionsFunc</code>): <code>asserts element is VueFeature & { draggable: Draggable<T> }</code></p></blockquote><p>Makes a vue feature draggable on a Board.</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><p>• <strong>S</strong> <em>extends</em> <a href="./../interfaces/MakeDraggableOptions"><code>MakeDraggableOptions</code></a><<code>T</code>></p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="element" tabindex="-1">element <a class="header-anchor" href="#element" aria-label="Permalink to "element""></a></h3><p><a href="./../../../../util/vue/interfaces/VueFeature"><code>VueFeature</code></a></p><p>The vue feature to make draggable.</p><h3 id="optionsfunc" tabindex="-1">optionsFunc <a class="header-anchor" href="#optionsfunc" aria-label="Permalink to "optionsFunc""></a></h3><p>() => <code>S</code></p><p>The options to configure the dragging behavior.</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h2><p><code>asserts element is VueFeature & { draggable: Draggable<T> }</code></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#L271" target="_blank" rel="noreferrer">profectus/src/game/boards/board.tsx:271</a></p>',18)]))}const m=a(n,[["render",s]]);export{u as __pageData,m as default};
|