You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Floating groups can be interacted with whilst holding the `shift` key activating the `event.shiftKey` boolean property on `KeyboardEvent` events.
30
+
You can control the bounding box of floating groups through the optional `floatingGroupBounds` options:
31
31
32
-
## Live Example
32
+
-`boundedWithinViewport` will force the entire floating group to be bounded within the docks viewport.
33
+
-`{minimumHeightWithinViewport?: number, minimumWidthWithinViewport?: number}` sets the respective dimension minimums that must appears within the docks viewport
34
+
- If no options are provided the defaults of `100px` minimum height and width within the viewport are set.
Floating groups can be programatically added through the dockview `api` method `api.addFloatingGroup(...)` and you can check whether
52
-
a group is floating via the `group.api.location` property. See examples for full code.
54
+
You can check whether a group is floating via the `group.api.location` property. See examples for full code.
53
55
54
-
You can control the bounding box of floating groups through the optional `floatingGroupBounds` options:
55
56
56
-
-`boundedWithinViewport` will force the entire floating group to be bounded within the docks viewport.
57
-
-`{minimumHeightWithinViewport?: number, minimumWidthWithinViewport?: number}` sets the respective dimension minimums that must appears within the docks viewport
58
-
- If no options are provided the defaults of `100px` minimum height and width within the viewport are set.
57
+
## Working with Floating Groups
58
+
59
+
<h4>Float an existing tab by holding `shift` whilst interacting with the tab</h4>
0 commit comments