kentico-cloud-delivery
Version:
Official Kentico Cloud Delivery SDK
28 lines • 700 B
JavaScript
var GenericElementOption = /** @class */ (function () {
function GenericElementOption(
/**
* Name of the option
*/
name,
/**
* Value of the option
*/
codename) {
this.name = name;
this.codename = codename;
}
return GenericElementOption;
}());
export { GenericElementOption };
var GenericElement = /** @class */ (function () {
function GenericElement(data) {
/**
* Array of options if the element has some
*/
this.options = [];
Object.assign(this, data);
}
return GenericElement;
}());
export { GenericElement };
//# sourceMappingURL=element-models.js.map