import{_ as t,c as a,a0 as o,o as r}from"./chunks/framework.P9qPzDnn.js";const h=JSON.parse('{"title":"Function: setupActions()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/boards/board/functions/setupActions.md","filePath":"api/game/boards/board/functions/setupActions.md","lastUpdated":null}'),n={name:"api/game/boards/board/functions/setupActions.md"};function s(i,e,c,d,p,u){return r(),a("div",null,e[0]||(e[0]=[o('

Profectus / game/boards/board / setupActions

Function: setupActions()

setupActions<T>(options): ComputedRef<Element | "">

Sets up a system where a list of actions, which are arbitrary JSX elements, will get displayed around a node radially, under given conditions. The actions are radially centered around 3/2 PI (Down).

Type Parameters

T extends NodePosition

Parameters

options

SetupActionsOptions<T>

Setup actions options.

Returns

ComputedRef<Element | "">

A JSX function to render the actions.

Defined in

profectus/src/game/boards/board.tsx:369

',15)]))}const m=t(n,[["render",s]]);export{h as __pageData,m as default};