adesege
Pass data from getSearchResultsUsing to afterStateUpdated
Hi,
How can I pass data from
getSearchResultsUsing
to afterStateUpdated
? The idea is to "cache" $result
in getSearchResultsUsing so I can reuse it in afterStateUpdated to avoid reruning the geocode query. I tried declaring a variable in the Page class then set the value in getSearchResultsUsing but that didn't work.
Thanks1 replies