MCPcopy Create free account
hub / github.com/microsoft/SandDance / styleToClassName

Function styleToClassName

docs/app/js/sanddance-app.js:22158–22169  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

22156 }
22157}
22158function styleToClassName(options) {
22159 var args = [];
22160 for(var _i = 1; _i < arguments.length; _i++)args[_i - 1] = arguments[_i];
22161 var registration = styleToRegistration.apply(void 0, (0, _tslib.__spreadArrays)([
22162 options
22163 ], args));
22164 if (registration) {
22165 applyRegistration(registration, options.specificityMultiplier);
22166 return registration.className;
22167 }
22168 return "";
22169}
22170
22171},{"tslib":"01Tx1","./Stylesheet":"3fIre","./transforms/kebabRules":"l3pfM","./transforms/prefixRules":"eIEfs","./transforms/provideUnits":"2wAA8","./transforms/rtlifyRules":"aLk1W","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"l3pfM":[function(require,module,exports) {
22172var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls 1

applyRegistrationFunction · 0.85

Tested by

no test coverage detected