Skip to content

SiTooltipService documentation

A service to create tooltips for specific elements. Use this if the tooltip directive is not suitable. Must not be used outside element-ng.

Attributes and Methods

NameTypeDefaultDescription
createTooltip(...)
(config: { canShow: () => boolean, describedBy: string, element: ElementRef, injector: Injector, placement: () => ("auto" | "end" | "start" | "top" | "bottom"), scrollStrategy: () => (ScrollStrategy | undefined), tooltip: () => SiTooltipContent, tooltipContext: () => unknown }) => TooltipRefParameters

Types Documentation

Methods
destroy: () => void

Except where otherwise noted, content on this site is licensed under MIT License.