feat: add style and title

This commit is contained in:
Ayo 2023-10-07 20:18:14 +02:00
parent c1266ed75b
commit 180d04eacd

View file

@ -12,6 +12,8 @@ export default class HelloWorld extends WebComponent {
this.name = `I was clicked ${++count} times`; this.name = `I was clicked ${++count} times`;
this.render(); this.render();
}; };
this.style.cursor = "pointer";
this.setAttribute("title", "Click me please");
} }
get template() { get template() {