Properties on the UXP panel

Are there any special properties on the panel object that developers can use? I saw a uxpContainer property in one edit session.

Occasionally my plugin panel is blank and I can’t track it down or reproduce it consistently.

Is there a way to check if my panel has been added (visible) and to what node it’s added to? I’m setting a global boolean flag now with show() and hide() methods and checking if myDialog.parentNode is null.

Do you have to use panel object?

let panelContainer = document.createElement("panel");

Further down the page the example uses a “div”:

panel = document.createElement("div");

not at all. panel object actually does not exist. It’s equivalent to a div