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

    Interface ThemePreviewContext

    The Clay row context initialize binds to. It is a ClayItem, so it carries on() as well.

    interface ThemePreviewContext {
        $element: HTMLElement[];
        $manipulatorTarget?: { get(key: string): unknown };
        config: {
            description?: string;
            label?: string;
            messageKey?: string;
            options?: { label: string; value: string | number }[];
            previews?:
                | Record<string, ThemePreviewPictures>
                | Record<string, Record<string, ThemePreviewPictures>>;
            previewsByKey?: string;
        };
        on(event: string, handler: () => void): void;
    }
    Index
    $element: HTMLElement[]
    $manipulatorTarget?: { get(key: string): unknown }
    config: {
        description?: string;
        label?: string;
        messageKey?: string;
        options?: { label: string; value: string | number }[];
        previews?:
            | Record<string, ThemePreviewPictures>
            | Record<string, Record<string, ThemePreviewPictures>>;
        previewsByKey?: string;
    }