UNPKG

@logcomex/aylawc-core

Version:

An experimental library of web components

19 lines 590 B
import { EventDispatcher } from './event/index'; import { Integration } from './integration/integration'; import { Translation } from './translation/index'; export class Inject { constructor(env) { this.env = env; this.translation = new Translation(); this.event = new EventDispatcher(); this.integration = new Integration(this.env); } } export function defineAylaComponents(env) { window.aylacc = new Inject(env); window.aylacc.integration.loader(); } export function useCore() { return window.aylacc; } //# sourceMappingURL=index.js.map