Skip to content

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

@0gust1

Description

@0gust1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions