mirror of
https://github.com/enso-org/enso.git
synced 2024-12-22 13:21:35 +03:00
b286adaae4
# Important Notes The command to run the gui dev environment has been changed. Invoking the old command will print a message about that. From now on, use `pnpm dev:gui2` in repository root.
18 lines
424 B
Vue
18 lines
424 B
Vue
<script setup lang="ts">
|
|
import { ref } from 'vue'
|
|
|
|
import { useKeyboard } from '@/composables/keyboard'
|
|
import { useNavigator } from '@/composables/navigator'
|
|
|
|
const viewportNode = ref<HTMLElement>()
|
|
|
|
const keyboard = useKeyboard()
|
|
const navigator = useNavigator(viewportNode, keyboard)
|
|
</script>
|
|
|
|
<template>
|
|
<div ref="viewportNode" class="NavigatorWrapper">
|
|
<slot :navigator="navigator"></slot>
|
|
</div>
|
|
</template>
|