File size: 465 Bytes
fc7156e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<script lang="ts">
  export let pos;
  console.log({pos});
  function titleClicked() {
    expanded = !expanded;
  }
</script>

<div class="node-search"
style="top: {pos.top}px; left: {pos.left}px; right: {pos.right}px; bottom: {pos.bottom}px;">

  Node Search!
</div>

<style>
  .node-search {
    position: absolute;
    width: 300px;
    z-index: 5;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #888;
    background-color: white;
  }
</style>