From c7cd0cad0a37468ca82a9cd987674be858f98573 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sat, 7 Oct 2023 23:55:23 +0200 Subject: [PATCH] feat: update component to button --- public/components/hello-world.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/components/hello-world.js b/public/components/hello-world.js index 5c1b6e8..b670be1 100644 --- a/public/components/hello-world.js +++ b/public/components/hello-world.js @@ -12,11 +12,10 @@ export default class HelloWorld extends WebComponent { this.name = `I was clicked ${++count} times`; this.render(); }; - this.style.cursor = "pointer"; this.setAttribute("title", "Click me please"); } get template() { - return `Hello ${this.name}! I am interactive`; + return ``; } }