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

    Interface ClayPage

    The Clay config page, which runs page code with itself as this.

    interface ClayPage {
        EVENTS: { AFTER_BUILD: string };
        getAllItems(): ClayPageRow[];
        getItemById(id: string): ClayPageRow | undefined;
        getItemByMessageKey(messageKey: string): ClayPageRow | undefined;
        on(event: string, handler: () => void): void;
        serialize(): Record<string, { value: unknown }>;
    }
    Index
    EVENTS: { AFTER_BUILD: string }
    • Parameters

      • event: string
      • handler: () => void

      Returns void

    • Every row with a message key, by key, as Clay would save it.

      Returns Record<string, { value: unknown }>