UNPKG

@progress/kendo-angular-tooltip

Version:

Kendo UI Tooltip for Angular - A highly customizable and easily themeable tooltip from the creators developers trust for professional Angular components.

58 lines (57 loc) 2.92 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { NgModule } from '@angular/core'; import { IconsService } from '@progress/kendo-angular-icons'; import { ResizeBatchService } from '@progress/kendo-angular-common'; import { PopupService } from '@progress/kendo-angular-popup'; import { KENDO_TOOLTIP } from './directives'; import * as i0 from "@angular/core"; import * as i1 from "./tooltip/tooltip.directive"; import * as i2 from "./tooltip/tooltip.content.component"; import * as i3 from "./localization/localized-messages.directive"; // IMPORTANT: NgModule export kept for backwards compatibility /** * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) * definition for the Tooltip component. * * The package exports: * - `KendoTooltipDirective`—The Tooltip directive class. * * @example * * ```ts-no-run * // Import the Tooltip module * import { TooltipModule } from '@progress/kendo-angular-tooltip'; * * // The browser platform with a compiler * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; * * import { NgModule } from '@angular/core'; * * // Import the app component * _@NgModule{{ * declarations: [AppComponent], // declare app component * imports: [BrowserModule, TooltipModule], // import TooltipModule module * bootstrap: [AppComponent] * }} * export class AppModule {} * * // Compile and launch the module * platformBrowserDynamic().bootstrapModule(AppModule); * ``` */ export class TooltipModule { static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TooltipModule, imports: [i1.TooltipDirective, i2.TooltipContentComponent, i3.LocalizedMessagesDirective], exports: [i1.TooltipDirective, i2.TooltipContentComponent, i3.LocalizedMessagesDirective] }); static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TooltipModule, providers: [PopupService, ResizeBatchService, IconsService], imports: [i2.TooltipContentComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TooltipModule, decorators: [{ type: NgModule, args: [{ imports: [...KENDO_TOOLTIP], exports: [...KENDO_TOOLTIP], providers: [PopupService, ResizeBatchService, IconsService] }] }] });