The default delay in ms before showing the tooltip after show is called
How touch gestures should be handled by the tooltip. On touch devices the tooltip directive uses a long press gesture to show and hide, however it can conflict with the native browser gestures. To work around the conflict, Angular Material disables native gestures on the trigger, but that might not be desirable on particular elements (e.g. inputs and draggable elements). The different values for this option configure the touch event handling as follows:
auto
- Enables touch gestures for all elements, but tries to avoid conflicts with native
browser gestures on particular elements. In particular, it allows text selection on inputs
and textareas, and preserves the native browser dragging on elements marked as draggable
.on
- Enables touch gestures for all elements and disables native
browser gestures with no exceptions.off
- Disables touch gestures. Note that this will prevent the tooltip from
showing on touch devices.Disables the display of the tooltip.
Disables the display of the tooltip.
The message to be displayed in the tooltip
The message to be displayed in the tooltip
Allows the user to define the position of the tooltip relative to the parent element
Allows the user to define the position of the tooltip relative to the parent element
Classes to be passed to the tooltip. Supports the same syntax as ngClass
.
Classes to be passed to the tooltip. Supports the same syntax as ngClass
.
Returns the origin position and a fallback position based on the user's position preference.
The fallback position is the inverse of the origin (e.g. 'below' -> 'above'
).
Returns the overlay position and a fallback position based on the user's preference
Returns true if the tooltip is currently visible to the user
Hides the tooltip after the delay in ms, defaults to tooltip-delay-hide or 0ms if no input
Dispose the tooltip when destroyed.
Shows the tooltip after the delay in ms, defaults to tooltip-delay-show or 0ms if no input
Shows/hides the tooltip
Generated using TypeDoc
The default delay in ms before hiding the tooltip after hide is called