Get Query parameters in OnNav(ctx app.Context)
suntong opened this issue · comments
suntong commented
Following up with #869 -- how to get Query parameters in OnNav(ctx app.Context)
, which took the following form before in V6:
func (c *city) OnNav(u *url.URL) {
key := u.Query().Get("city")
Hans Raaf commented
url := ctx.Page().URL()