MCPcopy
hub / github.com/Semantic-Org/Semantic-UI / setBodyStyle

Function setBodyStyle

examples/assets/library/iframe-content.js:247–252  ·  view source on GitHub ↗
(attr,value)

Source from the content-addressed store, hash-verified

245 }
246
247 function setBodyStyle(attr,value) {
248 if ((undefined !== value) && ('' !== value) && ('null' !== value)) {
249 document.body.style[attr] = value;
250 log('Body '+attr+' set to "'+value+'"');
251 }
252 }
253
254 function setMargin() {
255 //If called via V1 script, convert bodyMargin from int to str

Callers 2

initFunction · 0.85
setMarginFunction · 0.85

Calls 1

logFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…