SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function parseRenderOptions

    • Parses a host's string-valued render options into a Renderer.Options.

      Parameters

      • raw: Readonly<Record<string, string>>

      Returns Renderer.Options

      An unknown key throws with the whole vocabulary, for the reason parseFeatures does: a silently dropped option reads as "the report ignored what I asked for", which sends the reader looking for the bug in the renderer rather than in what they typed.

      Values arrive as strings because that is what a command line and a JSON string map carry; a caller already holding typed options should build Renderer.Options directly.