Function noInnerHtmlOrFormAction

  • Prohibits a property name innerHTML and formAction of a DOM element and replaces it with a custom data attribute data-*.

    Parameters

    • key: string

      A property name.

    Returns string

    The censored property name.

Generated using TypeDoc