Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 620 Bytes

readme.md

File metadata and controls

20 lines (14 loc) · 620 Bytes

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.