Skip to content

Commit 5243d4e

Browse files
committed
add slot to remoterenderingview
1 parent 814d985 commit 5243d4e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

components/RemoteRenderingView.vue

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
<ClientOnly>
33
<div style="position: relative; width: 100%; height: 100%">
44
<view-toolbar />
5+
<div
6+
style="
7+
position: absolute;
8+
z-index: 2;
9+
left: 0;
10+
top: 0;
11+
background-color: transparent;
12+
border-radius: 16px;
13+
"
14+
>
15+
<slot name="tree-object"></slot>
16+
</div>
517
<v-col
618
ref="viewer"
719
style="
@@ -103,3 +115,14 @@
103115
view.render()
104116
}
105117
</script>
118+
119+
<style scoped>
120+
.list {
121+
position: absolute;
122+
z-index: 2;
123+
left: 0;
124+
top: 0;
125+
background-color: transparent;
126+
border-radius: 16px;
127+
}
128+
</style>

0 commit comments

Comments
 (0)