data


dataData

Sets or gets the data to pass with the response.

A data object to be used by the page routed to. The page routed to accesses the data passed to it using the getRouterData() function of wix-window-frontend with optional data and HTML header.

JavaScript
export function myRouter_Router(request) { let data = response.data; /* * { * "title": "A", * "imageSite": "https://static.wixstatic.com/media/", * "image": "b8f383e0fe2b478ea91362b707ef267b.jpg" * } */ }
Did this help?