Api: Let box onclick also be detached attribute

This commit is contained in:
nathan 2023-04-14 09:07:05 -06:00
parent 6b870ec652
commit f28771e22b

View File

@ -108,7 +108,7 @@ export class Et2Box extends Et2Widget(LitElement) implements et2_IDetachedDOM
*/ */
getDetachedAttributes(_attrs) getDetachedAttributes(_attrs)
{ {
_attrs.push('data'); _attrs.push('data', 'onclick');
} }
getDetachedNodes() getDetachedNodes()