Skip to content

mercerbe/litelement-snippets

 
 

Repository files navigation

LitElement Snippets

Snippets for LitElement.

Installation

From VSCode extension panel, look for LitElement Snippets and install.

Or, Ctrl+P inside VSCode and paste the following code:

ext install BenMercer.litelement-snippets

Forked and modified from the original by Victorbp

Usage

Start typing the snippet name and press enter to generate the code.

Snippet Expansion
lit-elem Full LitElement class
lit-prop Static getter for properties
lit-styles Static getter for styles
lit-render render function
@lit-elem Full LitElement class with TypeScript

Built With

License

This project is licensed under the MIT License - see the LICENSE file for details