Pebble App Framework: Phone API
    Preparing search index...

    Function pageForWatch

    • A copy of the page with every theme picker's previews loaded and cut down to one watch's shots.

      A picker whose function sits in the loaders table has it called here, and so does one whose previews is still a function, so the pictures load only as the page opens. The page handed in is left as it was. Rows other than the pickers are the same objects in the copy.

      Parameters

      • page: ClayConfigItem[]

        The settings page about to open.

      • platform: string

        The watch it opens on, such as emery, or empty when it is not known.

      • loaders: PreviewLoaders = {}

        The previews functions takePreviewLoaders took off the page, by messageKey.

      Returns ClayConfigItem[]

      The page to write into the URL.