MarkdownPostProcessorContext.addChild method
MarkdownPostProcessorContext › addChild
Official
Adds a child component that will have its lifecycle managed by the renderer.Use this to add a dependent child to the renderer such that if the containerEl of the child is ever removed, the component's unload will be called.
Signature:
addChild(child: MarkdownRenderChild): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| child | MarkdownRenderChild |
Returns: void