/
/
Smart Positioning

This sample demonstrates the Smart Positioning functionalities of the Tooltip which will open by dragging the picture.
More Details...

Loading...
Description

This sample shows the dynamic adjustment of the tooltip position within the specified Viewport. Start dragging the ant image, so that the tooltip opens up immediately and keeps moving along with the target image. When the image reaches the corners of the sample container on dragging, the tooltip and its arrow position will be auto adjusted to make it look fit within the sample container area. In this sample, the tooltip is opened manually by using its open method on drag start of the target image. On further dragging, the refresh method of the tooltip needs to be called to reposition it continuously and on drag stop, the tooltip will be hidden by using it’s close method. More information on dynamic positioning of the tooltip can be found in the documentation section.