2023-04-18 17:57:16 +02:00
|
|
|
import './polyfill';
|
|
|
|
|
|
|
|
import { Client as EdgeClient } from './client.js';
|
|
|
|
import { Menu as MenuElement } from './components/menu.js';
|
|
|
|
import { MenuItem as MenuItemElement } from './components/menu-item.js';
|
|
|
|
import { MenuSubItem as MenuSubItemElement } from './components/menu-sub-item.js';
|
2023-04-06 18:16:17 +02:00
|
|
|
import { CrossFrameMessenger } from './crossframe-messenger.js';
|
2023-04-18 17:57:16 +02:00
|
|
|
import { MenuManager } from './menu-manager.js';
|
|
|
|
|
|
|
|
customElements.define('edge-menu', MenuElement);
|
|
|
|
customElements.define('edge-menu-item', MenuItemElement);
|
|
|
|
customElements.define('edge-menu-sub-item', MenuSubItemElement);
|
2023-02-09 12:16:36 +01:00
|
|
|
|
2023-04-18 17:57:16 +02:00
|
|
|
export const Client = new EdgeClient();
|
|
|
|
export const Frame = new CrossFrameMessenger();
|
|
|
|
export const Menu = new MenuManager();
|