@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
29 lines (26 loc) • 600 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getDotLibraryConfig = getDotLibraryConfig;
exports.setDotLibraryConfig = setDotLibraryConfig;
var config = {
freezeLayer: {
enable: function enable() {},
disable: function disable() {}
},
draggerBoundary: document.body,
boundaryLimit: {
top: 0,
left: 0,
right: 0,
bottom: 0
},
desktopNotificationResponsiveId: 'Helmet'
};
function getDotLibraryConfig(key) {
return config[key];
}
function setDotLibraryConfig(configObj) {
config = Object.assign({}, config, configObj);
}