Function html

  • A template literal tag that does nothing. Useful for syntax highlighting of HTML code.

    Parameters

    • strings: any
    • Rest ...rest: any[]

    Returns string

    Example

    const vertexShader = html`
    <div class="my-class">
    <p>Some text</p>
    </div>
    `