aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2024-09-19 14:00:28 +0200
committerMartin Ridgers <[email protected]>2024-09-24 10:57:34 +0200
commitb0f2420d119c6151e45cbdad4bd0d978d1235beb (patch)
tree5f9939d0cd9fb57022c591c7c4b6ceb3945e6a22 /src
parentDeleted superfluous variable name suffix (diff)
downloadzen-b0f2420d119c6151e45cbdad4bd0d978d1235beb.tar.xz
zen-b0f2420d119c6151e45cbdad4bd0d978d1235beb.zip
Component.inner() for access to the underlying DOM element
Diffstat (limited to 'src')
-rw-r--r--src/zenserver/frontend/html/zen.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zenserver/frontend/html/zen.js b/src/zenserver/frontend/html/zen.js
index 175eba2ee..177cbd299 100644
--- a/src/zenserver/frontend/html/zen.js
+++ b/src/zenserver/frontend/html/zen.js
@@ -8,6 +8,11 @@ class Component
this._element = element;
}
+ inner()
+ {
+ return this._element;
+ }
+
destroy()
{
this._element.parentNode.removeChild(this._element);