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

Stack demo, WIP #127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Stack demo, WIP #127

wants to merge 1 commit into from

Conversation

mrienstra
Copy link
Contributor

New demo to showcase how to change the stack order of objects on the canvas.

Doesn't cover grouped objects, multiple selections, etc., just objects directly added to the canvas, one at a time.

Thoughts?

Tempted to add more functionality, or have two demos in one, like the "Custom controls" demo -- the first could be even simpler than what I have now, and the second more complex.

Off topic of this PR: it would be really nice to have demo code available as both Typescript and Javascript!

@asturur
Copy link
Member

asturur commented Jul 6, 2024

i m still confused on how content should be organized.
You demo is an halfway throug some code and explaining the object stacking.
The available content on the website is still a copy of what was on fabricjs.com and i m not sure the direction is the good one.

@asturur
Copy link
Member

asturur commented Jul 6, 2024

Concepts needs to be grouped in small units that can be then summarized in a page with some code snippets.
I think one could be working with the stack and that and this demo could become that.
But i need to make at least some introduction pages to set the style / expectations.
I m also happy about content review once is there.

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