Skip to content

TooltipRef Type documentation

TooltipRef is attached to a specific element. Use it to show or hide a tooltip for that element.
Constructor
(overlayRef: OverlayRef, element: ElementRef, describedBy: string, injector: Injector) => {}
Parameters
overlayRef: OverlayRef
element: ElementRef
describedBy: string
injector?: Injector
Properties
describedBy: string
element: ElementRef
injector?: Injector
overlayRef: OverlayRef
Methods
destroy: () => void
hide: () => void
Parameters
content: (Type<any> | TranslatableString | TemplateRef<any>)

Types Documentation

Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality.
Translatable
import

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