CoreUI Angular Logo
Framework:
  • JavaScript / Vanilla JS
  • React.js
  • Vue.js
Getting startedIntroductionSupport CoreUICustomizeSassOptionsCSS VariablesLayoutBreakpointsContainersGridColumnsGuttersFormsOverviewAutocompletePRODate PickerPRODate Range PickerPROForm ControlSelectMulti SelectPROChecks & RadiosPassword InputPRORangeRange SliderPRORatingPROStepperPROInput GroupFloating LabelsLayoutTime PickerPROValidationComponentsAccordionAlertAvatarBadgeBreadcrumbButtonButton GroupCalendarPROCalloutCardCarouselClose buttonCollapseDropdownFooterHeaderImageList GroupLoading ButtonPROModalNavNavbarOffcanvasPaginationPlaceholderPopoverProgressSmart PaginationPROSmart TablePROSidebarSpinnerTableTabsNewToastTooltipWidgetsIconsChartsTemplatesNewAdmin & DashboardDownloadInstallationCustomizeContentMigrationv4 → v5v3 → v4Angular version


DownloadHire UsGet CoreUI PRO
On this page

    Angular Tooltip Component

    Documentation and examples for adding Angular Tooltips.

    Use CoreUI Angular tooltip directive to create beautiful tooltips and present hint or information regarding the element on hover. Tutorials and examples for adding custom CoreUI Angular tooltips.

    Examples

    Base tooltips

    • Hover over the links below to see tooltips:

    Tight pants next level keffiyeh you probably haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Twitter handle freegan cred raw denim single-origin coffee viral.

    Loading...
    Loading...

    Directions

    • Hover over the buttons below to see the four tooltips directions: top, right, bottom, and left. Directions are mirrored when using CoreUI in RTL.
    Loading...
    Loading...

    Html content

    • Use ng-template to render html content and / or non default triggers (click).
    Loading...
    Loading...

    Reference element

    • Use cTooltipRef to position the tooltip on reference element. 5.1.0+
    Loading...

    API reference

    Tooltip

    import { TooltipModule } from '@coreui/angular'; @NgModule({ imports: [TooltipModule,] }) export class AppModule() { } 

    Props

    Inputs
    prop description type default notes
    cTooltip Content of a tooltip. string, TemplateRef - required
    cTooltipOptions Optional popper Options object, takes precedence over cPopoverPlacement. Options -
    cTooltipPlacement Placement of a tooltip. top, bottom, left, right top string
    cTooltipTrigger Sets event handlers to toggle tooltip. Specify one trigger or an array of them. Triggers,
    Triggers[] hover string, string[]
    cTooltipVisible Toggle the visibility of tooltip component. boolean false
    cTooltipRef ElementRefDirective reference ElementRefDirective undefined 5.1.0+
    • GitHub
    • Twitter
    • Support
    • CoreUI (Vanilla)
    • CoreUI for React.js
    • CoreUI for Vue.js

    CoreUI for Angular is Open Source UI Components Library for Angular.

    Currently v5.5.17 Code licensed MIT , docs CC BY 3.0 .
    CoreUI PRO requires a commercial license.