Add image property in avatar into detached attributes

This commit is contained in:
Hadi Nategh 2022-07-21 12:02:14 +02:00
parent d26ed9bfce
commit 679a589c25

View File

@ -387,7 +387,7 @@ export class Et2Avatar extends Et2Widget(SlotMixin(SlAvatar)) implements et2_IDe
*/ */
getDetachedAttributes(_attrs : string[]) getDetachedAttributes(_attrs : string[])
{ {
_attrs.push("contact_id", "label", "href", "src"); _attrs.push("contact_id", "label", "href", "src", "image");
} }
getDetachedNodes() getDetachedNodes()