UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

137 lines (136 loc) 4.28 kB
import { CalloutBadgeInfo as CalloutBadgeInfo_internal } from "./CalloutBadgeInfo"; import { ensureBool } from "igniteui-angular-core"; /** * Provides info about callout badge */ var IgxCalloutBadgeInfo = /** @class */ /*@__PURE__*/ (function () { function IgxCalloutBadgeInfo() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgxCalloutBadgeInfo.prototype.createImplementation = function () { return new CalloutBadgeInfo_internal(); }; Object.defineProperty(IgxCalloutBadgeInfo.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgxCalloutBadgeInfo.prototype.onImplementationCreated = function () { }; IgxCalloutBadgeInfo.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); }; Object.defineProperty(IgxCalloutBadgeInfo.prototype, "badgeThickness", { /** * Gets or sets badge thickness in the callout. */ get: function () { return this.i.badgeThickness; }, set: function (v) { this.i.badgeThickness = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgxCalloutBadgeInfo.prototype, "badgeWidth", { /** * Gets or sets badge width in the callout. */ get: function () { return this.i.badgeWidth; }, set: function (v) { this.i.badgeWidth = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgxCalloutBadgeInfo.prototype, "badgeHeight", { /** * Gets or sets badge height in the callout. */ get: function () { return this.i.badgeHeight; }, set: function (v) { this.i.badgeHeight = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgxCalloutBadgeInfo.prototype, "badgeVisible", { /** * Gets or sets whether the badge is visible in the callout. */ get: function () { return this.i.badgeVisible; }, set: function (v) { this.i.badgeVisible = ensureBool(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgxCalloutBadgeInfo.prototype, "badgeGap", { /** * Gets or sets the gap between badge and text in the callout. */ get: function () { return this.i.badgeGap; }, set: function (v) { this.i.badgeGap = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgxCalloutBadgeInfo.prototype, "badgeCorner", { /** * Gets or sets the corner badge in the callout. */ get: function () { return this.i.badgeCorner; }, set: function (v) { this.i.badgeCorner = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgxCalloutBadgeInfo.prototype, "badgeImage", { /** * Gets or sets the image path for badge displayed in the callout. */ get: function () { return this.i.badgeImage; }, set: function (v) { this.i.badgeImage = v; }, enumerable: false, configurable: true }); IgxCalloutBadgeInfo.prototype.findByName = function (name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; }; return IgxCalloutBadgeInfo; }()); export { IgxCalloutBadgeInfo };