Clickable action entry title

This commit is contained in:
l_samenv
2024-09-05 08:23:41 +02:00
parent 48d522396f
commit 7855cdda7d
2 changed files with 4 additions and 1 deletions

View File

@ -6,9 +6,11 @@
}
.action-entry-title{
text-align: center;
text-align: left;
vertical-align: middle;
line-height: 28px;
width: 100%;
cursor: pointer;
}
.action-entry-arrow{

View File

@ -13,6 +13,7 @@ class ActionEntry extends HTMLElement{
connectedCallback(){
this.render();
this.getElementsByClassName("action-entry-title")[0].onclick = () => {this.performActionCallback();};
this.getElementsByTagName("img")[0].onclick = () => {this.performActionCallback();};
}