MarkdownPostProcessorContext
› addChild
MarkdownPostProcessorContext.addChild() method
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): void;
Parameters
Parameter | Type | Description |
---|---|---|
child | MarkdownRenderChild |
Returns:
void