You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
heya, i've tried passing in hardcoded numbers, and also css selectors to "from" and "to" in the config object, but always get a path in the svg without any coords!
let imgSelector = 'img.' + target.getAttribute('data-word'),
spanSelector = 'span.' + target.getAttribute('data-word');
let connector = new ConnectionLine({
from: imgSelector,
to: spanSelector
});
console.log(imgSelector,spanSelector); // all good
this.lines.nativeElement.appendChild(connector.element); // this works too, i see the new element in the DOM