@umbraco-cms/backoffice
    Preparing search index...

    Function renderUfm

    • Renders a visible <umb-ufm-render> that resolves markdown to plain text and emits umb-ufm-resolved for a listener to pick up.

      Parameters

      • markdown: string | undefined

        the UFM markdown to resolve.

      • value: unknown

        the value context passed to the UFM render.

      • onResolved: (event: UmbUfmResolvedEvent) => void

        called when the UFM render emits its resolved text.

      • Optionalslot: string

        the slot of the host element to project the render into.

      Returns TemplateResult<1>

      a Lit template for the UFM render.