-
Notifications
You must be signed in to change notification settings - Fork 28
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
Group location API #389
Comments
I'm dumb, I figured out to import the function directly. Sorry for the noise.
|
I will re-open this as an issue because I think such method should probably be exposed through the If you have any examples of you using this function to achieve something cool I would be interested to see how you are using it too. |
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!
The text was updated successfully, but these errors were encountered: