Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Custom Inputs
Select
Components
Components
78
Micro Charts
Navigation
Libraries
Content Editor
Data View
Form Builder
Image Designer
Kanban Board
PDF Viewer
Video Player
Latest npm version of @ngstarter-ui/componentsWeekly npm downloads of @ngstarter-ui/components
Buy License

Tooltip

Tooltip is a short helper message for one interface element. It appears on hover, focus, or touch and is best for icon buttons, abbreviations, disabled explanations, dense controls, and short labels that need a little context. Use Popover for interactive anchored content, Menu for command lists, Alert for visible page messages, and form field hints or errors for form guidance.

PropTypeDefault
ngsTooltip
The message to be displayed in the tooltip
string
ngsTooltipPosition
The position of the tooltip
'above' | 'below' | 'left' | 'right' | 'before' | 'after'below
ngsTooltipClass
Custom CSS classes to be applied to the tooltip
any
ngsTooltipShowDelay
The delay before the tooltip is shown (in ms)
number0
ngsTooltipHideDelay
The delay before the tooltip is hidden (in ms)
number0
ngsTooltipOffset
The offset of the tooltip from the element (in px)
number6
ngsTooltipPositionAtOrigin
Whether the tooltip should be positioned at the mouse/touch origin
booleanfalse
ngsTooltipDisabled
Whether the tooltip is disabled
booleanfalse