@shopify/app-bridge-host
Version:
App Bridge Host contains components and middleware to be consumed by the app's host, as well as the host itself. The middleware and `Frame` component are responsible for facilitating communication between the client and host, and used to act on actions se
27 lines (23 loc) • 521 B
JavaScript
;
var Actions = require('@shopify/app-bridge-core/actions');
var actions = require('./actions.js');
function reset() {
return {
type: actions.RESET_LOADING,
};
}
function start() {
return Actions.Loading.start();
}
function stop() {
return Actions.Loading.stop();
}
var loadingActionCreatorsMap = {
start: start,
stop: stop,
reset: reset,
};
exports.loadingActionCreatorsMap = loadingActionCreatorsMap;
exports.reset = reset;
exports.start = start;
exports.stop = stop;