all files / document-editor/implementation/themes/ themes.js

100% Statements 15/15
100% Branches 2/2
100% Functions 7/7
100% Lines 15/15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30   4392×     28555×                        
define(["require", "exports", "@syncfusion/ej2-base", "./font-scheme"], function (require, exports, ej2_base_1, font_scheme_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var Themes = (function () {
        function Themes(node) {
            this.fntScheme = new font_scheme_1.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 (!ej2_base_1.isNullOrUndefined(themes)) {
                this.fntScheme.copyFormat(themes.fntScheme);
            }
        };
        Themes.prototype.destroy = function () {
            this.fntScheme = undefined;
        };
        return Themes;
    }());
    exports.Themes = Themes;
});