Browse Source

Add new clear method to Composite

up-style-manager
Artur Arseniev 5 years ago
parent
commit
0ec8624d72
  1. 5
      src/style_manager/model/PropertyComposite.js

5
src/style_manager/model/PropertyComposite.js

@ -62,6 +62,11 @@ export default Property.extend({
return isString(join) ? join : this.get('separator');
},
clear() {
this.getProperties().map(p => p.clear());
return Property.prototype.clear.apply(this, arguments);
},
/**
* Get current values of properties
* @param {Object} [opts={}] Options

Loading…
Cancel
Save