Zum Inhalt

src/player/element.ts

1
2
3
4
5
6
7
8
// src/player/element.ts
import { PhysarumPlayer } from './PhysarumPlayer';

if (typeof customElements !== 'undefined' && !customElements.get('physarum-player')) {
  customElements.define('physarum-player', PhysarumPlayer);
}

export { PhysarumPlayer };