profectus-docs/assets/api_interfaces_features_boards_board.BoardOptions.md.027a5aef.js

1 line
8.6 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 e,c as a,o as t,N as r}from"./chunks/framework.0799945b.js";const u=JSON.parse('{"title":"Interface: BoardOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/features/boards/board.BoardOptions.md","lastUpdated":null}'),o={name:"api/interfaces/features/boards/board.BoardOptions.md"},d=r('<h1 id="interface-boardoptions" tabindex="-1">Interface: BoardOptions <a class="header-anchor" href="#interface-boardoptions" aria-label="Permalink to &quot;Interface: BoardOptions&quot;"></a></h1><p><a href="./../../../modules/features/boards/board">features/boards/board</a>.BoardOptions</p><p>An object that configures a <a href="./../../../modules/features/boards/board#board">Board</a>.</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to &quot;Properties&quot;"></a></h2><h3 id="classes" tabindex="-1">classes <a class="header-anchor" href="#classes" aria-label="Permalink to &quot;classes&quot;"></a></h3><p>• <code>Optional</code> <strong>classes</strong>: <a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type" target="_blank" rel="noreferrer"><code>Record</code></a>&lt;<code>string</code>, <code>boolean</code>&gt;&gt;</p><p>Dictionary of CSS classes to apply to this feature.</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/boards/board.ts#L224" target="_blank" rel="noreferrer">profectus/src/features/boards/board.ts:224</a></p><hr><h3 id="height" tabindex="-1">height <a class="header-anchor" href="#height" aria-label="Permalink to &quot;height&quot;"></a></h3><p>• <code>Optional</code> <strong>height</strong>: <a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<code>string</code>&gt;</p><p>The height of the board. Defaults to 100%</p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/boards/board.ts#L220" target="_blank" rel="noreferrer">profectus/src/features/boards/board.ts:220</a></p><hr><h3 id="links" tabindex="-1">links <a class="header-anchor" href="#links" aria-label="Permalink to &quot;links&quot;"></a></h3><p>• <code>Optional</code> <strong>links</strong>: <a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<code>null</code> | <a href="./board.BoardNodeLink"><code>BoardNodeLink</code></a>[]&gt;</p><p>An array of board node links to display.</p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/boards/board.ts#L234" target="_blank" rel="noreferrer">profectus/src/features/boards/board.ts:234</a></p><hr><h3 id="startnodes" tabindex="-1">startNodes <a class="header-anchor" href="#startnodes" aria-label="Permalink to &quot;startNodes&quot;"></a></h3><p>• <strong>startNodes</strong>: () =&gt; <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<a href="./board.BoardNode"><code>BoardNode</code></a>, <code>&quot;id&quot;</code>&gt;[]</p><h4 id="type-declaration" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration" aria-label="Permalink to &quot;Type declaration&quot;"></a></h4><p>▸ (): <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<a href="./board.BoardNode"><code>BoardNode</code></a>, <code>&quot;id&quot;</code>&gt;[]</p><p>A function that returns an array of initial board nodes, without IDs.</p><h5 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h5><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" target="_blank" rel="noreferrer"><code>Omit</code></a>&lt;<a href="./board.BoardNode"><code>BoardNode</code></a>, <code>&quot;id&quot;</code>&gt;[]</p><h4 id="defined-in-3" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-3" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/boards/board.ts#L228" target="_blank" rel="noreferrer">profectus/src/features/boards/board.ts:228</a></p><hr><h3 id="state" tabindex="-1">state <a class="header-anchor" href="#state" aria-label="Permalink to &quot;state&quot;"></a></h3><p>• <code>Optional</code> <strong>state</strong>: <a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<a href="./../../../modules/features/boards/board#boarddata"><code>BoardData</code></a>&gt;</p><p>The persistent state of the board.</p><h4 id="defined-in-4" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-4" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/boards/board.ts#L232" target="_blank" rel="noreferrer">profectus/src/features/boards/board.ts:232</a></p><hr><h3 id="style" tabindex="-1">style <a class="header-anchor" href="#style" aria-label="Permalink to &quot;style&quot;"></a></h3><p>• <code>Optional</code> <strong>style</strong>: <a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<a href="./../../../modules/features/feature#stylevalue"><code>StyleValue</code></a>&gt;</p><p>CSS to apply to this feature.</p><h4 id="defined-in-5" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-5" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/boards/board.ts#L226" target="_blank" rel="noreferrer">profectus/src/features/boards/board.ts:226</a></p><hr><h3 id="types" tabindex="-1">types <a class="header-anchor" href="#types" aria-label="Permalink to &quot;types&quot;"></a></h3><p>• <strong>types</strong>: <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type" target="_blank" rel="noreferrer"><code>Record</code></a>&lt;<code>string</code>, <a href="./board.NodeTypeOptions"><code>NodeTypeOptions</code></a>&gt;</p><p>A dictionary of node types that can appear on the board.</p><h4 id="defined-in-6" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-6" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/boards/board.ts#L230" target="_blank" rel="noreferrer">profectus/src/features/boards/board.ts:230</a></p><hr><h3 id="visibility" tabindex="-1">visibility <a class="header-anchor" href="#visibility" aria-label="Permalink to &quot;visibility&quot;"></a></h3><p>• <code>Optional</code> <strong>visibility</strong>: <a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<code>boolean</code> | <a href="../../../enums/features/feature.Visibility"><code>Visibility</code></a>&gt;</p><p>Whether this board should be visible.</p><h4 id="defined-in-7" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-7" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/boards/board.ts#L218" target="_blank" rel="noreferrer">profectus/src/features/boards/board.ts:218</a></p><hr><h3 id="width" tabindex="-1">width <a class="header-anchor" href="#width" aria-label="Permalink to &quot;width&quot;"></a></h3><p>• <code>Optional</code> <strong>width</strong>: <a href="./../../../modules/util/computed#computable"><code>Computable</code></a>&lt;<code>string</code>&gt;</p><p>The width of the board. Defaults to 100%</p><h4 id="defined-in-8" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-8" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/boards/board.ts#L222" target="_blank" rel="noreferrer">profectus/src/features/boards/board.ts:222</a></p>',61),s=[d];function i(n,c,l,h,f,p){return t(),a("div",null,s)}const g=e(o,[["render",i]]);export{u as __pageData,g as default};