UNPKG

@studiohyperdrive/ngx-inform

Version:

A lightweight ARIA compliant customizable approach for common and complex inform flows in Angular.

41 lines (40 loc) 1.35 kB
import { NgxTooltipPosition, NgxTooltipPositionClass } from '../../types'; import { NgxTooltipService } from '../../services'; import * as i0 from "@angular/core"; /** * An abstract for the NgxTooltipDirective */ export declare abstract class NgxTooltipAbstractComponent { private readonly ngxTooltipService; /** * Set tooltip as active */ showOnMouseEnter(): void; /** * Set the tooltip as inactive */ removeOnMouseOut(): void; /** * The role of the component */ readonly role = "tooltip"; /** * The position class of the tooltip */ positionClass: NgxTooltipPositionClass; /** * The id of the tooltip */ id: string; /** * The current position of the tooltip */ position: NgxTooltipPosition; /** * The text of the tooltip */ text: string; constructor(ngxTooltipService: NgxTooltipService); static ɵfac: i0.ɵɵFactoryDeclaration<NgxTooltipAbstractComponent, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NgxTooltipAbstractComponent, never, never, { "positionClass": { "alias": "positionClass"; "required": false; }; "id": { "alias": "id"; "required": true; }; "position": { "alias": "position"; "required": true; }; "text": { "alias": "text"; "required": true; }; }, {}, never, never, true, never>; }