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

    Function optionsForPage

    • The action row for a page — FIRST entry is the default (OptionsDialog's own rule).

      Parameters

      • page: InsertFunctionPage

        The page being shown.

      • t: (key: string) => string

        The host's translator — the labels resolve at render, so a language switch while the dialog is open re-localizes them.

      Returns OptionInput[]

      A helper rather than an action-model protocol: a second host (a taskpane, the script editor) reuses ten lines of button logic by calling this, instead of implementing an interface to be handed the same array. OptionsDialog re-reads options/defaultOption every render, so a page flip needs nothing else.