LWT JavaScript API
    Preparing search index...

    Service for managing DOM element highlighting in the feed wizard.

    Index

    Constructors

    Methods

    • Apply article section filtering for step 3. Marks all elements outside the article section as filtered.

      Parameters

      • articleSelector: string

        XPath expression for article section

      Returns void

    • Apply filter classes to elements matching XPath expressions. Used in step 3 to dim elements that will be filtered out.

      Parameters

      • xpaths: string[]

        Array of XPath expressions to filter

      Returns void

    • Apply selection to all elements matching an array of XPath expressions.

      Parameters

      • xpaths: string[]

        Array of XPath expressions

      Returns void

    • Highlight elements matching an XPath (for list item focus). Also applies selection class to descendants.

      Parameters

      • xpath: string

        XPath expression to highlight

      Returns void

    • Initialize the highlight service with container references.

      Parameters

      • headerSelector: string = '#lwt_header'

        CSS selector for the header element (default: '#lwt_header')

      Returns void

    • Apply marking (preview) to elements matching an XPath expression. Clears any existing marking first.

      Parameters

      • xpath: string

        XPath expression to match

      Returns void