Function renderElementToText

  • Internal

    Render an element to text, stripping out any HTML tags. This is roughly equivalent to getting innerText on a rendered element.

    Parameters

    • element: undefined | null | Element

    Returns string