MCPcopy Index your code
hub / github.com/prototypejs/prototype / cssNameFor

Function cssNameFor

src/prototype/dom/layout.js:175–178  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

173 // Converts the layout hash property names back to the CSS equivalents.
174 // For now, only the border properties differ.
175 function cssNameFor(key) {
176 if (key.include('border')) key = key + '-width';
177 return key.camelize();
178 }
179
180 /**
181 * class Element.Layout < Hash

Callers 1

layout.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected