Skip to content

Group location API #389

Open
Open
@scottaxcell

Description

@scottaxcell

How can I get the location of a group in a Dockview? I do see a number of functions related to this in the source but have not been able to figure how to gain access to them via the API.

I'm implementing a feature that creates new group by splitting out the active panel and would like to be able to obtain the locations of the current groups. Additionally, I'm creating a feature that would rotate groups in either the horizontal or vertical directions based on the current split direction. This too would benefit from being able to identify the location of the groups.

Here is a CodeSandbox fork of the introduction example from the Dockview documentation, https://codesandbox.io/s/admiring-surf-clxr6g. The example iterates through the groups and prints the objects to the console. I'd like to be able to get the location of the group.

Sorry if I missed this in the documentation. Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions