Type definition for a callback function that handles size and data changes.
The type of data being passed to the callback function.
The data being passed to the callback function.
The size information.
The reference to the HTML div element.
A string representing the result of the callback function.
Type definition for a callback function that handles size and data changes.