Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/react-cookie-banner/src/hooks/useRenderedHeightsAsCssVars"

Index

Functions

useRenderedHeightsAsCssVars

  • useRenderedHeightsAsCssVars(element: HTMLElement, name: string): void
  • Pass an HTML refs and we will provide a root stylesheet with the height dimensions and variables with the calculated height. This is needed as we need to do some positioning of header and footer.

    Parameters

    • element: HTMLElement
    • name: string

    Returns void

Generated using TypeDoc