fundamental-ngx
Version:
SAP Fiori Fundamentals, implemented in Angular
91 lines • 4.57 kB
JavaScript
/**
* @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';
/**
* 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;
/**
* 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtY29uZmlnLmpzIiwic291cmNlUm9vdCI6Im5nOi8vZnVuZGFtZ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