profectus-docs/assets/api_game_notifications_functions_getNotifyStyle.md.Cow540_w.lean.js

1 line
3.4 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 t,c as o,a0 as a,o as r}from"./chunks/framework.P9qPzDnn.js";const u=JSON.parse('{"title":"Function: getNotifyStyle()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/notifications/functions/getNotifyStyle.md","filePath":"api/game/notifications/functions/getNotifyStyle.md","lastUpdated":null}'),n={name:"api/game/notifications/functions/getNotifyStyle.md"};function i(c,e,s,l,d,h){return r(),o("div",null,e[0]||(e[0]=[a('<p><a href="./../../../">Profectus</a> / <a href="./../">game/notifications</a> / getNotifyStyle</p><h1 id="function-getnotifystyle" tabindex="-1">Function: getNotifyStyle() <a class="header-anchor" href="#function-getnotifystyle" aria-label="Permalink to &quot;Function: getNotifyStyle()&quot;"></a></h1><blockquote><p><strong>getNotifyStyle</strong>(<code>color</code>, <code>strength</code>): <code>object</code></p></blockquote><p>Gives a <a href="https://vuejs.org/api/utility-types.html#cssproperties" target="_blank" rel="noreferrer">CSSProperties</a> object that makes an object glow, to bring focus to it. Default values are for a &quot;soft&quot; white notif effect.</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h2><h3 id="color" tabindex="-1">color <a class="header-anchor" href="#color" aria-label="Permalink to &quot;color&quot;"></a></h3><p><code>string</code> = <code>&quot;white&quot;</code></p><p>The color of the glow effect.</p><h3 id="strength" tabindex="-1">strength <a class="header-anchor" href="#strength" aria-label="Permalink to &quot;strength&quot;"></a></h3><p><code>string</code> = <code>&quot;8px&quot;</code></p><p>The strength of the glow effect - affects its spread.</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><code>object</code></p><h3 id="bordercolor" tabindex="-1">borderColor <a class="header-anchor" href="#bordercolor" aria-label="Permalink to &quot;borderColor&quot;"></a></h3><blockquote><p><strong>borderColor</strong>: <code>&quot;rgba(0, 0, 0, 0.125)&quot;</code> = <code>&quot;rgba(0, 0, 0, 0.125)&quot;</code></p></blockquote><h3 id="boxshadow" tabindex="-1">boxShadow <a class="header-anchor" href="#boxshadow" aria-label="Permalink to &quot;boxShadow&quot;"></a></h3><blockquote><p><strong>boxShadow</strong>: `-4px -4px 4px rgba(0, 0, 0, 0.25) inset, 0 0 ${string} ${string}`</p></blockquote><h3 id="transform" tabindex="-1">transform <a class="header-anchor" href="#transform" aria-label="Permalink to &quot;transform&quot;"></a></h3><blockquote><p><strong>transform</strong>: <code>&quot;scale(1.05, 1.05)&quot;</code> = <code>&quot;scale(1.05, 1.05)&quot;</code></p></blockquote><h3 id="zindex" tabindex="-1">zIndex <a class="header-anchor" href="#zindex" aria-label="Permalink to &quot;zIndex&quot;"></a></h3><blockquote><p><strong>zIndex</strong>: <code>number</code> = <code>1</code></p></blockquote><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/notifications.ts#L16" target="_blank" rel="noreferrer">profectus/src/game/notifications.ts:16</a></p>',23)]))}const p=t(n,[["render",i]]);export{u as __pageData,p as default};