MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator / resizeWidth

Function resizeWidth

docs/html/resize.js:30–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 const RESIZE_COOKIE_NAME = ''+'width';
29
30 function resizeWidth() {
31 const sidenavWidth = $(sidenav).outerWidth();
32 content.css({marginLeft:parseInt(sidenavWidth)+"px"});
33 if (typeof page_layout!=='undefined' && page_layout==1) {
34 footer.css({marginLeft:parseInt(sidenavWidth)+"px"});
35 }
36 Cookie.writeSetting(RESIZE_COOKIE_NAME,sidenavWidth-barWidth);
37 }
38
39 function restoreWidth(navWidth) {
40 content.css({marginLeft:parseInt(navWidth)+barWidth+"px"});

Callers 1

initResizableFunction · 0.85

Calls 1

$Function · 0.85

Tested by

no test coverage detected