import{_ase,cast,oasa,Nasl}from"./chunks/framework.0799945b.js";constu=JSON.parse('{"title":"Module: features/clickables/clickable","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/features/clickable.md","lastUpdated":null}'),c={name:"api/modules/features/clickable.md"},o=l('<h1id="module-features-clickables-clickable"tabindex="-1">Module:features/clickables/clickable<aclass="header-anchor"href="#module-features-clickables-clickable"aria-label="Permalink to "Module: features/clickables/clickable""></a></h1><h2id="interfaces"tabindex="-1">Interfaces<aclass="header-anchor"href="#interfaces"aria-label="Permalinkto"Interfaces""></a></h2><h3id="baseclickable"tabindex="-1">BaseClickable<aclass="header-anchor"href="#baseclickable"aria-label="Permalinkto"BaseClickable""></a></h3><p>•<strong>BaseClickable</strong>:<code>Object</code></p><p>Thepropertiesthatareaddedontoaprocessed<ahref="./clickable#clickableoptions">ClickableOptions</a>tocreatean<ahref="./clickable#clickable">Clickable</a>.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>[Component]</code></td><tdstyle="text-align:left;"><ahref="./feature#genericcomponent"><code>GenericComponent</code></a></td><tdstyle="text-align:left;">TheVuecomponentusedtorenderthisfeature.</td></tr><tr><tdstyle="text-align:left;"><code>[GatherProps]</code></td><tdstyle="text-align:left;">()=><ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"target="_blank"rel="noreferrer"><code>Record</code></a><<code>string</code>,<code>unknown</code>></td><tdstyle="text-align:left;">Afunctiontogatherthepropsthevuecomponentrequiresforthisfeature.</td></tr><tr><tdstyle="text-align:left;"><code>id</code></td><tdstyle="text-align:left;"><code>string</code></td><tdstyle="text-align:left;">Anauto-generatedIDforidentifyingfeaturesthatappearintheDOM.Willnotpersistbetweenrefreshesorupdates.</td></tr><tr><tdstyle="text-align:left;"><code>type</code></td><tdstyle="text-align:left;">typeof<ahref="./clickable#clickabletype"><code>ClickableType</code></a></td><tdstyle="text-align:left;">Asymbolthathelpsidentifyfeaturesofthesametype.</td></tr></tbody></table><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/5c11524/src/features/clickables/clickable.ts#L61"target="_blank"rel="noreferrer">profectus/src/features/clickables/clickable.ts:61</a></p><hr><h3id="clickableoptions"tabindex="-1">ClickableOptions<aclass="header-anchor"href="#clickableoptions"aria-label="Permalinkto"ClickableOptions""></a></h3><p>•<strong>ClickableOptions</strong>:<code>Object</code></p><p>Anobjectthatconfiguresa<ahref="./clickable#clickable">Clickable</a>.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>canClick?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<code>boolean</code>></td><tdstyle="text-align:left;">Whetherornottheclickablemaybeclicked.</td></tr><tr><tdstyle="text-align:left;"><code>classes?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"target="_blank"rel="noreferrer"><code>Record</code></a><<code>string</code>,<code>boolean</code>>></td><tdstyle="text-align:left;">DictionaryofCSSclassestoapplytothisfeature.</td></tr><tr><tdstyle="text-align:left;"><code>displa