UNPKG

@rws-framework/client

Version:

Realtime Web Suit is a web-component powered, MS FAST powered fullstack-oriented framework that you can use to create domain-agnostic modular asynchoronous components with intershared authorized states.

16 lines (11 loc) 525 B
import {DI, Container, Registration, InterfaceSymbol, Key } from '../../foundation/rws-foundation'; import {loadRWSRichWindow} from '../types/RWSWindow'; export default () => { const richWindow = loadRWSRichWindow(); if(richWindow.RWS.container){ return richWindow.RWS.container; } richWindow.RWS.container = DI.getOrCreateDOMContainer(richWindow.RWS.container_node); return richWindow.RWS.container; }; export { DI, Container, Registration, InterfaceSymbol, Key }