javascript - Arrow not shown in jsplumb connection -


i have created connection between div block using jsplumb. want add arrow on top of connection line. arrow not shown up. have no idea on it.

is there idea why arrow not show up? thing missing? lot.

` html: abc

xyz

css:

window20 {top: 10em; left: 10em; width: 8em;}

window21 {top: 26em; left: 10em; width: 8em;}

javascript: jsplumb.connect({ source:"window20", target:"window21", anchors:["bottom", "top"], connector:"straight", endpointsontop:true, overlays:["arrow"] });

`

try this

jsplumb.bind('connection', function (e) {         jsplumb.select(e).addoverlay(["arrow", { foldback: 0.2, location: 0.65, width: 25 }]); }); 

Comments

Popular posts from this blog

c# - ReportViewer control - axd url -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ssl - no cipher suites in common on Liberty Websphere -