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

Dynamically control the order of SVG elements added to container #804

Open
sreedharmb opened this issue Oct 31, 2013 · 0 comments
Open

Dynamically control the order of SVG elements added to container #804

sreedharmb opened this issue Oct 31, 2013 · 0 comments

Comments

@sreedharmb
Copy link

Where ever we add and SVG element to the container, Raphael adds it as first child of the container. Logic for it is between lines 7003-7007
if (container.firstChild) {
container.insertBefore(cnvs, container.firstChild);
} else {
container.appendChild(cnvs);
}

Can this be made dynamic, so user can control where to add an SVG.

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

No branches or pull requests

2 participants