Function setHTML

  • Sets inner HTML softly, i.e. without changing anything if the inner HTML already matches the given HTML.

    Parameters

    • el: HTMLElement
    • html: string

    Returns void