@syncfusion/ej2-documenteditor
Version:
Feature-rich document editor control with built-in support for context menu, options pane and dialogs.
31 lines (30 loc) • 816 B
JavaScript
import { isNullOrUndefined } from '@syncfusion/ej2-base';
import { FontScheme } from './font-scheme';
/**
* @private
*/
var Themes = /** @class */ (function () {
function Themes(node) {
this.fntScheme = new FontScheme();
}
Object.defineProperty(Themes.prototype, "fontScheme", {
get: function () {
return this.fntScheme;
},
set: function (value) {
this.fntScheme = value;
},
enumerable: true,
configurable: true
});
Themes.prototype.copyFormat = function (themes) {
if (!isNullOrUndefined(themes)) {
this.fntScheme.copyFormat(themes.fntScheme);
}
};
Themes.prototype.destroy = function () {
this.fntScheme = undefined;
};
return Themes;
}());
export { Themes };