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

possible to move layers up and down / change the z-index? #20

Closed
ImDom opened this issue Mar 21, 2011 · 3 comments
Closed

possible to move layers up and down / change the z-index? #20

ImDom opened this issue Mar 21, 2011 · 3 comments

Comments

@ImDom
Copy link

ImDom commented Mar 21, 2011

Is it possible to move layers up (/front/moveToFront) and down (/back) in Fabric.js? Looked at the docs but couldnt really find anything saying anything about it.

Thanks

@ImDom
Copy link
Author

ImDom commented Mar 22, 2011

Found the solution in the docs

http://kangax.github.com/fabric.js/docs/symbols/fabric.Element.html#bringForward
http://kangax.github.com/fabric.js/docs/symbols/fabric.Element.html#sendBackwards

Must have missed it or I did not look hard enough.

Thanks for the docs! :)

@ImDom ImDom closed this as completed Mar 22, 2011
@kangax
Copy link
Member

kangax commented Mar 24, 2011

Great. Glad it helped! :)

asturur added a commit that referenced this issue Jun 26, 2015
kangax pushed a commit that referenced this issue Feb 28, 2016
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

3 participants