back

Hello panel

The simplest example: open a panel containing some HTML. The panel is draggable, resizable, focusable, stackable, miniaturizable, and closable — all from default options.

import panel from "../index.js";

panel.open("", "Hello", { width: 360, height: 220 })
     .setHTML("<p>Hello from Panel API.</p>");