MarkdownRenderChild โ€บ (constructor)

MarkdownRenderChild.(constructor)

Constructs a new instance of the MarkdownRenderChild class

Signature:

constructor(containerEl: HTMLElement);

Parameters

ParameterTypeDescription
containerElHTMLElementThis 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.