@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
20 lines • 405 B
JavaScript
let config = {
freezeLayer: {
enable: () => {},
disable: () => {}
},
draggerBoundary: document.body,
boundaryLimit: {
top: 0,
left: 0,
right: 0,
bottom: 0
},
desktopNotificationResponsiveId: 'Helmet'
};
export function getDotLibraryConfig(key) {
return config[key];
}
export function setDotLibraryConfig(configObj) {
config = Object.assign({}, config, configObj);
}