UNPKG

@shopify/app-bridge-host

Version:

App Bridge Host contains middleware and components that are meant to be consumed by the app's host. The middleware and `Frame` component are responsible for facilitating messages posted between the client and host, and used to act on actions sent from the

24 lines (23 loc) 526 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var actions_1 = require("@shopify/app-bridge/actions"); var actions_2 = require("./actions"); function reset() { return { type: actions_2.RESET_LOADING, }; } exports.reset = reset; function start() { return actions_1.Loading.start(); } exports.start = start; function stop() { return actions_1.Loading.stop(); } exports.stop = stop; exports.loadingActionCreatorsMap = { start: start, stop: stop, reset: reset, };