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

    Function usesComponent

    • Whether any item on the page, sections and their nested items included, is of one component type.

      Parameters

      • items: ClayConfigItem[]

        The Clay config items to walk.

      • type: string

        The component type name to look for, such as 'themePreview'.

      Returns boolean

      True when any item carries that type.