Options
All
  • Public
  • Public/Protected
  • All
Menu

lit-html API

Main exports

Import the main lit-html functions from the lit-html module:

import {render, html, svg} from 'lit-html';

Directives

lit-html comes with a set of directives. You can import them as individual modules from the lit-html/directives/ folder:

import {repeat} from 'lit-html/directives/repeat.js';

For a list of directives that ship with lit-html, see the Template syntax reference.

Generated using TypeDoc