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

Decide if we really need two slots on the wrapper component #17

Open
0gust1 opened this issue Sep 21, 2023 · 0 comments
Open

Decide if we really need two slots on the wrapper component #17

0gust1 opened this issue Sep 21, 2023 · 0 comments

Comments

@0gust1
Copy link
Owner

0gust1 commented Sep 21, 2023

The wrapper component actually has 2 slots: inside and outside.

The reason is mostly to offer the user enough options to place its own components around the molstar <canvas>.
Typically, the inside slot would be useful for any UI element that should be placed "over" the molstar canvas (the parent has a position:relative CSS behavior.

But in fact those two slot may complexify the API for the user. Further tests with various layouts are needed.

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