Add link to docs in setupDraggableNode docstring

This commit is contained in:
thepaperpilot 2024-03-10 09:37:02 -05:00
parent f9c59f7636
commit 643bfccada

View file

@ -89,6 +89,8 @@ export interface DraggableNode<T> {
/** /**
* Sets up a system to allow nodes to be moved within a board by dragging and dropping. * 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. * Also allows for dropping nodes on other nodes to trigger code.
* Using this function is fairly advanced, consider reading through this docs page for guidance:
* https://moddingtree.com/guide/advanced-concepts/boards
* @param options Draggable node options. * @param options Draggable node options.
* @returns A DraggableNode object. * @returns A DraggableNode object.
*/ */