mirror of
https://github.com/enso-org/enso.git
synced 2024-12-20 07:22:30 +03:00
f2651d58e4
- Closes #7916 # Important Notes None
16 lines
323 B
Vue
16 lines
323 B
Vue
<script setup lang="ts">
|
|
import { ref } from 'vue'
|
|
|
|
import { useNavigator } from '@/util/navigator'
|
|
|
|
const viewportNode = ref<HTMLElement>()
|
|
|
|
const navigator = useNavigator(viewportNode)
|
|
</script>
|
|
|
|
<template>
|
|
<div ref="viewportNode" class="NavigatorWrapper">
|
|
<slot :navigator="navigator"></slot>
|
|
</div>
|
|
</template>
|