Class IFrameConsumer

Consumer inside an iframe

Constructors

Methods

  • Factory that exports a facade available externally to the widget (for the webmaster)

    Returns Record<string, any>

  • Factory that exports a facade available to the widget

    Returns {
        externalizedProps: Record<string, any>;
        getSize: (() => {
            height: number;
            width: number;
        });
        initialize: ((...args) => void);
        resize: (() => undefined | void);
        watchSize: (() => void);
    }

    • externalizedProps: Record<string, any>
    • getSize: (() => {
          height: number;
          width: number;
      })
        • (): {
              height: number;
              width: number;
          }
        • Returns {
              height: number;
              width: number;
          }

          • height: number
          • width: number
    • initialize: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: []

          Returns void

    • resize: (() => undefined | void)
        • (): undefined | void
        • Returns undefined | void

    • watchSize: (() => void)
        • (): void
        • Returns void

Generated using TypeDoc