mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
WIP: navigate to clicked area
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div ref="overview" class="workflow-overview" :style="style" aria-hidden="true">
|
||||
<div class="workflow-overview-body">
|
||||
<svg width="100%" height="100%" :viewBox="viewBox">
|
||||
<svg width="100%" height="100%" :viewBox="viewBox" @click="onClick">
|
||||
<MinimapNode
|
||||
class="mini-node"
|
||||
:node="node"
|
||||
@@ -130,5 +130,10 @@ export default {
|
||||
return `${this.bounds.left} ${this.bounds.top} ${this.bounds.right} ${this.bounds.bottom}`;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
onClick(e) {
|
||||
console.log("got click", e);
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user