getQueryParam.md
March 5, 2025 ยท View on GitHub
getQueryParam method
FlowRouter.getQueryParam(queryKey);
queryKey{String}- Returns {String}
Reactive function which you can use to get a value from the query string.
// route def: /apps/:appId
// url: /apps/this-is-my-app?show=yes&color=red
const color = FlowRouter.getQueryParam('color');
console.log(color); // prints "red"