t.type === 'tooltip') ?? 1) + 10000}
- on:click|stopPropagation|preventDefault={() => {
- closeTooltip()
- }}
- on:keydown|stopPropagation|preventDefault={() => {}}
- />
-{/if}
-
-{#if $tooltip.component && $tooltip.kind !== 'submenu'}
-
+
+{#if !fullScreen}
- {#if !$tooltip.noArrow}
+{/if}
+
+{#if (fullScreen && document.fullscreenElement != null) || (!fullScreen && document.fullscreenElement == null)}
+ {#if $tooltip.kind === 'popup'}
+
t.type === 'tooltip') ?? 1) + 10000}
- class="nub {nubDirection ?? ''}"
- class:testing
- class:shown
+ on:click|stopPropagation|preventDefault={() => {
+ closeTooltip()
+ }}
+ on:keydown|stopPropagation|preventDefault={() => {}}
/>
{/if}
-{:else if $tooltip.label && $tooltip.kind !== 'submenu'}
-
-{:else if $tooltip.kind === 'submenu'}
-