Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "wordpress-plugins/real-cookie-banner/src/public/ts/utils/ensureBodyElement"

Index

Functions

Functions

ensureBodyElement

  • ensureBodyElement(element: HTMLElement): HTMLElement
  • Ensure the given HTML is a child of body. If not, it automatically gets moved.

    Parameters

    • element: HTMLElement

    Returns HTMLElement

Generated using TypeDoc