Lego webcomponents demo

Hello World 🔗

Simple example with a default text and attributes override

Button 🔗

Demonstrate state change when clicking a button

Independant instances 🔗

A single component can be behave different with attributes.

Here are how countries display the same time:

Color Tiling 🔗

🖱️ Mouse over the block below

This demo is about reactive CSS with mouse event and setInterval 😎

Counter 🔗

This shows how events can update the view