import{_ as t,c as a,a0 as o,o as i}from"./chunks/framework.P9qPzDnn.js";const u=JSON.parse('{"title":"Function: createDismissableNotify()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/notifications/functions/createDismissableNotify.md","filePath":"api/game/notifications/functions/createDismissableNotify.md","lastUpdated":null}'),r={name:"api/game/notifications/functions/createDismissableNotify.md"};function n(s,e,c,l,d,f){return i(),a("div",null,e[0]||(e[0]=[o('
Profectus / game/notifications / createDismissableNotify
createDismissableNotify(
element
,shouldNotify
):Ref
<boolean
>
Create a boolean ref that will automatically be set based on the given condition, but also dismissed when hovering over a given element, typically the element where acting upon the notification would take place.
The element that will dismiss the notification on hover.
A function or ref that determines if the notif should be active currently or not.
Ref
<boolean
, boolean
> | () => boolean
Ref
<boolean
>