17 lines
705 B
TypeScript
17 lines
705 B
TypeScript
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';
|
|
import { CrossFrameMessenger } from './crossframe-messenger.js';
|
|
import { MenuManager } from './menu-manager.js';
|
|
|
|
customElements.define('edge-menu', MenuElement);
|
|
customElements.define('edge-menu-item', MenuItemElement);
|
|
customElements.define('edge-menu-sub-item', MenuSubItemElement);
|
|
|
|
export const Client = new EdgeClient();
|
|
export const Frame = new CrossFrameMessenger();
|
|
export const Menu = new MenuManager();
|