UNPKG

@hxui/angular

Version:

This README includes the steps that are necessary to import the HxUi-angular into a project or to contribute with development.

81 lines (80 loc) 3.78 kB
/** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ import { Injectable } from '@angular/core'; import { Context } from '../enums'; /** * Default values provider for tooltip */ export class TooltipConfig { constructor() { /** * tooltip placement, supported positions: 'top', 'bottom', 'left', 'right' */ this.placement = 'bottom'; /** * tooltip context (colour) */ this.context = Context.None; /** * should tooltip start in a disabled state */ this.disabled = false; /** * animate tooltip or not */ this.animation = true; /** * delay in ms before showing the tooltip after show is called */ this.showDelay = 0; /** * delay in ms before hiding the tooltip after hide is called */ this.hideDelay = 0; } } TooltipConfig.decorators = [ { type: Injectable }, ]; function TooltipConfig_tsickle_Closure_declarations() { /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ TooltipConfig.decorators; /** * @nocollapse * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>} */ TooltipConfig.ctorParameters; /** * tooltip placement, supported positions: 'top', 'bottom', 'left', 'right' * @type {?} */ TooltipConfig.prototype.placement; /** * tooltip context (colour) * @type {?} */ TooltipConfig.prototype.context; /** * should tooltip start in a disabled state * @type {?} */ TooltipConfig.prototype.disabled; /** * animate tooltip or not * @type {?} */ TooltipConfig.prototype.animation; /** * delay in ms before showing the tooltip after show is called * @type {?} */ TooltipConfig.prototype.showDelay; /** * delay in ms before hiding the tooltip after hide is called * @type {?} */ TooltipConfig.prototype.hideDelay; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5jb25maWcuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaHh1aS9hbmd1bGFyLyIsInNvdXJjZXMiOlsibGliL3Rvb2x0aXAvdG9vbHRpcC5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQVEsT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