EU Parliament Monitor - API Documentation - v0.7.0
    Preparing search index...
    • Build an HTML section element for displaying intelligence items as a list. All title, className, and item strings are HTML-escaped to prevent XSS. Returns an empty string when the items array is empty.

      Parameters

      • title: string

        Section heading text (will be HTML-escaped)

      • items: string[]

        Array of text items to display as list entries (will be HTML-escaped)

      • className: string

        CSS class name for the section element (will be HTML-escaped)

      Returns string

      HTML string for the intelligence section, or empty string if no items