Optional callback function for custom resize-to-content behavior. Called when a widget needs to resize to fit its content.
The grid item element to resize
Optional callback function for custom resize-to-content behavior. Called when a widget needs to resize to fit its content.