aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/display-notification.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-05-20 18:08:20 -0400
committerGitHub <noreply@github.com>2022-05-20 18:08:20 -0400
commite498e2d029095e6f15417a3d7dfa693c497e54eb (patch)
tree9c3613e8b1ffb0be241bba9a53a03e5aabe41f8f /ext/js/display/display-notification.js
parent31e20c889e467aa4ba64b0b5baf602adc1359371 (diff)
Display notification updates (#2149)
* Expose container and node on DisplayNotification * Add Display.createNotification * Rename methods * Rename fields * Remove double newline
Diffstat (limited to 'ext/js/display/display-notification.js')
-rw-r--r--ext/js/display/display-notification.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/js/display/display-notification.js b/ext/js/display/display-notification.js
index e3da8371..f9e72e6b 100644
--- a/ext/js/display/display-notification.js
+++ b/ext/js/display/display-notification.js
@@ -25,6 +25,14 @@ class DisplayNotification {
this._closeTimer = null;
}
+ get container() {
+ return this._container;
+ }
+
+ get node() {
+ return this._node;
+ }
+
open() {
if (!this.isClosed()) { return; }