From cb813205d8de5b5e4f7a8f98336f66f334c0aa4f Mon Sep 17 00:00:00 2001 From: Serik Date: Thu, 4 Jul 2024 01:24:44 +0500 Subject: [PATCH] readme updated --- readme.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 92512fc..655bba6 100644 --- a/readme.md +++ b/readme.md @@ -107,15 +107,16 @@ In this example: ## How to deal with dark/light mode -## EventTarget as a global storage +## EventTarget Demo: [BasketStorage](https://serikshaikamalov.github.io/lit-components/examples/basket/index.html) -Why to use it? +When to use it? - A way of communication between components - Source of the truth - Implement subscriber/listener pattern +- Global storage Usage