diff --git a/src/style_manager/model/Property.js b/src/style_manager/model/Property.js index f2c4e19aa..9394fd2ed 100644 --- a/src/style_manager/model/Property.js +++ b/src/style_manager/model/Property.js @@ -16,6 +16,38 @@ export default class Property extends Model { init() {} + /** + * Get property id. + * @returns {String} + */ + getId() { + return this.get('id'); + } + + /** + * Get property type. + * @returns {String} + */ + getType() { + return this.get('type'); + } + + /** + * Get property name (usually is the CSS property name). + * @returns {String} + */ + getName() { + return this.get('property'); + } + + /** + * Get property label. + * @returns {String} + */ + getLabel() { + return this.get('name'); + } + /** * Clear the value * @return {this}