enso/app/gui2/stories/NavigatorWrapper.vue

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
323 B
Vue
Raw Normal View History

<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>