Documentation
    Preparing search index...

    Function createThemeProxy

    • Factory for the canonical theme-domain proxy.

      Parameters

      Returns ThemeProxy

      A ThemeProxy ready to route theme.* envelopes

      import { createThemeProxy, originRegistry } from '@kehto/shell';

      const themeProxy = createThemeProxy({
      runtime,
      originRegistry,
      });
      themeProxy.dispatch(windowId, { type: 'theme.get', id: requestId });