This sample demonstrates the AJAX functionalities of the Tooltip which will open by Hover or Touch-hold action on list-item.
This sample illustrates the way to load the content of a tooltip dynamically using AJAX request. Here, when the user hovers/tap on the country names, its respective data (national game of each country and its related game icon) will be retrieved dynamically and then assigned to the tooltip’s content.
The AJAX request should be made within the
beforeRender event of the tooltip, and on every success, the corresponding
retrieved data will be set to the
content property of the tooltip.
More information on loading dynamic tooltip content can be found in the documentation section.