MCPcopy Create free account
hub / github.com/codemistic/Web-Development / updateBtn

Function updateBtn

Button_CSS_Generator/script.js:229–248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227
228// setting values to btn
229function updateBtn() {
230 OutputBtn.style.background = valObj.bgColor;
231 OutputBtn.style.color = valObj.fColor;
232 OutputBtn.style.borderColor = valObj.brColor;
233 OutputBtn.style.borderWidth = valObj.brSize + "px";
234 OutputBtn.style.fontSize = valObj.fSize + "px";
235 OutputBtn.style.borderStyle = valObj.BorderStyle;
236 OutputBtn.style.marginTop = valObj.tMargin + "px";
237 OutputBtn.style.marginRight = valObj.rMargin + "px";
238 OutputBtn.style.marginBottom = valObj.bMargin + "px";
239 OutputBtn.style.marginLeft = valObj.lMargin + "px";
240 OutputBtn.style.paddingTop = valObj.tPadding + "px";
241 OutputBtn.style.paddingRight = valObj.rPadding + "px";
242 OutputBtn.style.paddingBottom = valObj.bPadding + "px";
243 OutputBtn.style.paddingLeft = valObj.lPadding + "px";
244 OutputBtn.style.borderTopLeftRadius = valObj.tlRadius + "px";
245 OutputBtn.style.borderTopRightRadius = valObj.trRadius + "px";
246 OutputBtn.style.borderBottomRightRadius = valObj.brRadius + "px";
247 OutputBtn.style.borderBottomLeftRadius = valObj.blRadius + "px";
248}
249

Callers 1

script.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected