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

    Function toggle

    • A Clay on/off toggle row.

      Parameters

      • messageKey: string

        The key the page sends the watch.

      • label: string

        The row's title.

      • description: string

        The help line under the row.

      • def: boolean

        Whether a fresh install starts it on.

      Returns ClayConfigItem

      The row, ready to drop into a section.