@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
18 lines (17 loc) • 527 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var actions_1 = require("@shopify/app-bridge/actions");
var actions_2 = require("./actions");
function setHeight(payload) {
return {
payload: payload,
type: actions_2.LEGACY_MODAL_SET_HEIGHT,
};
}
exports.setHeight = setHeight;
exports.modalActionCreatorsMap = {
clickFooterButton: actions_1.Modal.clickFooterButton,
close: actions_1.Modal.closeModal,
open: actions_1.Modal.openModal,
setHeight: setHeight,
};