Optional composable for widget components that need to participate in grid.save() / grid.load().
Call this inside the setup() of a widget component rendered inside <GridStackItem>.
The serialize function is called during grid.save() and its return value is merged
into the widget's props in the serialized JSON.
The deserialize function is called when GS updates the node (e.g. after grid.load()).
Optional composable for widget components that need to participate in
grid.save()/grid.load().Call this inside the
setup()of a widget component rendered inside<GridStackItem>. Theserializefunction is called duringgrid.save()and its return value is merged into the widget'spropsin the serialized JSON. Thedeserializefunction is called when GS updates the node (e.g. aftergrid.load()).