DevExtreme Angular - Overview
The Tooltip widget displays a tooltip for a specified element on the page.
The following code creates a simple Tooltip on your page and attaches it to another element (in this example, to an image).
HTML
TypeScript
- <img id="image" src="https://www.devexpress.com/DXR.axd?r=9999_17-FD0Id" />
- <dx-tooltip
- target="#image"
- showEvent="dxhoverstart"
- hideEvent="dxhoverend">
- <div *dxTemplate="let data of 'content'">
- <p>Tooltip content</p>
- </div>
- </dx-tooltip>
- import { DxTooltipModule } from 'devextreme-angular';
- // ...
- export class AppComponent {
- // ...
- }
- @NgModule({
- imports: [
- // ...
- DxTooltipModule
- ],
- // ...
- })
See Also
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.