feat: add style and title
This commit is contained in:
parent
c1266ed75b
commit
180d04eacd
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ 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() {
|
||||
|
|
Loading…
Reference in a new issue