Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Extract the declaration block for a given CSS selector. Matches the literal selector at the start of a rule after normalizing whitespace and selector punctuation. Returns an empty string when the selector is absent.

      Parameters

      • css: string
      • selector: string

      Returns string