Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lit-html"

Index

Functions

html

  • html(strings: TemplateStringsArray, ...values: any[]): TemplateResult
  • Interprets a template literal as an HTML template that can efficiently render to and update a container.

    Parameters

    • strings: TemplateStringsArray
    • Rest ...values: any[]

    Returns TemplateResult

render

  • render(result: TemplateResult, container: Element | DocumentFragment): void
  • Renders a template to a container.

    To update a container with new values, reevaluate the template literal and call render with the new result.

    Parameters

    Returns void

Generated using TypeDoc