Skip to content

Commit

Permalink
Connected the bed selection and remove event to broker
Browse files Browse the repository at this point in the history
  • Loading branch information
YangQi007 committed Oct 23, 2024
1 parent 58bae16 commit bd2570d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,15 +371,11 @@ <h1 id="home-button" data-link="/">bam2.iobio</h1>
});

document.addEventListener('bed-file-selected', (event) => {
console.log(event.detail)
broker.bedText = event.detail.bedText;
});

document.addEventListener('bed-file-removed', (event) => {
console.log(event.detail)
});

document.addEventListener('local-file-selected', (event) => {
console.log(event.detail)
broker.bedText = event.detail;
});
</script>
</body>
Expand Down

0 comments on commit bd2570d

Please sign in to comment.