Browse Source

Refactor PropertyFactory

up-style-manager
Artur Arseniev 5 years ago
parent
commit
99a107dbc9
  1. 9
      src/style_manager/index.js
  2. 1931
      src/style_manager/model/PropertyFactory.js

9
src/style_manager/index.js

@ -576,10 +576,19 @@ export default () => {
});
},
/**
* Return built-in property definition
* @param {String} prop
* @returns {Object} Property definition
*/
getBuiltIn(prop = '') {
return this.PropertyFactory.build(prop)[0] || null;
},
getBuiltInAll() {},
addBuiltIn(prop, def = {}) {},
__upProp(prop, style, parentStyles, opts) {
const name = prop.getName();
const value = style[name];

1931
src/style_manager/model/PropertyFactory.js

File diff suppressed because it is too large
Loading…
Cancel
Save