Clickable action entry title
This commit is contained in:
@ -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{
|
||||
|
@ -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();};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user