Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/headless-content-unblocker/src/dom/transformInlineStyleRules"

Index

Functions

transformInlineStyle

  • transformInlineStyle(style: string, checker: Parameters<typeof decideToUnblock>[3]): [string, number]
  • Find consent URLs and check for consent and return new style string.

    see

    https://regex101.com/r/9FJWnR/1

    Parameters

    • style: string
    • checker: Parameters<typeof decideToUnblock>[3]

    Returns [string, number]

transformInlineStyleRules

  • transformInlineStyleRules(checker: Parameters<typeof decideToUnblock>[3]): void
  • Get all blocked rules within a inline CSS style and check, if they can be enabled by a consent.

    Parameters

    • checker: Parameters<typeof decideToUnblock>[3]

    Returns void

Generated using TypeDoc