Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/headless-content-unblocker/src/visual/createVisualContainer"

Index

Functions

createVisualContainer

  • createVisualContainer(node: HTMLElement, createBefore: HTMLElement, visualParentMode: ReturnType<typeof findVisualParent>[1]): { container: HTMLDivElement; thumbnail: VisualThumbnail }
  • Create visual content blocker container for a given node.

    Parameters

    • node: HTMLElement
    • createBefore: HTMLElement
    • visualParentMode: ReturnType<typeof findVisualParent>[1]

    Returns { container: HTMLDivElement; thumbnail: VisualThumbnail }

Generated using TypeDoc