LWT JavaScript API
    Preparing search index...
    • Generate mark action options for an element based on selection mode.

      This is the main function for generating XPath options when a user clicks on an element in the feed content.

      Parameters

      • element: HTMLElement

        Clicked element

      • selectionMode: "all" | "smart" | "adv"

        Current selection mode ('smart', 'all', 'adv')

      Returns XPathOption[]

      Array of XPath options for the dropdown