This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { computed, nextTick, reactive, ref, unref, watch } from 'vue' | |
import type { MaybeElementRef, MaybeRef } from '@vueuse/core' | |
import { clamp, createEventHook, tryOnScopeDispose, unrefElement, useEventListener } from '@vueuse/core' | |
type Edges = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left' | 'right' | 'top' | 'bottom' | |
export interface UseResizeOptions { | |
disabled?: boolean | |
mode?: MaybeRef<'auto' | 'manual'> | |
disableCursor?: MaybeRef<boolean> | |
xMultiplier?: MaybeRef<number> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { unrefElement, useEventListener } from '@vueuse/core' | |
const defaultWindow = typeof window !== 'undefined' ? window : undefined | |
/** | |
* Listen for clicks outside of an element. | |
* | |
* @see https://vueuse.org/onClickOutside | |
* @param target | |
* @param handler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Copyright (C) Microsoft Corporation. All rights reserved. --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self' https: data: blob: vscode-remote-resource:; media-src 'none'; frame-src 'self' vscode-webview: https://*.vscode-webview-test.com; object-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; connect-src 'self' https: ws:; font-src 'self' https: vscode-remote-resource:;"> | |
</head> | |
<body aria-label=""> | |
</body> |