feat: Add export statement for split-views module

This commit is contained in:
Mauro Balades 2024-08-06 01:14:27 +02:00
parent bde9763255
commit 6ad0e99b54
6 changed files with 1572 additions and 11 deletions

View file

@ -45,8 +45,14 @@ class SplitViewsBase extends Component {
}
}
declare global {
interface Window {
gSplitViewsComponent: typeof SplitViewsBase;
}
}
// Public API exposed by the module
export class gSplitViews extends SplitViewsBase {
window.gSplitViewsComponent = class extends SplitViewsBase {
constructor(config: SplitViewConfig) {
super(config);
}