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

    Function takePreviewLoaders

    • Takes every previews function off a page, so nothing that builds Clay ever sees one.

      Each function's picker keeps an empty map in its place, and the function goes in a table under the picker's messageKey, which the settings page reads back as it opens. A picker with no messageKey has nothing to file its function under, so it opens with no pictures and a warning says why.

      Parameters

      Returns { loaders: PreviewLoaders; page: ClayConfigItem[] }

      A copy of the page with no function under any picker's previews, and the functions taken off it.