Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

properties Onmouseover, onmouseout are impossible to set in SvgRectangle #1039

Open
compunited opened this issue Feb 9, 2023 · 0 comments
Open

Comments

@compunited
Copy link

I want to add atooltiptext on mouse over like the following sample

function showTooltip(evt, text) {
let tooltip = document.getElementById("tooltip");
tooltip.innerHTML = text;
tooltip.style.display = "block";
tooltip.style.left = evt.pageX + 10 + 'px';
tooltip.style.top = evt.pageY + 10 + 'px';
}

function hideTooltip() {
var tooltip = document.getElementById("tooltip");
tooltip.style.display = "none";
}

but it seems impossible to fill thes properties in SvgRectangle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant