• // TEST: injectViewerIFrame Inject an iFrame into the current page that will display a LIT. This function safely sandboxes the content in the iFrame so that the LIT cannot see cookies or localStorage of the parent website.

    Property

    The DOM ID of the element to inject the iFrame into

    Property

    The title of the content being displayed

    Property

    The URL of the content that will be shown in the iFrame

    Property

    An optional DOM class name to add to the iFrame for styling

    Returns

    Parameters

    • params: {
          className: string;
          destinationId: string;
          fileUrl: string;
          title: string;
      }
      • className: string
      • destinationId: string
      • fileUrl: string
      • title: string

    Returns void

Generated using TypeDoc