UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

45 lines (44 loc) 1.38 kB
import { Style as Style_internal } from "./Style"; /** * A class that exposes style realted properties. */ var IgxStyle = /** @class */ /*@__PURE__*/ (function () { function IgxStyle() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgxStyle.prototype.createImplementation = function () { return new Style_internal(); }; Object.defineProperty(IgxStyle.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgxStyle.prototype.onImplementationCreated = function () { }; IgxStyle.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); }; IgxStyle.prototype.findByName = function (name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; }; return IgxStyle; }()); export { IgxStyle };