UNPKG

fundamental-ngx

Version:

SAP Fiori Fundamentals, implemented in Angular

100 lines 4.93 kB
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Configuration for opening an alert with the AlertService. */ var /** * Configuration for opening an alert with the AlertService. */ AlertConfig = /** @class */ (function () { function AlertConfig() { /** * Whether the alert is dismissible. */ this.dismissible = true; /** * Width of the alert. */ this.width = '33vw'; /** * Minimum width of the alert. */ this.minWidth = '300px'; /** * Duration of time *in milliseconds* that the alert will be visible. Set to -1 for indefinite. */ this.duration = 10000; /** * Whether the alert should stay open if the mouse is hovering over it. */ this.mousePersist = false; /** * Id of the element that labels the alert. */ this.ariaLabelledBy = null; /** * Aria label for the alert component element. */ this.ariaLabel = null; } return AlertConfig; }()); /** * Configuration for opening an alert with the AlertService. */ export { AlertConfig }; if (false) { /** * Whether the alert is dismissible. * @type {?} */ AlertConfig.prototype.dismissible; /** * The type of the alert. Can be one of *warning*, *success*, *information*, *error* or null. * @type {?} */ AlertConfig.prototype.type; /** * Id for the alert component. If omitted, a unique one is generated. * @type {?} */ AlertConfig.prototype.id; /** * Width of the alert. * @type {?} */ AlertConfig.prototype.width; /** * Minimum width of the alert. * @type {?} */ AlertConfig.prototype.minWidth; /** * Data being injected into the child component or template. * @type {?} */ AlertConfig.prototype.data; /** * Duration of time *in milliseconds* that the alert will be visible. Set to -1 for indefinite. * @type {?} */ AlertConfig.prototype.duration; /** * Whether the alert should stay open if the mouse is hovering over it. * @type {?} */ AlertConfig.prototype.mousePersist; /** * Id of the element that labels the alert. * @type {?} */ AlertConfig.prototype.ariaLabelledBy; /** * Aria label for the alert component element. * @type {?} */ AlertConfig.prototype.ariaLabel; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtY29uZmlnLmpzIiwic291cmNlUm9vdCI6Im5nOi8vZnVuZGFtZW50YWwtbmd4LyIsInNvdXJjZXM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