@netless/telebox-insider 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netless/telebox-insider",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "private": false,
5
5
  "description": "Window widget for Whiteboard",
6
6
  "license": "MIT",
@@ -690,6 +690,9 @@ export class TeleBox {
690
690
  /** DOM of the box content */
691
691
  public $content!: HTMLElement;
692
692
 
693
+ /** DOM of the box title bar */
694
+ public $titleBar!: HTMLElement;
695
+
693
696
  /** DOM of the box footer */
694
697
  public $footer!: HTMLElement;
695
698
 
@@ -833,6 +836,7 @@ export class TeleBox {
833
836
  const $titleBar = document.createElement("div");
834
837
  $titleBar.className = this.wrapClassName("titlebar-wrap");
835
838
  $titleBar.appendChild(this.titleBar.render());
839
+ this.$titleBar = $titleBar;
836
840
 
837
841
  const $contentWrap = document.createElement("div");
838
842
  $contentWrap.className = this.wrapClassName("content-wrap");