MarkdownRenderChild
โบ (constructor)
MarkdownRenderChild.(constructor)
Constructs a new instance of the MarkdownRenderChild
class
Signature:
constructor(containerEl: HTMLElement);
Parameters
Parameter | Type | Description |
---|---|---|
containerEl | HTMLElement | This HTMLElement will be used to test whether this component is still alive. It should be a child of the Markdown preview sections, and when itโs no longer attached (for example, when it is replaced with a new version because the user edited the Markdown source code), this component will be unloaded. |