Skip to content

Instantly share code, notes, and snippets.

@fouad-j
fouad-j / LitElementLight.ts
Created October 29, 2020 08:43
Create Component (custom-element & slot) with lit-element
import {LitElement} from 'lit-element';
class LitElementLight extends LitElement {
slotMap: object;
connectedCallback() {
this.slotMap = Array
.from(this.renderRoot.querySelectorAll('[slot]'))
.reduce((map, obj) => ({
...map,

Project name

Project details:

Confluence link

CI/CD

Please check azure-pipeline.yml to have an overview of different CI/CD tasks

Start application

Run mvn clean install to install dependecies...