profectus-docs/assets/api_interfaces_features_grids_grid.GridCell.md.1b93694a.js

1 line
7.9 KiB
JavaScript

import{_ as e,c as r,o as t,a}from"./app.cf939732.js";const g=JSON.parse('{"title":"Interface: GridCell","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"canClick","slug":"canclick"},{"level":3,"title":"classes","slug":"classes"},{"level":3,"title":"display","slug":"display"},{"level":3,"title":"id","slug":"id"},{"level":3,"title":"onClick","slug":"onclick"},{"level":3,"title":"onHold","slug":"onhold"},{"level":3,"title":"startState","slug":"startstate"},{"level":3,"title":"state","slug":"state"},{"level":3,"title":"style","slug":"style"},{"level":3,"title":"title","slug":"title"},{"level":3,"title":"visibility","slug":"visibility"}],"relativePath":"api/interfaces/features/grids/grid.GridCell.md","lastUpdated":null}'),i={name:"api/interfaces/features/grids/grid.GridCell.md"},d=a('<h1 id="interface-gridcell" tabindex="-1">Interface: GridCell <a class="header-anchor" href="#interface-gridcell" aria-hidden="true">#</a></h1><p><a href="./../../../modules/features/grids/grid.html">features/grids/grid</a>.GridCell</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-hidden="true">#</a></h2><h3 id="canclick" tabindex="-1">canClick <a class="header-anchor" href="#canclick" aria-hidden="true">#</a></h3><p>\u2022 <strong>canClick</strong>: <code>boolean</code></p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/features/grids/grid.ts#L175" target="_blank" rel="noopener noreferrer">profectus/src/features/grids/grid.ts:175</a></p><hr><h3 id="classes" tabindex="-1">classes <a class="header-anchor" href="#classes" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>classes</strong>: <code>Record</code>&lt;<code>string</code>, <code>boolean</code>&gt;</p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/features/grids/grid.ts#L179" target="_blank" rel="noopener noreferrer">profectus/src/features/grids/grid.ts:179</a></p><hr><h3 id="display" tabindex="-1">display <a class="header-anchor" href="#display" aria-hidden="true">#</a></h3><p>\u2022 <strong>display</strong>: <a href="./../../../modules/features/feature.html#coercablecomponent"><code>CoercableComponent</code></a></p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/features/grids/grid.ts#L181" target="_blank" rel="noopener noreferrer">profectus/src/features/grids/grid.ts:181</a></p><hr><h3 id="id" tabindex="-1">id <a class="header-anchor" href="#id" aria-hidden="true">#</a></h3><p>\u2022 <strong>id</strong>: <code>string</code></p><h4 id="defined-in-3" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-3" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/features/grids/grid.ts#L173" target="_blank" rel="noopener noreferrer">profectus/src/features/grids/grid.ts:173</a></p><hr><h3 id="onclick" tabindex="-1">onClick <a class="header-anchor" href="#onclick" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>onClick</strong>: (<code>e?</code>: <code>MouseEvent</code> | <code>TouchEvent</code>) =&gt; <code>void</code></p><h4 id="type-declaration" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration" aria-hidden="true">#</a></h4><p>\u25B8 (<code>e?</code>): <code>void</code></p><h5 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-hidden="true">#</a></h5><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>e?</code></td><td style="text-align:left;"><code>MouseEvent</code> | <code>TouchEvent</code></td></tr></tbody></table><h5 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-hidden="true">#</a></h5><p><code>void</code></p><h4 id="defined-in-4" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-4" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/features/grids/grid.ts#L182" target="_blank" rel="noopener noreferrer">profectus/src/features/grids/grid.ts:182</a></p><hr><h3 id="onhold" tabindex="-1">onHold <a class="header-anchor" href="#onhold" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>onHold</strong>: <code>VoidFunction</code></p><h4 id="defined-in-5" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-5" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/features/grids/grid.ts#L183" target="_blank" rel="noopener noreferrer">profectus/src/features/grids/grid.ts:183</a></p><hr><h3 id="startstate" tabindex="-1">startState <a class="header-anchor" href="#startstate" aria-hidden="true">#</a></h3><p>\u2022 <strong>startState</strong>: <a href="./../../../modules/game/persistence.html#state"><code>State</code></a></p><h4 id="defined-in-6" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-6" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/features/grids/grid.ts#L176" target="_blank" rel="noopener noreferrer">profectus/src/features/grids/grid.ts:176</a></p><hr><h3 id="state" tabindex="-1">state <a class="header-anchor" href="#state" aria-hidden="true">#</a></h3><p>\u2022 <strong>state</strong>: <a href="./../../../modules/game/persistence.html#state"><code>State</code></a></p><h4 id="defined-in-7" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-7" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/features/grids/grid.ts#L177" target="_blank" rel="noopener noreferrer">profectus/src/features/grids/grid.ts:177</a></p><hr><h3 id="style" tabindex="-1">style <a class="header-anchor" href="#style" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>style</strong>: <a href="./../../../modules/features/feature.html#stylevalue"><code>StyleValue</code></a></p><h4 id="defined-in-8" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-8" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/features/grids/grid.ts#L178" target="_blank" rel="noopener noreferrer">profectus/src/features/grids/grid.ts:178</a></p><hr><h3 id="title" tabindex="-1">title <a class="header-anchor" href="#title" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>title</strong>: <a href="./../../../modules/features/feature.html#coercablecomponent"><code>CoercableComponent</code></a></p><h4 id="defined-in-9" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-9" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/features/grids/grid.ts#L180" target="_blank" rel="noopener noreferrer">profectus/src/features/grids/grid.ts:180</a></p><hr><h3 id="visibility" tabindex="-1">visibility <a class="header-anchor" href="#visibility" aria-hidden="true">#</a></h3><p>\u2022 <strong>visibility</strong>: <a href="../../../enums/features/feature.Visibility"><code>Visibility</code></a></p><h4 id="defined-in-10" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-10" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/features/grids/grid.ts#L174" target="_blank" rel="noopener noreferrer">profectus/src/features/grids/grid.ts:174</a></p>',63),s=[d];function n(o,c,h,l,f,u){return t(),r("div",null,s)}var b=e(i,[["render",n]]);export{g as __pageData,b as default};