Function
initialiseSharing
(layout: GoldenLayout, isEmbedded: boolean)
Source from the content-addressed store, hash-verified
| 520 | |
| 521 | // Initialize sharing functionality based on whether we're in embedded mode or not |
| 522 | export function initialiseSharing(layout: GoldenLayout, isEmbedded: boolean): void { |
| 523 | if (isEmbedded) { |
| 524 | // Just create the base class for state tracking and link updates |
| 525 | new SharingBase(layout); |
| 526 | } else { |
| 527 | // Create full Sharing with all features |
| 528 | new Sharing(layout); |
| 529 | } |
| 530 | } |
Tested by
no test coverage detected