Skip to content

Commit

Permalink
Fixes split view issue
Browse files Browse the repository at this point in the history
  • Loading branch information
walmazacn committed Oct 15, 2024
1 parent 673f397 commit 06a2d59
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 123 deletions.
7 changes: 4 additions & 3 deletions client/src/splitViewHandle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ import { LuigiClientBase } from './baseClass';
import { helpers } from './helpers';

/**
* Split view
Allows to open a micro frontend in a split screen in the lower part of the content area. Open it by calling `const splitViewHandle = LuigiClient.linkManager().openAsSplitView`.
* Split view allows to open a micro frontend in a split screen in the lower part of the content area.
Open it by calling `const splitViewHandle = LuigiClient.linkManager().openAsSplitView`.
At a given time, you can open only one split view. It closes automatically when you navigate to a different route.
When you call `handle.collapse()`, the split view gets destroyed. It recreates when you use `handle.expand()`.
`openAsSplitView` returns an instance of the split view handle. The functions, actions, and event handlers listed below allow you to control and manage the split view.
`openAsSplitView` returns an instance of the split view handle.
The functions, actions, and event handlers listed below allow you to control and manage the split view.
* @name splitViewHandle
* @since 0.6.0
*/
Expand Down
Loading

0 comments on commit 06a2d59

Please sign in to comment.