Commit c88a9dd5 authored by Maike Weber's avatar Maike Weber
Browse files

default value gray, can get color as variable from genome vuer

parent 2a21216b
Vue.component("lane",{
template:
`
<svg :height="height" :x="x" :y="y">
<line :x1="x+10" :y1="height/2" :x2="width" :y2="height/2" stroke="#39FF14" stroke-width="2" stroke-dasharray="20, 5" />
<svg :height="height" :x="x" :y="y" :stroke="color">
<line :x1="x+10" :y1="height/2" :x2="width" :y2="height/2" :stroke="color" stroke-width="2" stroke-dasharray="20, 5" />
</svg>
`,
props: {
......@@ -26,6 +26,9 @@ Vue.component("lane",{
return true
}
},
color: {
default: '#222222'
},
},
methods: {
my_method(){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment