feat: InspiraUI
This commit is contained in:
11
src/components/InspiraUI/dock/injectionKeys.ts
Normal file
11
src/components/InspiraUI/dock/injectionKeys.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import type { Ref, InjectionKey, ComputedRef } from "vue";
|
||||
import type { DataOrientation } from "./types";
|
||||
|
||||
export const MOUSE_X_INJECTION_KEY = Symbol() as InjectionKey<Ref<number>>;
|
||||
export const MOUSE_Y_INJECTION_KEY = Symbol() as InjectionKey<Ref<number>>;
|
||||
|
||||
export const MAGNIFICATION_INJECTION_KEY = Symbol() as InjectionKey<ComputedRef<number>>;
|
||||
|
||||
export const DISTANCE_INJECTION_KEY = Symbol() as InjectionKey<ComputedRef<number>>;
|
||||
|
||||
export const ORIENTATION_INJECTION_KEY = Symbol() as InjectionKey<DataOrientation>;
|
Reference in New Issue
Block a user