SiMarkdownFragmentComponent documentation¶
import { SiMarkdownFragmentComponent } from '@siemens/element-ng/markdown'; Renders a fragment of markdown based on the children of a single node in the AST.
Input Properties¶
| Name | Type | Description |
|---|---|---|
| siMarkdownFragment required ¶ | Node | The node for which to render all children |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| (readonly)children ¶ | Signal<RootContent[]> | computed(() => (this.node() as Parent).children ?? []) | all the children of the node |
Except where otherwise noted, content on this site is licensed under MIT License.