MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / _cssPropertyNames

Function _cssPropertyNames

www/js/_hyperscript-max.js:7567–7571  ·  view source on GitHub ↗
(css)

Source from the content-addressed store, hash-verified

7565 }
7566 };
7567 function _cssPropertyNames(css) {
7568 return css.split(";").map(function(p) {
7569 return p.split(":")[0].trim();
7570 }).filter(Boolean);
7571 }
7572 function _removeCssProperties(elt, propNames) {
7573 for (var i = 0; i < propNames.length; i++) elt.style.removeProperty(propNames[i]);
7574 }

Callers 2

resolveMethod · 0.70
resolveMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected