LWT JavaScript API
    Preparing search index...
    • Parse HTML content from a selection item's innerHTML.

      The selection list items contain XPath expressions with delete buttons. This extracts just the XPath text.

      Parameters

      • listItemHtml: string

        innerHTML of a selection list item

      Returns string

      The XPath expression text