PluginPanel
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
icon? |
string |
- |
id |
string |
Unique within the plugin. |
title |
PluginText |
- |
Methods
Section titled “Methods”render()
Section titled “render()”render(body): void | (() => void);Fills the panel with plain DOM; may return a function to clean up when it closes. It is called again, after cleaning up, when the editor’s language changes. To show new content meanwhile, change the body’s DOM.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
body |
HTMLElement |
Returns
Section titled “Returns”void | (() => void)