UNPKG

@shopify/app-bridge

Version:

**Shopify is doubling our engineering staff in 2021! [Join our team and work on libraries like this one.](https://smrtr.io/5GGrc)**

17 lines (16 loc) 647 B
import { MetaAction, Group } from '../types'; export declare enum Action { SKELETON_PAGE_LOAD = "APP::PERFORMANCE::SKELETON_PAGE_LOAD", FULL_PAGE_LOAD = "APP::PERFORMANCE::FULL_PAGE_LOAD" } export interface ActionBase extends MetaAction { readonly group: typeof Group.Performance; } export interface SkeletonPageLoadAction extends ActionBase { readonly type: typeof Action.SKELETON_PAGE_LOAD; } export interface FullPageLoadAction extends ActionBase { readonly type: typeof Action.FULL_PAGE_LOAD; } export declare function skeletonPageLoad(): SkeletonPageLoadAction; export declare function fullPageLoad(): FullPageLoadAction;